Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorEmptyLogger = errors.New("options hasn't logger")
)
Functions ¶
This section is empty.
Types ¶
type Logic ¶
type Logic struct {
Opts Options
}
func (*Logic) Recover ¶
func (c *Logic) Recover() echo.MiddlewareFunc
type LogicError ¶
func NewError ¶
func NewError(code int, message string) *LogicError
func NewErrorf ¶
func NewErrorf(code int, format string, a ...interface{}) *LogicError
func (*LogicError) Error ¶
func (err *LogicError) Error() string
Click to show internal directories.
Click to hide internal directories.