Documentation
¶
Index ¶
- type Context
- func (c *Context) Debug(msg ...interface{})
- func (c *Context) Debugf(f string, msg ...interface{})
- func (c *Context) Error(msg ...interface{})
- func (c *Context) Errorf(f string, msg ...interface{})
- func (c *Context) Info(msg ...interface{})
- func (c *Context) Infof(f string, msg ...interface{})
- func (c *Context) WithMetadata(service, method, tracing string, meta map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { *metadata.Metadata //tracker exists throughout the life cycle of the context Trace trace.Trace `json:"trace"` }
func Background ¶
func Background() *Context
func FromMetadata ¶
func NewContext ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.