Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommitHash = os.Getenv(daemonCommitHashEnv)
CommitHash is the hash of the idv dataset commit to use
View Source
var Dataset = os.Getenv(daemonDatasetEnv)
Dataset is the idv dataset to use
View Source
var URL = os.Getenv(daemonURLEnv)
URL is the URL at which to reach the idv daemon
Functions ¶
func VerifyDaemonEnvs ¶ added in v0.4.0
func VerifyDaemonEnvs() error
VerifyDaemonEnvs checks whether each of the environment variables returned a non-empty value
Types ¶
type Config ¶
Config is a structure holding necessary info for interaction with an idv daemon
func NewDaemonConfig ¶
NewDaemonConfig initiates a new daemon configuration with all its necessary information
func NewDaemonConfigFromEnv ¶
func NewDaemonConfigFromEnv() Config
NewDaemonConfigFromEnv uses environment variables to initialize a new DaemonConfig
Click to show internal directories.
Click to hide internal directories.