trace

package
v0.0.0-...-29c100b Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableTracing = true

EnableTracing controls whether to trace using the golang.org/x/net/trace package.

Functions

func Init

func Init(enableTracing bool, checkip bool)

func TraceErrorf

func TraceErrorf(pt *ProxyTrace, format string, a ...interface{})

func TraceFinish

func TraceFinish(pt *ProxyTrace)

func TracePrintf

func TracePrintf(pt *ProxyTrace, format string, a ...interface{})

Types

type ProxyTrace

type ProxyTrace struct {
	// contains filtered or unexported fields
}

ProxyTrace 跟踪

func TraceStart

func TraceStart(family, title string) *ProxyTrace

TraceStart 开始跟踪

Jump to

Keyboard shortcuts

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