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) CheckHealth ¶
func (h Handler) CheckHealth() handler.EndpointHandler
func (Handler) GetIpLog ¶ added in v1.2.0
func (h Handler) GetIpLog() handler.EndpointHandler
func (Handler) SendTestMail ¶ added in v1.2.0
func (h Handler) SendTestMail() handler.EndpointHandler
type HandlerDependency ¶
type HandlerDependency struct { Logger log.LoggerInterface AppContext context.AppContext }
type HealthCheckRoute ¶
type HealthCheckRoute struct { Context router.Context Logger log.LoggerInterface AppContext context.AppContext }
func (HealthCheckRoute) GetHealtCheckStatus ¶
func (r HealthCheckRoute) GetHealtCheckStatus(h Handler) router.EndpointInfo
func (HealthCheckRoute) InitEndpoints ¶
func (r HealthCheckRoute) InitEndpoints()
func (HealthCheckRoute) PostTestMail ¶ added in v1.2.0
func (r HealthCheckRoute) PostTestMail(h Handler) router.EndpointInfo
func (HealthCheckRoute) ServeStatic ¶ added in v1.3.0
func (r HealthCheckRoute) ServeStatic(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.