package
0.0.0-20191105174257-9a10ecfa2e3c
Repository: https://github.com/arthurcgc/secdevlabs.git
Documentation: pkg.go.dev
# Functions
FormPage reders login page.
GetTicket returns the userID ticket.
HealthCheck is the heath check function.
Login checks MongoDB if this user exists and then returns a JWT session cookie.
ReadCookie reads a cookie from echo Context.
RegisterUser registers a new user into MongoDB.
WriteCookie writes a cookie into echo Context.