appcontext

package
v0.0.0-...-1b34132 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppContext

type AppContext struct {
	RequestID string
	TraceID   string
	Logger    *logger.Logger
	Context   context.Context
}

func New

func New(ctx context.Context) *AppContext

func (*AppContext) AddLogData

func (appCtx *AppContext) AddLogData(fields Fields)

type Fields

type Fields = logger.Fields

Jump to

Keyboard shortcuts

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