Documentation
¶
Index ¶
- func Wrap(in Handler) echo.HandlerFunc
- type Config
- type Context
- func (c Context) Bind(target any) error
- func (c Context) Context() context.Context
- func (c Context) Deleted() error
- func (c Context) List(p kit.Pagination, i interface{}) error
- func (c Context) Origin() echo.Context
- func (c Context) Pagination(max int) (kit.Pagination, error)
- func (c Context) ParamInt(name string) (int, error)
- func (c Context) ParamString(name string) string
- func (c Context) ShouldCan(permissions ...string) error
- func (c Context) StatusOK(i interface{}) error
- type Handler
- type HttpEcho
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (Context) Pagination ¶
func (c Context) Pagination(max int) (kit.Pagination, error)
func (Context) ParamString ¶
type HttpEcho ¶
type HttpEcho[Conf dependencies.Config, Dep dependencies.Locator] struct { Swagger []byte InitConfig func(conf Conf) Config Builder func(e *echo.Echo, dep Dep) error }
Click to show internal directories.
Click to hide internal directories.