Documentation ¶
Index ¶
- Constants
- func DeleteName(name string) error
- func ListConfigNames() ([]string, error)
- func MigrateUnencryptedConfigs() (int, []error)
- func NameFromPath(path string) (string, error)
- func TunnelNameIsLess(a, b string) bool
- func TunnelNameIsValid(name string) bool
- type Bytes
- type Config
- type Endpoint
- type HandshakeTime
- type IPCidr
- type Interface
- type Key
- type ParseError
- type Peer
- type StoreCallback
Constants ¶
View Source
const KeyLength = 32
Variables ¶
This section is empty.
Functions ¶
func DeleteName ¶
func ListConfigNames ¶
func NameFromPath ¶
func TunnelNameIsLess ¶
func TunnelNameIsValid ¶
Types ¶
type HandshakeTime ¶
func (HandshakeTime) IsEmpty ¶
func (t HandshakeTime) IsEmpty() bool
func (HandshakeTime) String ¶
func (t HandshakeTime) String() string
type ParseError ¶
type ParseError struct {
// contains filtered or unexported fields
}
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type StoreCallback ¶
type StoreCallback struct {
// contains filtered or unexported fields
}
func RegisterStoreChangeCallback ¶
func RegisterStoreChangeCallback(cb func()) *StoreCallback
func (*StoreCallback) Unregister ¶
func (cb *StoreCallback) Unregister()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.