Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(d RouteDependecy)
Types ¶
type Handler ¶
type Handler struct { Resp handler.ResponseInterface Log log.LoggerInterface AppContext context.AppContext }
func NewHandler ¶
func NewHandler(d HandlerDependency) Handler
func (Handler) DoMigration ¶ added in v1.2.0
func (h Handler) DoMigration() handler.EndpointHandler
func (Handler) GetAvailableMigration ¶ added in v1.2.0
func (h Handler) GetAvailableMigration() handler.EndpointHandler
func (Handler) UpMigration ¶
func (h Handler) UpMigration() handler.EndpointHandler
type HandlerDependency ¶
type HandlerDependency struct { Logger log.LoggerInterface AppContext context.AppContext }
type MigrationRoute ¶
type MigrationRoute struct { Context router.Context Logger log.LoggerInterface AppContext context.AppContext }
func (MigrationRoute) GetListMigration ¶ added in v1.2.0
func (r MigrationRoute) GetListMigration(h Handler) router.EndpointInfo
func (MigrationRoute) InitEndpoints ¶
func (r MigrationRoute) InitEndpoints()
func (MigrationRoute) PostDoMigration ¶ added in v1.2.0
func (r MigrationRoute) PostDoMigration(h Handler) router.EndpointInfo
func (MigrationRoute) PostUpMigration ¶
func (r MigrationRoute) PostUpMigration(h Handler) router.EndpointInfo
type RouteDependecy ¶
type RouteDependecy struct { Context router.Context Logger log.LoggerInterface AppContext context.AppContext }
Click to show internal directories.
Click to hide internal directories.