dix_trace

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Trace

func Trace() error

func With added in v0.1.5

func With(fn func(ctx *TraceCtx))

Types

type TraceCtx

type TraceCtx struct{ dix.Model }

func (TraceCtx) Float added in v0.1.7

func (t TraceCtx) Float(name string, data float64)

func (TraceCtx) Func added in v0.1.7

func (t TraceCtx) Func(name string, data func() interface{})

func (TraceCtx) Int added in v0.1.7

func (t TraceCtx) Int(name string, data int64)

func (TraceCtx) Publish added in v0.1.7

func (t TraceCtx) Publish(name string, v expvar.Var)

func (TraceCtx) String added in v0.1.7

func (t TraceCtx) String(name string, data string)

type Var added in v0.1.7

type Var = expvar.Var

Jump to

Keyboard shortcuts

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