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