mrctx

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CorrelationID added in v0.7.0

func CorrelationID(ctx context.Context) string

func Locale

func Locale(ctx context.Context) *mrlang.Locale

func Logger

func Logger(ctx context.Context) mrcore.Logger

func WithClientTools added in v0.8.0

func WithClientTools(
	ctx context.Context,
	correlationID string,
	logger mrcore.Logger,
	locale *mrlang.Locale,
	validator mrcore.Validator,
) context.Context

Types

type ClientTools added in v0.8.0

type ClientTools struct {
	CorrelationID string
	Logger        mrcore.Logger
	Locale        *mrlang.Locale
	Validator     mrcore.Validator
}

func GetClientTools added in v0.8.0

func GetClientTools(ctx context.Context) (ClientTools, error)

Jump to

Keyboard shortcuts

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