contextex

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Values

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

func (Values) Delete

func (v Values) Delete(key interface{})

func (Values) Get

func (v Values) Get(key interface{}) (i interface{}, b bool)

func (Values) Set

func (v Values) Set(key, val interface{})

type ValuesContext

type ValuesContext struct {
	context.Context
}

func NewValuesContext

func NewValuesContext(ctx context.Context) *ValuesContext

func (*ValuesContext) Delete

func (c *ValuesContext) Delete(key interface{})

func (*ValuesContext) Get

func (c *ValuesContext) Get(key interface{}) (interface{}, bool)

func (*ValuesContext) Set

func (c *ValuesContext) Set(key, val interface{})

Jump to

Keyboard shortcuts

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