package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 21, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package conf defines config options.
ListenAddr return ListenAddr option.
Load load config from envs.
type Conf struct {
ListenAddr string `env:"LISTEN_ADDR" default:":3082"`
Debug bool `env:"DEBUG" default:"false"`
KmsStoreKind kmstypes.StoreKind `env:"KMS_STORE_KIND" default:"ETCD"`
EtcdEndpoints string `env:"ETCD_ENDPOINTS" required:"false"`
}
Conf define config from envs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.