rcontext

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogSourceRestate = iota
	LogSourceUser
)

Variables

This section is empty.

Functions

func WithLogContext

func WithLogContext(parent context.Context, logContext *LogContext) context.Context

Types

type LogContext

type LogContext struct {
	Source      LogSource
	IsReplaying bool
}

func LogContextFrom

func LogContextFrom(ctx context.Context) *LogContext

type LogSource

type LogSource int

Jump to

Keyboard shortcuts

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