Documentation ¶
Index ¶
- func AddClient(client Client) error
- func GetVultrAPIKey() (string, error)
- func InitDb()
- func SetDuckDnsDomain(duckDnsDomain string)
- func SetDuckDnsToken(duckDnsToken string)
- func SetServer(server Server) error
- func SetVultrApiKey(vultrApiKey string)
- type ApiInitializeResponse
- type Client
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVultrAPIKey ¶
func SetDuckDnsDomain ¶
func SetDuckDnsDomain(duckDnsDomain string)
func SetDuckDnsToken ¶
func SetDuckDnsToken(duckDnsToken string)
func SetVultrApiKey ¶
func SetVultrApiKey(vultrApiKey string)
Types ¶
type ApiInitializeResponse ¶
type ApiInitializeResponse struct {
WireguardConf string `json:"conf"`
}
type Client ¶
func GetClients ¶
func GetClients() []Client
Click to show internal directories.
Click to hide internal directories.