runtime

package
v2.271.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRecovered = errors.New("recovered")

ErrRecovered is used to wrap panic values converted to an error.

Module for fx.

Functions

func ConvertRecover

func ConvertRecover(value any) error

ConvertRecover to an error.

func Must

func Must(err error)

Must panics if we have an error.

func RegisterMemLimit

func RegisterMemLimit(logger *slog.Logger)

RegisterMemLimit for runtime.

func Version

func Version() string

Version of the binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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