Add login page

This commit is contained in:
Khanh Ngo
2020-04-24 11:22:50 +07:00
parent d017ea17c8
commit a78c9f3dd4
4 changed files with 92 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ func main() {
app := router.New()
app.GET("/", handler.WireGuardClients())
app.GET("/login", handler.LoginPage())
app.POST("/new-client", handler.NewClient())
app.POST("/client/set-status", handler.SetClientStatus())
app.POST("/remove-client", handler.RemoveClient())