Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.10.0
type Config struct { Ghost feedConfig.Config `hcl:"ghost,block"` Gofer priceproviderConfig.Config `hcl:"gofer,block"` Ethereum ethereumConfig.Config `hcl:"ethereum,block"` 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 ¶ added in v0.10.0
type Services struct { Feed *feed.Feed Transport pkgTransport.Service 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.