handler

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

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

func NewAuthHandlers

func NewAuthHandlers(
	authService service.IAuthService,
	tr transaction.ITransaction,
	tokenMiddleware middleware.ITokenMiddleware,

) *AuthHandler

func (*AuthHandler) Init

func (h *AuthHandler) Init(api *gin.RouterGroup)

type Handler

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

func NewHandlers

func NewHandlers(
	authService service.IAuthService,
	tr transaction.ITransaction,
	tokenMiddleware middleware.ITokenMiddleware,
) *Handler

func (*Handler) Init

func (h *Handler) Init(api *gin.RouterGroup)

type IHandler

type IHandler interface {
	Init(api *gin.RouterGroup)
}

Jump to

Keyboard shortcuts

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