Documentation ¶
Index ¶
- func ApplyServerConfig(db store.IStore, tmplBox *rice.Box) echo.HandlerFunc
- func DownloadClient(db store.IStore) echo.HandlerFunc
- func EmailClient(db store.IStore, mailer emailer.Emailer, emailSubject, emailContent string) echo.HandlerFunc
- func GetClient(db store.IStore) echo.HandlerFunc
- func GetClients(db store.IStore) echo.HandlerFunc
- func GlobalSettingSubmit(db store.IStore) echo.HandlerFunc
- func GlobalSettings(db store.IStore) echo.HandlerFunc
- func Login(db store.IStore) echo.HandlerFunc
- func LoginPage() echo.HandlerFunc
- func Logout() echo.HandlerFunc
- func MachineIPAddresses() echo.HandlerFunc
- func NewClient(db store.IStore) echo.HandlerFunc
- func RemoveClient(db store.IStore) echo.HandlerFunc
- func SetClientStatus(db store.IStore) echo.HandlerFunc
- func Status(db store.IStore) echo.HandlerFunc
- func SuggestIPAllocation(db store.IStore) echo.HandlerFunc
- func UpdateClient(db store.IStore) echo.HandlerFunc
- func ValidSession(next echo.HandlerFunc) echo.HandlerFunc
- func WireGuardClients(db store.IStore) echo.HandlerFunc
- func WireGuardServer(db store.IStore) echo.HandlerFunc
- func WireGuardServerInterfaces(db store.IStore) echo.HandlerFunc
- func WireGuardServerKeyPair(db store.IStore) 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.3.0
func EmailClient(db store.IStore, mailer emailer.Emailer, emailSubject, emailContent string) echo.HandlerFunc
EmailClient handler to sent the configuration via email
func GetClients ¶ added in v0.2.5
GetClients handler return a list of Wireguard client data
func GlobalSettingSubmit ¶
GlobalSettingSubmit handler to update the global settings
func MachineIPAddresses ¶
func MachineIPAddresses() echo.HandlerFunc
MachineIPAddresses handler to get local interface ip addresses
func SetClientStatus ¶
SetClientStatus handler to enable / disable a client
func SuggestIPAllocation ¶
SuggestIPAllocation handler to get the list of ip address for client
func UpdateClient ¶ added in v0.2.5
UpdateClient handler to update client information
func ValidSession ¶ added in v0.3.0
func ValidSession(next echo.HandlerFunc) echo.HandlerFunc
func WireGuardClients ¶
WireGuardClients handler
func WireGuardServer ¶
WireGuardServer handler
func WireGuardServerInterfaces ¶
WireGuardServerInterfaces handler
func WireGuardServerKeyPair ¶
WireGuardServerKeyPair handler to generate private and public keys
Types ¶
This section is empty.