Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Crockford alphabet (https://www.crockford.com/base32.html)
LowercaseAlphabet = "0123456789abcdefghjkmnpqrstvwxyz"
)
Variables ¶
View Source
var ( ErrJoinFailed = fmt.Errorf("Join failed") ErrNoMessage = fmt.Errorf("No message") )
View Source
var (
Lower = base32.NewEncoding(LowercaseAlphabet).WithPadding(base32.NoPadding)
)
Functions ¶
func MakeDNSLabels ¶
Types ¶
type ClientKey ¶
type ClientKey struct {
New bool
*ecdh.PrivateKey
}
type Server ¶
type Server struct {
Base string
Info string
Debug bool
PublicKey *ecdh.PublicKey
RTT time.Duration
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.