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
Click to show internal directories.
Click to hide internal directories.