zquit

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

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 New

func New() *ZQuit

func (*ZQuit) Done

func (q *ZQuit) Done()

func (*ZQuit) Inc

func (q *ZQuit) Inc()

func (*ZQuit) IncDefer

func (q *ZQuit) IncDefer() func()

func (*ZQuit) IsQuit

func (q *ZQuit) IsQuit() bool

func (*ZQuit) Middleware

func (q *ZQuit) Middleware(c *gin.Context)

func (*ZQuit) Shutdown

func (q *ZQuit) Shutdown()

func (*ZQuit) Val

func (q *ZQuit) Val() int

func (*ZQuit) Wait

func (q *ZQuit) Wait()

func (*ZQuit) WaitInterrupt

func (q *ZQuit) WaitInterrupt()

func (*ZQuit) WaitInterruptPrePost

func (q *ZQuit) WaitInterruptPrePost(pre func(), post func())

Jump to

Keyboard shortcuts

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