Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedToLoadConfiguration = errors.New("failed to load Spire's configuration")
View Source
var ErrFailedToParsePrivKeySeed = errors.New("failed to parse the privKeySeed field")
View Source
var ErrFailedToReadPassphraseFile = errors.New("failed to read the ethereum password file")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Ethereum Ethereum `json:"ethereum"` P2P P2P `json:"p2p"` RPC RPC `json:"rpc"` Feeds []string `json:"feeds"` Pairs []string `json:"pairs"` }
func (*Config) ConfigureAgent ¶
func (c *Config) ConfigureAgent(deps Dependencies) (*spire.Agent, error)
func (*Config) ConfigureSpire ¶
func (c *Config) ConfigureSpire(deps Dependencies) (*spire.Spire, error)
Click to show internal directories.
Click to hide internal directories.