context

package
v0.0.0-...-0f09646 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogInfo

func LogInfo(msg string, fields ...interface{})

func LogInfof

func LogInfof(msg string, args ...interface{})

func WithCancel

func WithCancel(parent T) (T, CancelFunc)

Types

type CancelFunc

type CancelFunc context.CancelFunc

type T

type T struct {
	context.Context
	// contains filtered or unexported fields
}

func Dump

func Dump() T

func From

func From(c context.Context) T

func (*T) GetValue

func (c *T) GetValue(key interface{}) interface{}

func (*T) SetValue

func (c *T) SetValue(key interface{}, value interface{})

Jump to

Keyboard shortcuts

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