runtime

package
v2.90.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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 RegisterMaxProcs

func RegisterMaxProcs(logger *slog.Logger)

RegisterMaxProcs for runtime.

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