internal

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(value any, name string) (bool, bool, error)

func BoolFromString

func BoolFromString(value string) (bool, error)

func CopyStringMap

func CopyStringMap[T any](input map[string]T) map[string]T

func Duration

func Duration(value any, name string) (time.Duration, bool, error)

func Float64

func Float64(value any, name string) (float64, bool, error)

func Int

func Int(value any, name string) (int64, bool, error)

func IsNilInterface

func IsNilInterface(value any) bool

func MapStringString

func MapStringString(value any, name string) (map[string]string, bool, error)

func NewEventListenerContext

func NewEventListenerContext(
	eventName string,
	eventType string,
	listenerName string,
	listenerType string,
	listenerPriority int,
	durationMs int64,
) loggingcontract.Context

func NewEventListenerPanicContext

func NewEventListenerPanicContext(
	baseContext loggingcontract.Context,
	panicValue any,
	panicType string,
	panicStack string,
) loggingcontract.Context

func ParseError

func ParseError(
	parameterName string,
	expectedType string,
	value any,
	causeErr error,
) *exception.Error

func StringifyType

func StringifyType(value any) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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