Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authentication ¶ added in v1.3.0
func Authentication() echo.MiddlewareFunc
Types ¶
type ConflictError ¶
type ConflictError string
func ConflictErrorf ¶
func ConflictErrorf(format string, a ...interface{}) ConflictError
func (ConflictError) Error ¶
func (e ConflictError) Error() string
type ConstraintError ¶
type ConstraintError string
func ConstraintErrorf ¶
func ConstraintErrorf(format string, a ...interface{}) ConstraintError
func (ConstraintError) Error ¶
func (e ConstraintError) Error() string
type CustomContext ¶ added in v1.3.0
func NewCustomContext ¶ added in v1.3.0
func NewCustomContext(c context.Context, u jwt.MapClaims) CustomContext
func (CustomContext) User ¶ added in v1.3.0
func (c CustomContext) User() jwt.MapClaims
type CustomValidator ¶ added in v1.4.0
type CustomValidator struct {
// contains filtered or unexported fields
}
func NewValidator ¶ added in v1.4.0
func NewValidator() CustomValidator
func (CustomValidator) Validate ¶ added in v1.4.0
func (cv CustomValidator) Validate(data interface{}) error
type NotFoundError ¶
type NotFoundError string
func NotFoundErrorf ¶
func NotFoundErrorf(format string, a ...interface{}) NotFoundError
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.