Peter Kurfer
91f0cf6963
- use `Unmarshal` method of viper - move config loading, defaulting and stuff to config package - move serve to an extra command and move keep only global flags in root command - add startup logic to onInit method in root command - update mocks - clean config structs - adopt changes in plugins - update default config
12 lines
269 B
Go
12 lines
269 B
Go
package config
|
|
|
|
const (
|
|
EndpointsKey = "endpoints"
|
|
OptionsKey = "options"
|
|
|
|
CurveTypeP224 CurveType = "P224"
|
|
CurveTypeP256 CurveType = "P256"
|
|
CurveTypeP384 CurveType = "P384"
|
|
CurveTypeP521 CurveType = "P521"
|
|
CurveTypeED25519 CurveType = "ED25519"
|
|
)
|