handlers

package
v0.0.0-...-d389d3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootRouteHandler

type RootRouteHandler struct {
	ErrorHandler handlers.ErrorResponseManager
}

func NewRootRouteHandler

func NewRootRouteHandler(errorHandler handlers.ErrorResponseManager) *RootRouteHandler

func (RootRouteHandler) Handle

func (r RootRouteHandler) Handle(handler RouteHandler) gin.HandlerFunc

type RouteHandler

type RouteHandler func(c *gin.Context) (*response.APIResponseEnvelope, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL