mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-09 17:34:25 +03:00
Adjustment to have enable/disable client on UI
This commit is contained in:
parent
e52ffaf686
commit
dbb85cb759
6 changed files with 138 additions and 4 deletions
1
main.go
1
main.go
|
@ -10,6 +10,7 @@ func main() {
|
|||
|
||||
app.GET("/", handler.WireGuardClients())
|
||||
app.POST("/new-client", handler.NewClient())
|
||||
app.POST("/client/set-status", handler.SetClientStatus())
|
||||
app.POST("/remove-client", handler.RemoveClient())
|
||||
app.GET("/wg-server", handler.WireGuardServer())
|
||||
app.POST("wg-server/interfaces", handler.WireGuardServerInterfaces())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue