tailscale/types
James Tucker c1ef55249a types/ipproto: import and test string parsing for ipproto
IPProto has been being converted to and from string formats in multiple
locations with variations in behavior. TextMarshaller and JSONMarshaller
implementations are now added, along with defined accepted and preferred
formats to centralize the logic into a single cross compatible
implementation.

Updates tailscale/corp#15043
Fixes tailscale/corp#15141

Signed-off-by: James Tucker <james@tailscale.com>
2023-10-11 18:56:33 -07:00
..
dnstype tailcfg: add DNS address list for IsWireGuardOnly nodes 2023-09-15 13:15:18 -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 types/logger: add TestLogger 2023-08-30 20:23:03 -07: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 tailcfg, all: use []netip.AddrPort instead of []string for Endpoints 2023-10-01 18:23:02 -07:00
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
opt types/opt: use switch in Bool.UnmarshalJSON (#9140) 2023-08-29 13:12:49 -07:00
persist types/persist: drop duplicated Persist.LoginName 2023-08-08 13:43:37 -06:00
preftype all: update copyright and license headers 2023-01-27 15:36:29 -08: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