context

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Logger   *slog.Logger
	LogLevel *slog.LevelVar
	Config   *config.Config
	Clock    clockwork.Clock
	Fs       afero.Fs
	// contains filtered or unexported fields
}

func DefaultContext

func DefaultContext() *Context

func TestContext

func TestContext(logBuffer io.Writer) *Context

func (*Context) Cancel

func (c *Context) Cancel()

func (*Context) Done

func (c *Context) Done() <-chan bool

Jump to

Keyboard shortcuts

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