feature: Adds login support.
This commit is contained in:
parent
af37abf075
commit
bbad26b686
5 changed files with 176 additions and 16 deletions
|
@ -92,6 +92,7 @@ func main() {
|
|||
|
||||
// Initialize routes
|
||||
engine.POST("/api/v1/users/create", users.CreateUser)
|
||||
engine.POST("/api/v1/users/login", users.LoginUser)
|
||||
|
||||
log.Infof("Listening on: %s", listeningAddress)
|
||||
err = engine.Run(listeningAddress)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue