controllers

package
v0.0.0-...-a25e0fb Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 9 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 services.AuthService, userService services.UserService) AuthController

func (*AuthController) LogoutUser

func (ac *AuthController) LogoutUser(ctx *gin.Context)

func (*AuthController) RefreshAccessToken

func (ac *AuthController) RefreshAccessToken(ctx *gin.Context)

func (*AuthController) SignInUser

func (ac *AuthController) SignInUser(ctx *gin.Context)

func (*AuthController) SignUpUser

func (ac *AuthController) SignUpUser(ctx *gin.Context)

type UserController

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

func NewUserController

func NewUserController(userService services.UserService) UserController

func (*UserController) GetMe

func (uc *UserController) GetMe(ctx *gin.Context)

Jump to

Keyboard shortcuts

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