Documentation ¶
Index ¶
- func ApplyServerConfig(tmplBox *rice.Box) echo.HandlerFunc
- func DownloadClient() echo.HandlerFunc
- func EmailClient(mailer emailer.Emailer, emailSubject, emailContent string) echo.HandlerFunc
- func GetClient() echo.HandlerFunc
- func GetClients() echo.HandlerFunc
- func GlobalSettingSubmit() echo.HandlerFunc
- func GlobalSettings() echo.HandlerFunc
- func Login() echo.HandlerFunc
- func LoginPage() echo.HandlerFunc
- func Logout() echo.HandlerFunc
- func MachineIPAddresses() echo.HandlerFunc
- func NewClient() echo.HandlerFunc
- func RemoveClient() echo.HandlerFunc
- func SetClientStatus() echo.HandlerFunc
- func SuggestIPAllocation() echo.HandlerFunc
- func UpdateClient() echo.HandlerFunc
- func ValidSession(next echo.HandlerFunc) echo.HandlerFunc
- func WireGuardClients() echo.HandlerFunc
- func WireGuardServer() echo.HandlerFunc
- func WireGuardServerInterfaces() echo.HandlerFunc
- func WireGuardServerKeyPair() echo.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyServerConfig ¶
ApplyServerConfig handler to write config file and restart Wireguard server
func EmailClient ¶ added in v0.0.7
EmailClient handler to sent the configuration via email
func GetClient ¶
func GetClient() echo.HandlerFunc
GetClient handler return a of Wireguard client data
func GetClients ¶
func GetClients() echo.HandlerFunc
GetClients handler return a list of Wireguard client data
func GlobalSettingSubmit ¶
func GlobalSettingSubmit() echo.HandlerFunc
GlobalSettingSubmit handler to update the global settings
func MachineIPAddresses ¶
func MachineIPAddresses() echo.HandlerFunc
MachineIPAddresses handler to get local interface ip addresses
func SetClientStatus ¶
func SetClientStatus() echo.HandlerFunc
SetClientStatus handler to enable / disable a client
func SuggestIPAllocation ¶
func SuggestIPAllocation() echo.HandlerFunc
SuggestIPAllocation handler to get the list of ip address for client
func UpdateClient ¶
func UpdateClient() echo.HandlerFunc
UpdateClient handler to update client information
func ValidSession ¶ added in v0.0.7
func ValidSession(next echo.HandlerFunc) echo.HandlerFunc
func WireGuardServerInterfaces ¶
func WireGuardServerInterfaces() echo.HandlerFunc
WireGuardServerInterfaces handler
func WireGuardServerKeyPair ¶
func WireGuardServerKeyPair() echo.HandlerFunc
WireGuardServerKeyPair handler to generate private and public keys
Types ¶
This section is empty.