trace

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	context.Context
}

func NewWithCtx

func NewWithCtx(ctx context.Context) *Context

func (*Context) Get

func (t *Context) Get(key string) interface{}

func (*Context) GetString

func (t *Context) GetString(key string) string

func (*Context) GetTraceId

func (t *Context) GetTraceId() string

func (*Context) Logger

func (t *Context) Logger() *logrus.Entry

func (*Context) Set

func (t *Context) Set(key string, val interface{})

func (*Context) SetTraceId

func (t *Context) SetTraceId(traceId string)

Jump to

Keyboard shortcuts

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