tailscale/types
Josh Bleecher Snyder deb2f5e793 types/logger: add Context and related helpers
We often need both a log function and a context.
We can do this by adding the log function as a context value.
This commit adds helper glue to make that easy.
It is designed to allow incremental adoption.

Updates tailscale/corp#3138

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-11-30 15:18:21 -08:00
..
dnstype cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
empty types/empty: add Message, stop using mysterious *struct{} 2020-02-14 13:35:49 -08:00
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 2020-10-19 20:18:31 -07:00
ipproto net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
key control/noise: use key.Machine{Public,Private} as appropriate. 2021-11-10 12:13:54 -08:00
logger types/logger: add Context and related helpers 2021-11-30 15:18:21 -08:00
netmap all: replace tailcfg.DiscoKey with key.DiscoPublic. 2021-11-03 14:00:16 -07:00
nettype wgengine/magicsock, tstest/natlab: start hooking up natlab to magicsock 2020-07-10 14:32:58 -07:00
opt types/opt: implement Bool.Scan 2021-10-03 15:24:13 -07:00
pad32 net/portmapper: add NAT-PMP client, move port mapping service probing 2021-02-23 09:07:38 -08:00
persist types/persist: use new node key type. 2021-10-28 10:29:43 -07:00
preftype types/preftype: don't use iota for consts persisted to disk 2021-04-02 09:02:54 -07:00
structs types/structs: add structs.Incomparable annotation, use it where applicable 2020-05-03 14:05:32 -07:00