Documentation
¶
Overview ¶
Package util provides helper functions for common components configuration.
This package is a work in progress and makes no API stability promises.
Index ¶
- func BindViper(v *viper.Viper, pflagKey string)
- func DirExists(dirname string) bool
- func FileExists(filename string) bool
- func GetFilesDB(extension string, listFiles []string, listDirs []string) ([]string, error)
- func IsValid(value string, valid []string) bool
- func Listener(uri string) (net.Listener, error)
- func ParseListenURI(s string) (proto string, addr string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFilesDB ¶
GetFilesDB returns files with extension the extension passed from the lists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.