Documentation ¶
Index ¶
- func ResponseBlob(eCtx echo.Context, data interface{}) error
- func ResponseCreated(eCtx echo.Context, data interface{}) error
- func ResponseNoContent(eCtx echo.Context, _ interface{}) error
- func ResponseOK(eCtx echo.Context, data interface{}) error
- func ResponseRedirectFound(eCtx echo.Context, data interface{}) error
- func ResponseStream(eCtx echo.Context, data interface{}) error
- type EmptyQuery
- type HandlerFactory
- func (f HandlerFactory) GetAuthzMdlw() echo.MiddlewareFunc
- func (f *HandlerFactory) NewACR1(subPath string, initReq func() Request, ...) (string, echo.HandlerFunc, echo.MiddlewareFunc)
- func (f *HandlerFactory) NewACR2(subPath string, initReq func() Request, ...) (string, echo.HandlerFunc, echo.MiddlewareFunc)
- func (f *HandlerFactory) NewCryptoACR1(subPath string, initReq func() Request, ...) (string, echo.HandlerFunc, echo.MiddlewareFunc)
- func (f *HandlerFactory) NewCryptoACR2(subPath string, initReq func() Request, ...) (string, echo.HandlerFunc, echo.MiddlewareFunc)
- func (f *HandlerFactory) NewOptional(subPath string, initReq func() Request, ...) (string, echo.HandlerFunc, echo.MiddlewareFunc)
- func (f HandlerFactory) NewPublic(subPath string, initReq func() Request, ...) (string, echo.HandlerFunc)
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseCreated ¶
func ResponseCreated(eCtx echo.Context, data interface{}) error
ResponseCreated ...
func ResponseNoContent ¶
func ResponseNoContent(eCtx echo.Context, _ interface{}) error
ResponseNoContent ...
Types ¶
type EmptyQuery ¶
type EmptyQuery struct{}
func (*EmptyQuery) BindAndValidate ¶
func (query *EmptyQuery) BindAndValidate(eCtx echo.Context) error
BindAndValidate implements Request.BindAndValidate
type HandlerFactory ¶
type HandlerFactory struct {
// contains filtered or unexported fields
}
HandlerFactory ...
func NewHandlerFactory ¶
func NewHandlerFactory(authzMdlw echo.MiddlewareFunc) HandlerFactory
NewHandlerFactory ...
func (HandlerFactory) GetAuthzMdlw ¶
func (f HandlerFactory) GetAuthzMdlw() echo.MiddlewareFunc
func (*HandlerFactory) NewACR1 ¶
func (f *HandlerFactory) NewACR1( subPath string, initReq func() Request, appFunc func(context.Context, Request) (interface{}, error), responseFunc func(echo.Context, interface{}) error, afterOpts ...func(echo.Context, interface{}) error, ) (string, echo.HandlerFunc, echo.MiddlewareFunc)
NewACR1 ...
func (*HandlerFactory) NewACR2 ¶
func (f *HandlerFactory) NewACR2( subPath string, initReq func() Request, appFunc func(context.Context, Request) (interface{}, error), responseFunc func(echo.Context, interface{}) error, afterOpts ...func(echo.Context, interface{}) error, ) (string, echo.HandlerFunc, echo.MiddlewareFunc)
NewACR2 ...
func (*HandlerFactory) NewCryptoACR1 ¶
func (f *HandlerFactory) NewCryptoACR1( subPath string, initReq func() Request, appFunc func(context.Context, Request) (interface{}, error), responseFunc func(echo.Context, interface{}) error, afterOpts ...func(echo.Context, interface{}) error, ) (string, echo.HandlerFunc, echo.MiddlewareFunc)
NewCryptoACR1 ...
func (*HandlerFactory) NewCryptoACR2 ¶
func (f *HandlerFactory) NewCryptoACR2( subPath string, initReq func() Request, appFunc func(context.Context, Request) (interface{}, error), responseFunc func(echo.Context, interface{}) error, afterOpts ...func(echo.Context, interface{}) error, ) (string, echo.HandlerFunc, echo.MiddlewareFunc)
NewCryptoACR2 ...
func (*HandlerFactory) NewOptional ¶
func (f *HandlerFactory) NewOptional( subPath string, initReq func() Request, appFunc func(context.Context, Request) (interface{}, error), responseFunc func(echo.Context, interface{}) error, afterOpts ...func(echo.Context, interface{}) error, ) (string, echo.HandlerFunc, echo.MiddlewareFunc)
NewOptional ...
func (HandlerFactory) NewPublic ¶
func (f HandlerFactory) NewPublic( subPath string, initReq func() Request, appFunc func(context.Context, Request) (interface{}, error), responseFunc func(echo.Context, interface{}) error, afterOpts ...func(echo.Context, interface{}) error, ) (string, echo.HandlerFunc)
NewPublic ...
Click to show internal directories.
Click to hide internal directories.