Documentation ¶
Index ¶
- type ZQuit
- func (q *ZQuit) Done()
- func (q *ZQuit) Inc()
- func (q *ZQuit) IncDefer() func()
- func (q *ZQuit) IsQuit() bool
- func (q *ZQuit) Middleware(c *gin.Context)
- func (q *ZQuit) Shutdown()
- func (q *ZQuit) Val() int
- func (q *ZQuit) Wait()
- func (q *ZQuit) WaitInterrupt()
- func (q *ZQuit) WaitInterruptPrePost(pre func(), post func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZQuit ¶
type ZQuit struct {
// contains filtered or unexported fields
}
func (*ZQuit) Middleware ¶
func (*ZQuit) WaitInterrupt ¶
func (q *ZQuit) WaitInterrupt()
func (*ZQuit) WaitInterruptPrePost ¶
func (q *ZQuit) WaitInterruptPrePost(pre func(), post func())
Click to show internal directories.
Click to hide internal directories.