You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Joe Tsai 4bbac72868
util/truncate: support []byte as well (#11614)
There are no mutations to the input,
so we can support both ~string and ~[]byte just fine.

Updates #cleanup

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
8 months ago
..
cache util/cache: fix missing interface methods (#11275) 9 months ago
cibuild
clientmetric
cloudenv util/cloudenv: add support for DigitalOcean 10 months ago
cmpver util/cmpver: add Less/LessEq helper funcs 9 months ago
codegen
cstruct
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago
deephash all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago
dirwalk
dnsname
execqueue control/controlclient,util/execqueue: extract execqueue into a package 11 months ago
expvarx util/expvarx: add a time and concurrency limiting expvar.Func wrapper 10 months ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 1 year ago
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 1 year ago
hashx
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 1 year ago
httpm util/httpm: don't run test if .git doesn't exist 1 year ago
jsonutil
limiter util/lru, util/limiter: add debug helper to dump state as HTML 1 year ago
lineread
linuxfw util/linuxfw: fix MSS clamping in nftables mode (#11588) 8 months ago
lru util/lru: update c.head when deleting the most recently used entry 1 year ago
mak
multierr all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
must
nocasemaps util/nocasemaps: add AppendSliceElem method to nocasemaps (#10871) 10 months ago
osdiag util/osdiag, util/winutil: expose Windows policy key 1 year ago
osshare
osuser ssh/tailssh,util: extract new osuser package from ssh code (#10170) 1 year ago
pidowner
precompress
progresstracking ipn/localapi: add support for multipart POST to file-put 8 months ago
quarantine
race util/race: add test to confirm we don't leak goroutines 1 year ago
racebuild
rands util/rands: add Shuffle and Perm functions with on-stack RNG state 10 months ago
reload util/reload: add new package to handle periodic value loading 8 months ago
ringbuffer wgengine/magicsock: don't use endpoint debug ringbuffer on mobile. 8 months ago
set util/set: implement json.Marshaler/Unmarshaler (#10308) 1 year ago
singleflight
slicesx util/slicesx: add Filter function 10 months ago
syspolicy util/syspolicy: add 'ResetToDefaults' (#11194) 9 months ago
sysresources
systemd
testenv util/testenv: add new package to hold InTest 1 year ago
topk util/topk: add package containing a probabilistic top-K tracker 10 months ago
truncate util/truncate: support []byte as well (#11614) 8 months ago
uniq
vizerror
winutil util/winutil: add some missing docs to restartmgr errors 11 months ago
zstdframe util/zstdframe: support specifying a MaxWindowSize (#11595) 8 months ago