handler

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyServerConfig

func ApplyServerConfig(tmplBox *rice.Box) echo.HandlerFunc

ApplyServerConfig handler to write config file and restart Wireguard server

func DownloadClient

func DownloadClient() echo.HandlerFunc

DownloadClient handler

func EmailClient added in v0.0.7

func EmailClient(mailer emailer.Emailer, emailSubject, emailContent string) echo.HandlerFunc

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 GlobalSettings

func GlobalSettings() echo.HandlerFunc

GlobalSettings handler

func Login

func Login() echo.HandlerFunc

Login for signing in handler

func LoginPage

func LoginPage() echo.HandlerFunc

LoginPage handler

func Logout

func Logout() echo.HandlerFunc

Logout to log a user out

func MachineIPAddresses

func MachineIPAddresses() echo.HandlerFunc

MachineIPAddresses handler to get local interface ip addresses

func NewClient

func NewClient() echo.HandlerFunc

NewClient handler

func RemoveClient

func RemoveClient() echo.HandlerFunc

RemoveClient handler

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 WireGuardClients

func WireGuardClients() echo.HandlerFunc

WireGuardClients handler

func WireGuardServer

func WireGuardServer() echo.HandlerFunc

WireGuardServer handler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL