Documentation
¶
Overview ¶
Package config implements global configuration options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChurpConfig ¶ added in v0.2400.0
type ChurpConfig struct {
// Schemes is a list of CHURP scheme configurations.
Schemes []ChurpSchemeConfig `yaml:"schemes,omitempty"`
}
ChurpConfig holds configuration details for the CHURP extension.
type ChurpSchemeConfig ¶ added in v0.2400.0
type ChurpSchemeConfig struct {
// ID is the unique identifier of the CHURP scheme.
ID uint8 `yaml:"id,omitempty"`
}
ChurpSchemeConfig holds configuration details for a CHURP scheme.
type Config ¶
type Config struct {
// Key manager runtime ID.
RuntimeID string `yaml:"runtime_id"`
// Base64-encoded public keys of unadvertised peers that may call protected methods.
PrivatePeerPubKeys []string `yaml:"private_peer_pub_keys"`
// Churp holds configuration details for the CHURP extension.
Churp ChurpConfig `yaml:"churp,omitempty"`
}
Config is the keymanager worker configuration structure.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns the default configuration settings.
Click to show internal directories.
Click to hide internal directories.