filter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrResponse

type ErrResponse struct {
	Message string `json:"message"`
}

ErrResponse err response.

type Filter

type Filter interface {

	// Do run filter, use c.next() to next filter, before is pre logic, after is post logic.
	Do() context.FilterFunc
}

Filter filter interface, used for context.FilterChain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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