gxcontext

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueContextKeyType added in v1.9.10

type ValueContextKeyType int32

type Values

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

func (Values) Delete

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

func (Values) Get

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

func (Values) Set

func (c Values) Set(key interface{}, value 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 interface{}, value interface{})

Jump to

Keyboard shortcuts

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