context

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context(name string, opts ...ContextOption) *context

Context returns the singleton context

func Exists

func Exists(name string) bool

Types

type ContextOption

type ContextOption func(*context)

Add context option 'WithData'

func WithData

func WithData(data map[string]interface{}) ContextOption

Jump to

Keyboard shortcuts

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