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/types
Maisem Ali b752bde280 types/views: add SliceMapKey[T]
views.Slice are meant to be immutable, and if used as such it
is at times desirable to use them as a key in a map. For non-viewed
slices it was kinda doable by creating a custom key struct but views.Slice
didn't allow for the same so add a method to create that struct here.

Updates tailscale/corp#17122

Signed-off-by: Maisem Ali <maisem@tailscale.com>
4 months ago
..
appctype appc,ipn/ipnlocal,types/appctype: implement control provided routes 5 months ago
dnstype types/dnstype: update the usage documentation on dnstype.Resolver 7 months ago
empty all: update copyright and license headers 1 year ago
flagtype all: update copyright and license headers 1 year ago
ipproto types/ipproto: import and test string parsing for ipproto 8 months ago
key wgengine/magicsock: implement probing of UDP path lifetime (#10844) 4 months ago
lazy types/lazy: helpers for lazily computed values 1 year ago
logger all: make use of ctxkey everywhere (#10846) 5 months ago
logid all: implement AppendText alongside MarshalText (#9207) 9 months ago
netlogtype all: update copyright and license headers 1 year ago
netmap controlclient,tailcfg,types: expose MaxKeyDuration via localapi (#10401) 5 months ago
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 1 year ago
opt ipn: apply tailnet-wide default for auto-updates (#10508) 6 months ago
persist types/persist: drop duplicated Persist.LoginName 10 months ago
preftype cmd/tailscaled,*: add start of configuration file support 8 months ago
ptr all: update copyright and license headers 1 year ago
structs all: update copyright and license headers 1 year ago
tkatype types/tkatype: add test for MarshaledSignature's JSON format 10 months ago
views types/views: add SliceMapKey[T] 4 months ago