context

package
v0.0.0-...-dfc44ae Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Background  = context.Background
	WithTimeout = context.WithTimeout
	WithValue   = context.WithValue
)

Functions

func Logger

func Logger(ctx Context) log.Logger

Types

type Context

type Context = context.Context

func WithLogger

func WithLogger(ctx Context, logger log.Logger) Context

Jump to

Keyboard shortcuts

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