Documentation
¶
Overview ¶
Package cfg contains configuration helpers for RUN-DSP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPersistentFlag ¶
AddPersistentFlag adds a persistent flag `flag“, with default `def“ and usage message `usage`, and it will also bind the flag to the viper `configKey`.
func CheckConnectAddr ¶
CheckConnectAddr checks if it's possible to connect to a TCP address, and will return an error if anything is wrong.
func CheckFilesExist ¶
CheckFilesExist checks if the given files exist, and are not directories.
func CheckListenPort ¶
CheckListenPort checks if it's possible to listen on an address/port combination, and will return an error if anything is wrong.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.