Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EventAPI eventAPIConfig.Config `hcl:"lair,block"` Ethereum *ethereumConfig.Config `hcl:"ethereum,block,optional"` Transport transportConfig.Config `hcl:"transport,block"` Logger *loggerConfig.Config `hcl:"logger,block,optional"` // HCL fields: Remain hcl.Body `hcl:",remain"` // To ignore unknown blocks. Content hcl.BodyContent `hcl:",content"` }
Config is the configuration for Lair.
type Services ¶
type Services struct { Transport pkgTransport.Service EventStore *store.EventStore EventAPI *api.EventAPI Logger log.Logger // contains filtered or unexported fields }
Services returns the services that are configured from the Config struct.
Click to show internal directories.
Click to hide internal directories.