Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateStruct ¶
func ValidateStruct(data interface{}) error
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(authService security.Service) *AuthHandler
func (*AuthHandler) SetUpRoutes ¶
func (handler *AuthHandler) SetUpRoutes(app *fiber.App)
type MemberHandler ¶
type MemberHandler struct {
// contains filtered or unexported fields
}
MemberHandler is a REST controller
func NewMemberHandler ¶
func NewMemberHandler(service member.Service) *MemberHandler
NewMemberHandler builds a new MemberHandler
func (*MemberHandler) SetUpRoutes ¶
func (handler *MemberHandler) SetUpRoutes(app *fiber.App)
type ReportHandler ¶
type ReportHandler struct {
// contains filtered or unexported fields
}
ReportHandler is a REST controller
func NewReportHandler ¶
func NewReportHandler(reportGenerator report.Service) *ReportHandler
NewReportHandler builds a new ReportHandler
func (*ReportHandler) SetUpRoutes ¶
func (handler *ReportHandler) SetUpRoutes(app *fiber.App)
type Routable ¶
type Routable interface {
//SetUpRoutes build the REST controller routes
SetUpRoutes(app *fiber.App)
}
Routable defines a way to builds a REST Controller routes
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(service user.Service) *UserHandler
func (*UserHandler) PostUser ¶
func (handler *UserHandler) PostUser(ctx *fiber.Ctx) error
func (*UserHandler) SetUpRoutes ¶
func (handler *UserHandler) SetUpRoutes(app *fiber.App)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.