controllers

package
v0.0.0-...-72ff7e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthController

type HealthController struct{}

func (HealthController) Status

func (h HealthController) Status(c *gin.Context)

type UserController

type UserController struct {
	DB   db.Database
	Auth auth.Authenticator
}

func (UserController) AutorizeToken

func (uh UserController) AutorizeToken(c *gin.Context)

func (UserController) GetUsers

func (uh UserController) GetUsers(c *gin.Context)

func (UserController) Login

func (uh UserController) Login(c *gin.Context)

func (UserController) Register

func (uh UserController) Register(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL