Documentation
¶
Index ¶
- func AddPeer(public wgtypes.Key, username string) (string, error)
- func Deauthenticate(address string) error
- func GetAllAuthorised() ([]string, error)
- func GetPeerRealIp(address string) (string, error)
- func GetRules() (map[string]description, error)
- func GetTimeStamp() uint64
- func IsAuthed(address string) bool
- func RefreshConfiguration() []error
- func RemovePeer(internalAddress string) error
- func ServerDetails() (key wgtypes.Key, port int, err error)
- func SetAuthorized(internalAddress string) error
- func Setup(error chan<- error) (err error)
- func TearDown()
- type Key
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deauthenticate ¶
func GetAllAuthorised ¶
func GetPeerRealIp ¶
func GetTimeStamp ¶
func GetTimeStamp() uint64
func RefreshConfiguration ¶
func RefreshConfiguration() []error
func RemovePeer ¶
func SetAuthorized ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.