package
0.1.0
Repository: https://github.com/changsongl/delay-queue.git
Documentation: pkg.go.dev

# Functions

AfterStopEventOption set after stop events.
AllocsHandler will pass the call from /debug/pprof/allocs to pprof.
BeforeStartEventOption set before start events.
BlockHandler will pass the call from /debug/pprof/block to pprof.
CmdlineHandler will pass the call from /debug/pprof/cmdline to pprof.
EnvOption set env for server.
GoroutineHandler will pass the call from /debug/pprof/goroutine to pprof.
HeapHandler will pass the call from /debug/pprof/heap to pprof.
IndexHandler will pass the call from /debug/pprof to pprof.
LoggerOption set logger to server, server uses it to log result of requests.
MutexHandler will pass the call from /debug/pprof/mutex to pprof.
New return a Server based on Options.
ProfileHandler will pass the call from /debug/pprof/profile to pprof.
SymbolHandler will pass the call from /debug/pprof/symbol to pprof.
ThreadCreateHandler will pass the call from /debug/pprof/threadcreate to pprof.
TraceHandler will pass the call from /debug/pprof/trace to pprof.
WrapGroup adds several routes from package `net/http/pprof` to *gin.RouterGroup object.
WrapPProf Wrap adds several routes from package `net/http/pprof` to *gin.Engine object.

# Interfaces

Server interface for a basic method of http web server, which can be ran in few step.

# Type aliases

Event common event function can be ran before server start, or after server stop.
Option is a function to the server for setting options.
RouterFunc is a function resgiter handler to gin.Engine.