Documentation ¶
Index ¶
- Variables
- func GetFamilyDetailString(family string, bucket int) string
- func GetFamilyTotalString(family string) string
- func Init(enableTracing bool, checkip bool)
- func TraceErrorf(pt *ProxyTrace, format string, a ...interface{})
- func TraceFinish(pt *ProxyTrace)
- func TraceFinishWithExpvar(pt *ProxyTrace, traceDefer func(*expvar.Map, int64))
- func TracePrintf(pt *ProxyTrace, format string, a ...interface{})
- type ProxyTrace
Constants ¶
This section is empty.
Variables ¶
View Source
var EnableTracing = false
EnableTracing controls whether to trace using the golang.org/x/net/trace package.
Functions ¶
func GetFamilyDetailString ¶
func GetFamilyTotalString ¶
func TraceErrorf ¶
func TraceErrorf(pt *ProxyTrace, format string, a ...interface{})
func TraceFinish ¶
func TraceFinish(pt *ProxyTrace)
func TraceFinishWithExpvar ¶
func TraceFinishWithExpvar(pt *ProxyTrace, traceDefer func(*expvar.Map, int64))
func TracePrintf ¶
func TracePrintf(pt *ProxyTrace, format string, a ...interface{})
Types ¶
type ProxyTrace ¶
type ProxyTrace struct {
// contains filtered or unexported fields
}
ProxyTrace 跟踪
Click to show internal directories.
Click to hide internal directories.