finder

package
v0.0.2-pre Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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