tkPresentationMiddleware

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogHandlerLogLevelEnvVarName string = "LOG_LEVEL"
)

Variables

This section is empty.

Functions

func ApiPanicHandler

func ApiPanicHandler(subsequentHandler echo.HandlerFunc) echo.HandlerFunc

func CliPanicHandler

func CliPanicHandler()

@attention CliPanicHandler MUST be used as a defer statement.

Types

type LogHandler

type LogHandler struct {
}

func (LogHandler) Init

func (logHandler LogHandler) Init()

func (LogHandler) ReadLevel

func (LogHandler) ReadLevel() string

func (LogHandler) SetLevel

func (LogHandler) SetLevel(logLevel string)

type PanicReport

type PanicReport struct {
	RecoverErr        error
	StackTrace        string
	RequestUri        string
	OperatorIpAddress string
}

Jump to

Keyboard shortcuts

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