context

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 1 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
	// contains filtered or unexported fields
}

func Background

func Background() *Context

func WithValue

func WithValue(parent *Context, key, val interface{}) *Context

func (*Context) Get

func (c *Context) Get() interface{}

func (*Context) Set

func (c *Context) Set(val interface{})

func (*Context) Value

func (c *Context) Value(key interface{}) interface{}

Jump to

Keyboard shortcuts

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