controller

package
v0.0.0-...-d3349d2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppRouter

func NewAppRouter(initPublicRouterFunc []InitRouterGroupFunc, initPrivateRouterFunc []InitRouterGroupFunc, corsConfig cors.Config, appConfig *config.AppConfig, authConfig *config.AuthConfig, debugConfig *config.DebugConfig) (*gin.Engine, error)

Types

type AdminHandler

type AdminHandler interface {
	FindAudio(c *gin.Context)
}

func NewAdminHandler

func NewAdminHandler(adminUsecase usecase.AdminUsecase) AdminHandler

type InitRouterGroupFunc

type InitRouterGroupFunc func(parentRouterGroup *gin.RouterGroup, middleware ...gin.HandlerFunc) error

func NewInitAdminRouterFunc

func NewInitAdminRouterFunc(adminUsecase usecase.AdminUsecase) InitRouterGroupFunc

func NewInitUserRouterFunc

func NewInitUserRouterFunc(userUsecase usecase.UserUsecase) InitRouterGroupFunc

type UserHandler

type UserHandler interface {
	Synthesize(c *gin.Context)
	FindAudioByAudioID(c *gin.Context)
}

func NewUserHandler

func NewUserHandler(userUsecase usecase.UserUsecase) UserHandler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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