handler

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBizHandler

func NewBizHandler() error2.Handler

func NewDBHandler

func NewDBHandler() error2.Handler

func NewUnknownHandler

func NewUnknownHandler() error2.Handler

func NewValidateHandler

func NewValidateHandler(log logger.LogInfoFormat) error2.Handler

Types

type BizHandler

type BizHandler struct {
}

func (*BizHandler) Handle

func (b *BizHandler) Handle(c *gin.Context, err error) bool

func (*BizHandler) Order

func (b *BizHandler) Order() error2.Order

type DBHandler

type DBHandler struct {
}

func (*DBHandler) Handle

func (d *DBHandler) Handle(c *gin.Context, err error) bool

func (*DBHandler) Order

func (d *DBHandler) Order() error2.Order

type UnknownHandler

type UnknownHandler struct {
}

func (*UnknownHandler) Handle

func (u *UnknownHandler) Handle(c *gin.Context, err error) bool

func (*UnknownHandler) Order

func (u *UnknownHandler) Order() error2.Order

type ValidateHandler

type ValidateHandler struct {
	// contains filtered or unexported fields
}

func (*ValidateHandler) Handle

func (v *ValidateHandler) Handle(c *gin.Context, err error) bool

func (*ValidateHandler) Init

func (v *ValidateHandler) Init()

func (*ValidateHandler) Order

func (v *ValidateHandler) Order() error2.Order

Jump to

Keyboard shortcuts

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