Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterServerStopFunc ¶
type AfterServerStopFunc func()
func CloseLogger ¶
func CloseLogger() AfterServerStopFunc
type BeforeServerStartFunc ¶
type BeforeServerStartFunc func() error
func GrowMaxFd ¶
func GrowMaxFd() BeforeServerStartFunc
func InitLogger ¶
func InitLogger() BeforeServerStartFunc
func InitLoggerWithConf ¶
func InitLoggerWithConf(sections ...string) BeforeServerStartFunc
func InitPerfutil ¶
func InitPerfutil() BeforeServerStartFunc
func InitPprof ¶
func InitPprof() BeforeServerStartFunc
func InitTraceLogger ¶
func InitTraceLogger(department, version string) BeforeServerStartFunc
type FuncSetter ¶
type FuncSetter struct {
// contains filtered or unexported fields
}
func NewFuncSetter ¶
func NewFuncSetter() *FuncSetter
func (*FuncSetter) AddAfterServerStopFunc ¶
func (fs *FuncSetter) AddAfterServerStopFunc(fns ...AfterServerStopFunc)
func (*FuncSetter) AddBeforeServerStartFunc ¶
func (fs *FuncSetter) AddBeforeServerStartFunc(fns ...BeforeServerStartFunc)
func (*FuncSetter) RunAfterServerStopFunc ¶
func (fs *FuncSetter) RunAfterServerStopFunc()
func (*FuncSetter) RunBeforeServerStartFunc ¶
func (fs *FuncSetter) RunBeforeServerStartFunc() error
Click to show internal directories.
Click to hide internal directories.