log

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithEventID

func WithEventID(ctx context.Context, eventID id.EventID) context.Context

func WithRequestID

func WithRequestID(ctx context.Context, requestID string) context.Context

func WithRoomID

func WithRoomID(ctx context.Context, roomID id.RoomID) context.Context

Types

type ContextKey

type ContextKey int
const (
	ContextKeyJobID ContextKey = iota
	ContextKeyJobAttempt
	ContextKeyEventID
	ContextKeyRoomID
	ContextKeyRequestID
)

type RiverLogContextMiddleware

type RiverLogContextMiddleware struct{ river.MiddlewareDefaults }

func (RiverLogContextMiddleware) Work

Jump to

Keyboard shortcuts

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