env

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package env provides small helpers for parsing validated environment overrides used across the SDK runtime.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDuration

func GetDuration(key string, defaultValue time.Duration) time.Duration

GetDuration parses a duration from an environment variable, returning defaultValue if unset or invalid.

func GetInt

func GetInt(key string, defaultValue int) int

GetInt parses an integer from an environment variable, returning defaultValue if unset or invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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