env

package module
v0.0.0-...-885d897 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key, fallback string) string

func GetInt

func GetInt(key string, fallback int) int

func LoadFromFiles

func LoadFromFiles(scanPath string, extension string, fParse FuncParseFile) int

func LoadFromFilesDB

func LoadFromFilesDB(dbh *gorm.DB, scanPath string, extension string, fParse FuncParseFileDB) int

func SetDef

func SetDef(value string, fallback string) string

func WaitFile

func WaitFile(filename string, timeout int) bool

Types

type FuncParseFile

type FuncParseFile func(string, []byte) int

type FuncParseFileDB

type FuncParseFileDB func(*gorm.DB, string, []byte) int

Jump to

Keyboard shortcuts

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