package
0.0.2
Repository: https://github.com/dropdevrahul/simple-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
LoginUser @Summary Login @Description Lets a user request a tokin @Tags user @Accept json @Produce json @Param User body LoginRequest true "comment" @Success 200 {object} models.UserToken @Failure 400 {object} models.HTTPError @Failure 500 {object} models.HTTPError @Router /auth [post].
SignupUser @Summary Signup @Description Lets a new user register to get a new token @Tags user @Param User body models.User true "comment" @Accept json @Produce json @Success 200 {object} models.UserToken @Failure 400 {object} models.HTTPError @Failure 500 {object} models.HTTPError @Router /user [post].

# Structs

No description provided by the author