package
0.6.2
Repository: https://github.com/ngoduykhanh/wireguard-ui.git
Documentation: pkg.go.dev

# Functions

AboutPage handler.
ApplyServerConfig handler to write config file and restart Wireguard server.
ContentTypeJson checks that the requests have the Content-Type header set to "application/json".
CreateUser to create new user.
No description provided by the author
DownloadClient handler.
EmailClient handler to send the configuration via email.
No description provided by the author
GetClient handler returns a JSON object of Wireguard client data.
GetClients handler return a JSON list of Wireguard client data.
GetHashesChanges handler returns if database hashes have changed.
GetOrderedSubnetRanges handler to get the ordered list of subnet ranges.
GetUser handler returns a JSON object of single user.
GetUsers handler return a JSON list of all users.
No description provided by the author
GlobalSettings handler.
GlobalSettingSubmit handler to update the global settings.
Health check handler.
LoadProfile to load user information.
Login for signing in handler.
LoginPage handler.
Logout to log a user out.
MachineIPAddresses handler to get local interface ip addresses.
No description provided by the author
NewClient handler.
RefreshSession must only be used after ValidSession middleware RefreshSession checks if the session is eligible for the refresh, but doesn't check if it's fully valid.
RemoveClient handler.
RemoveUser handler.
No description provided by the author
SendTelegramClient handler to send the configuration via Telegram.
SetClientStatus handler to enable / disable a client.
Status handler.
SuggestIPAllocation handler to get the list of ip address for client.
UpdateClient handler to update client information.
UpdateUser to update user information.
UsersSettings handler.
No description provided by the author
No description provided by the author
WireGuardClients handler.
WireGuardServer handler.
WireGuardServerInterfaces handler.
WireGuardServerKeyPair handler to generate private and public keys.

# Structs

No description provided by the author