Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerSet = wire.NewSet( NewPingHandler, NewLogHandler, wire.Struct(new(Handler), "*"), )
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { PingHandler PingHandler LogHandler LogHandler }
type LogHandler ¶
type LogHandler interface { GetLogInfoByLogId(ctx *fiber.Ctx) error GetLogInfoList(ctx *fiber.Ctx) error }
func NewLogHandler ¶
func NewLogHandler(v *validator.Validate, l utils.Logger, svc service.LogService) LogHandler
type PingHandler ¶
type PingHandler interface {
Ping(ctx *fiber.Ctx) error
}
func NewPingHandler ¶
func NewPingHandler(svc service.PingService) PingHandler
Click to show internal directories.
Click to hide internal directories.