Documentation ¶
Index ¶
- func CallerName(skip int) timerOpt
- func Log(t *Timer)
- func Name(name string) func(*Timer)
- func ScopeTimer(opts ...timerOpt) func()
- func ScopeTimerErr(err *error) func()
- func ScopeTimerOk(ok *bool) func()
- func WriteEventsTable(w io.Writer)
- type Event
- type NamedEvent
- type TimedLocker
- type TimedRWLocker
- type Timer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallerName ¶
func CallerName(skip int) timerOpt
func ScopeTimer ¶
func ScopeTimer(opts ...timerOpt) func()
func ScopeTimerErr ¶
func ScopeTimerErr(err *error) func()
func ScopeTimerOk ¶
func ScopeTimerOk(ok *bool) func()
func WriteEventsTable ¶
Types ¶
type Event ¶
type NamedEvent ¶
type TimedLocker ¶
func (*TimedLocker) Lock ¶
func (me *TimedLocker) Lock()
func (*TimedLocker) Unlock ¶
func (me *TimedLocker) Unlock()
type TimedRWLocker ¶
func (*TimedRWLocker) Lock ¶
func (me *TimedRWLocker) Lock()
func (*TimedRWLocker) RLock ¶
func (me *TimedRWLocker) RLock()
func (*TimedRWLocker) RUnlock ¶
func (me *TimedRWLocker) RUnlock()
func (*TimedRWLocker) Unlock ¶
func (me *TimedRWLocker) Unlock()
Click to show internal directories.
Click to hide internal directories.