handler

package
v0.0.0-...-90663b7 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TournamentHandler

type TournamentHandler interface {
	Create(c *gin.Context) error
	Delete(c *gin.Context) error
	Get(c *gin.Context) error
	ListPast(c *gin.Context) error
	ListUpcoming(c *gin.Context) error
	Index(c *gin.Context) error
	Update(c *gin.Context) error
}

func NewTournamentHandler

func NewTournamentHandler(tournamentService service.TournamentService, logger *zap.Logger) TournamentHandler

type UserHandler

type UserHandler interface {
	Create(c *gin.Context) error
	Get(c *gin.Context) error
	Index(c *gin.Context) error
	Update(c *gin.Context) error
	UpdatePassword(c *gin.Context) error
	Authenticate(c *gin.Context) error
}

func NewUserHandler

func NewUserHandler(userService service.UserService, logger *zap.Logger) UserHandler

Jump to

Keyboard shortcuts

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