vearchhttp

package
v0.0.0-...-7b3ddb2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Timeout    = "timeout"
	CancelFunc = "__cancelFunc"
	Ctx        = "__ctx"
	Start      = "__start_time"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHandler

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

func NewBaseHandler

func NewBaseHandler(timeout int64) *BaseHandler

func (*BaseHandler) PaincHandler

func (b *BaseHandler) PaincHandler(c *gin.Context)

func (*BaseHandler) TimeOutEndHandler

func (b *BaseHandler) TimeOutEndHandler(c *gin.Context)

func (*BaseHandler) TimeOutHandler

func (b *BaseHandler) TimeOutHandler(c *gin.Context)

func (*BaseHandler) Timeout

func (bh *BaseHandler) Timeout() int64

Jump to

Keyboard shortcuts

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