tailscale/cmd/derper
Joe Tsai 9a05cdd2b5
syncs: add Map (#6260)
Map is a concurrent safe map that is a trivial wrapper
over a Go map and a sync.RWMutex.

It is optimized for use-cases where the entries change often,
which is the opposite use-case of what sync.Map is optimized for.

The API is patterned off of sync.Map, but made generic.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-11-10 10:55:26 -08:00
..
bootstrap_dns_test.go cmd/derper: add support for unpublished bootstrap DNS entries (#5529) 2022-09-02 14:48:30 -04:00
bootstrap_dns.go cmd/derper: add support for unpublished bootstrap DNS entries (#5529) 2022-09-02 14:48:30 -04:00
cert.go cmd/derper: fix data race & server panic in manual cert mode 2022-08-10 15:14:09 -07:00
depaware.txt syncs: add Map (#6260) 2022-11-10 10:55:26 -08:00
derper_test.go net/netcheck: don't use a space in the captive portal challenge 2022-11-08 16:58:54 -05:00
derper.go cmd/derper, net/netcheck: add challenge/response to generate_204 endpoint 2022-10-19 11:10:18 -04:00
mesh.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
websocket.go net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2022-10-18 15:39:32 -07:00