Add authentication

This commit is contained in:
Khanh Ngo
2020-04-24 18:14:54 +07:00
parent a78c9f3dd4
commit a5fbb7b58a
13 changed files with 306 additions and 7 deletions

2
go.mod
View File

@@ -5,7 +5,9 @@ go 1.14
require (
github.com/glendc/go-external-ip v0.0.0-20170425150139-139229dcdddd
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/gorilla/sessions v1.2.0
github.com/jcelliott/lumber v0.0.0-20160324203708-dd349441af25 // indirect
github.com/labstack/echo-contrib v0.9.0
github.com/labstack/echo/v4 v4.1.16
github.com/labstack/gommon v0.3.0
github.com/leodido/go-urn v1.2.0 // indirect