Documentation ¶ Index ¶ type Config type Perf func Caller() *Perf func This() *Perf func (p *Perf) EnableLog(enable bool) *Perf func (p *Perf) EnableWarn(enable bool) *Perf func (p *Perf) End() func (p *Perf) Out(detail string) func (p *Perf) Start() *Perf func (p *Perf) WithModel(model string) *Perf func (p *Perf) WithWarn(t int64) *Perf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ added in v1.3.35 type Config struct { DisableLog bool `json:"disableLog" yaml:"disableLog"` DisableWarn bool `json:"disableWarn" yaml:"disableWarn"` } type Perf ¶ type Perf struct { Config // contains filtered or unexported fields } func Caller ¶ added in v0.5.28 func Caller() *Perf func This ¶ added in v0.5.28 func This() *Perf func (*Perf) EnableLog ¶ added in v1.4.6 func (p *Perf) EnableLog(enable bool) *Perf func (*Perf) EnableWarn ¶ added in v1.4.6 func (p *Perf) EnableWarn(enable bool) *Perf func (*Perf) End ¶ func (p *Perf) End() func (*Perf) Out ¶ added in v1.3.35 func (p *Perf) Out(detail string) func (*Perf) Start ¶ func (p *Perf) Start() *Perf func (*Perf) WithModel ¶ func (p *Perf) WithModel(model string) *Perf func (*Perf) WithWarn ¶ func (p *Perf) WithWarn(t int64) *Perf Source Files ¶ View all Source files perf.go Click to show internal directories. Click to hide internal directories.