tailscale/types
Joe Tsai c25968e1c5
all: make use of ctxkey everywhere (#10846)
Also perform minor cleanups on the ctxkey package itself.
Provide guidance on when to use ctxkey.Key[T] over ctxkey.New.
Also, allow for interface kinds because the value wrapping trick
also happens to fix edge cases with interfaces in Go.

Updates #cleanup

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2024-01-16 13:56:23 -08:00
..
appctype appc,ipn/local: support wildcard when matching app-connectors 2023-11-22 14:47:44 -08:00
dnstype types/dnstype: update the usage documentation on dnstype.Resolver 2023-11-03 09:01:11 -07:00
empty all: update copyright and license headers 2023-01-27 15:36:29 -08:00
flagtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipproto types/ipproto: import and test string parsing for ipproto 2023-10-11 18:56:33 -07:00
key types/key: update some doc strings for public key serialization 2023-09-27 14:04:33 -07:00
lazy types/lazy: helpers for lazily computed values 2023-02-10 20:59:58 -08:00
logger all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
logid all: implement AppendText alongside MarshalText (#9207) 2023-09-01 18:15:19 -07:00
netlogtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmap controlclient,tailcfg,types: expose MaxKeyDuration via localapi (#10401) 2024-01-05 12:06:12 +00:00
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
opt ipn: apply tailnet-wide default for auto-updates (#10508) 2023-12-18 14:57:03 -08:00
persist types/persist: drop duplicated Persist.LoginName 2023-08-08 13:43:37 -06:00
preftype cmd/tailscaled,*: add start of configuration file support 2023-10-16 10:40:27 -07:00
ptr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
structs all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tkatype types/tkatype: add test for MarshaledSignature's JSON format 2023-08-19 19:34:18 -07:00
views types/views: add SliceContainsFunc like slices.ContainsFunc 2023-09-18 16:09:59 +01:00