finder

package
v1.4.0-dev-20240819 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvFinder

type EnvFinder struct {
	// contains filtered or unexported fields
}

func NewEnvFinder

func NewEnvFinder(prefix string) *EnvFinder

func (*EnvFinder) Get

func (f *EnvFinder) Get(camelEnvName string, defaultVal string) string

func (*EnvFinder) GetDuration

func (f *EnvFinder) GetDuration(camelEnvName string, defaultVal time.Duration) time.Duration

func (*EnvFinder) GetInt

func (f *EnvFinder) GetInt(camelEnvName string, defaultVal int) int

Jump to

Keyboard shortcuts

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