config

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext[T any](ctx context.Context) (T, bool)

func NewContext

func NewContext[T any](ctx context.Context, config T) (context.Context, error)

func Provider

func Provider[T any](config T) func(ctx context.Context) (context.Context, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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