context

package
v0.9.5-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPauseFuncToCtx

func AddPauseFuncToCtx(ctx context.Context, pauseF func() func()) context.Context

func GetEnv added in v0.8.2

func GetEnv(ctx context.Context) []string

func GetLogger added in v0.7.1

func GetLogger(ctx context.Context) mvl.Logger

func GetPauseFuncFromCtx

func GetPauseFuncFromCtx(ctx context.Context) func() func()

func GetRequestID added in v0.7.1

func GetRequestID(ctx context.Context) string

func WithEnv added in v0.8.2

func WithEnv(ctx context.Context, env []string) context.Context

func WithLogger added in v0.7.1

func WithLogger(ctx context.Context, log mvl.Logger) context.Context

func WithNewRequestID added in v0.7.1

func WithNewRequestID(ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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