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
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>
3 years ago
..
dnstype cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
empty
flagtype
ipproto
key control/noise: use key.Machine{Public,Private} as appropriate. 3 years ago
logger types/logger: add Context and related helpers 3 years ago
netmap all: replace tailcfg.DiscoKey with key.DiscoPublic. 3 years ago
nettype
opt types/opt: implement Bool.Scan 3 years ago
pad32
persist types/persist: use new node key type. 3 years ago
preftype
structs