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) ReturnIP ¶
func (h Handler) ReturnIP() handler.EndpointHandler
type HandlerDependency ¶
type HandlerDependency struct { Logger log.LoggerInterface AppContext context.AppContext }
type RouteDependecy ¶
type RouteDependecy struct { Context router.Context Logger log.LoggerInterface AppContext context.AppContext }
type ToolsRoute ¶
type ToolsRoute struct { Context router.Context Logger log.LoggerInterface AppContext context.AppContext }
func (ToolsRoute) GetRequesterIpRoute ¶
func (r ToolsRoute) GetRequesterIpRoute(h Handler) router.EndpointInfo
func (ToolsRoute) InitEndpoints ¶
func (r ToolsRoute) InitEndpoints()
Click to show internal directories.
Click to hide internal directories.