controller

package
v0.0.0-...-4d8293b Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	// contains filtered or unexported fields
}

func NewAuthController

func NewAuthController(authService *service.Auth) *AuthController

func (*AuthController) Activate

func (c *AuthController) Activate(w http.ResponseWriter, r *http.Request)

func (*AuthController) CheckPermission

func (c *AuthController) CheckPermission(w http.ResponseWriter, r *http.Request)

func (*AuthController) Login

func (c *AuthController) Login(w http.ResponseWriter, r *http.Request)

func (*AuthController) Logout

func (c *AuthController) Logout(w http.ResponseWriter, r *http.Request)

func (*AuthController) Register

func (c *AuthController) Register(w http.ResponseWriter, r *http.Request)

type HealthController

type HealthController struct{}

func NewHealthController

func NewHealthController() *HealthController

func (*HealthController) HealthCheck

func (c *HealthController) HealthCheck(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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