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 56a7652dc9 wgkey: new package
This is a replacement for the key-related parts
of the wireguard-go wgcfg package.

This is almost a straight copy/paste from the wgcfg package.
I have slightly changed some of the exported functions and types
to avoid stutter, added and tweaked some comments,
and removed some now-unused code.

To avoid having wireguard-go depend on this new package,
wgcfg will keep its key types.

We translate into and out of those types at the last minute.
These few remaining uses will be eliminated alongside
the rest of the wgcfg package.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
4 years ago
..
empty types/empty: add Message, stop using mysterious *struct{} 5 years ago
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 4 years ago
key wgkey: new package 4 years ago
logger Clarify that raw format strings are intentional 4 years ago
nettype wgengine/magicsock, tstest/natlab: start hooking up natlab to magicsock 4 years ago
opt types/opt: add Bool.EqualBool method 4 years ago
strbuilder types/strbuilder: add a variant of strings.Builder that uses sync.Pool 5 years ago
structs types/structs: add structs.Incomparable annotation, use it where applicable 5 years ago
wgkey wgkey: new package 4 years ago