package
0.0.0-20210121075123-3338c34de57a
Repository: https://github.com/iamnator/mysql-golang-web.git
Documentation: pkg.go.dev
# Functions
creates a token for a user { we should store user tokens in a redis database }.
No description provided by the author
# Variables
No description provided by the author
# Structs
request does not conform to login api swagger:response loginBadRequest.
swagger:model.
Incorrect password swagger:response loginIncorrectPassword.
LoginResponse defines the struct for API login swagger:model.
Non registered user tries to login swagger:response loginNotFound.
Successful login request swagger:response loginResponse.
swagger:model.
swagger:model.
# Type aliases
Sessiondb is a http.Handler.