gxcontext

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 5 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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