Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEcho ¶
func NewEcho(cfg Config, mapper *ControllerMapper) *echo.Echo
NewEcho builds a pre-configured and ready-to-use echo.Echo instance.
Types ¶
type CardController ¶
type CardController struct {
// contains filtered or unexported fields
}
func NewCardController ¶
func NewCardController(s card.Service) CardController
func (CardController) MapRoutes ¶
func (u CardController) MapRoutes(_ *echo.Echo)
func (CardController) MapVersionedRoutes ¶
func (u CardController) MapVersionedRoutes(g *echo.Group)
type Config ¶
type ContactController ¶
type ContactController struct {
// contains filtered or unexported fields
}
func NewContactController ¶
func NewContactController(s contact.Service) ContactController
func (ContactController) MapRoutes ¶
func (u ContactController) MapRoutes(_ *echo.Echo)
func (ContactController) MapVersionedRoutes ¶
func (u ContactController) MapVersionedRoutes(g *echo.Group)
type Controller ¶
type Controller interface { MapRoutes(e *echo.Echo) MapVersionedRoutes(g *echo.Group) }
type ControllerMapper ¶
type ControllerMapper struct {
// contains filtered or unexported fields
}
func NewControllerMapper ¶
func NewControllerMapper(cfg coinlog.Config, httpCfg Config) *ControllerMapper
func (*ControllerMapper) Add ¶
func (h *ControllerMapper) Add(cc ...Controller)
func (*ControllerMapper) RegisterRoutes ¶
func (h *ControllerMapper) RegisterRoutes(e *echo.Echo)
type FinancialAccountController ¶
type FinancialAccountController struct {
// contains filtered or unexported fields
}
func NewFinancialController ¶
func NewFinancialController(svc financialaccount.Service) FinancialAccountController
func (FinancialAccountController) MapRoutes ¶
func (f FinancialAccountController) MapRoutes(_ *echo.Echo)
func (FinancialAccountController) MapVersionedRoutes ¶
func (f FinancialAccountController) MapVersionedRoutes(g *echo.Group)
type HealthcheckController ¶
type HealthcheckController struct{}
func NewHealthcheckController ¶
func NewHealthcheckController() HealthcheckController
func (HealthcheckController) MapRoutes ¶
func (l HealthcheckController) MapRoutes(e *echo.Echo)
func (HealthcheckController) MapVersionedRoutes ¶
func (l HealthcheckController) MapVersionedRoutes(_ *echo.Group)
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(s user.Service) UserController
func (UserController) MapRoutes ¶
func (u UserController) MapRoutes(_ *echo.Echo)
func (UserController) MapVersionedRoutes ¶
func (u UserController) MapVersionedRoutes(g *echo.Group)
Click to show internal directories.
Click to hide internal directories.