Documentation ¶ Index ¶ func CreateUser(c *fiber.Ctx) error func GetUser(c *fiber.Ctx) error func GetUsers(c *fiber.Ctx) error func Login(c *fiber.Ctx) error func Logout(c *fiber.Ctx) error func Protected(c *fiber.Ctx) error func RefreshToken(c *fiber.Ctx) error func Register(c *fiber.Ctx) error type Token Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateUser ¶ func CreateUser(c *fiber.Ctx) error func GetUser ¶ func GetUser(c *fiber.Ctx) error func GetUsers ¶ func GetUsers(c *fiber.Ctx) error func Login ¶ func Login(c *fiber.Ctx) error func Logout ¶ func Logout(c *fiber.Ctx) error func Protected ¶ func Protected(c *fiber.Ctx) error Protected content controller func RefreshToken ¶ func RefreshToken(c *fiber.Ctx) error func Register ¶ func Register(c *fiber.Ctx) error Types ¶ type Token ¶ type Token struct { RefreshToken string `json:"refresh_token"` } Source Files ¶ View all Source files auth_controller.gousers_controller.go Click to show internal directories. Click to hide internal directories.