handler

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHandler

func NewAuthHandler(authService port.AuthService) port.AuthHandler

func NewUserHandler

func NewUserHandler(userService port.UserService) port.UserHandler

Types

type AuthHandler

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

func (AuthHandler) Login

func (h AuthHandler) Login(c *router.Context)

func (AuthHandler) Logout

func (h AuthHandler) Logout(c *router.Context)

func (AuthHandler) Register

func (h AuthHandler) Register(c *router.Context)

type UserHandler

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

func (*UserHandler) GetCurrentUser

func (h *UserHandler) GetCurrentUser(c *router.Context)

func (*UserHandler) GetCurrentUserCredentials

func (h *UserHandler) GetCurrentUserCredentials(c *router.Context)

func (*UserHandler) PatchCurrentUser

func (h *UserHandler) PatchCurrentUser(c *router.Context)

Jump to

Keyboard shortcuts

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