Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int Mainnet NetworkConfig Florencenet NetworkConfig LogLevel string `envconfig:"LOG_LEVEL"` Production bool CounterIntervalSeconds int SnapshotCheckIntervalMinutes int FutureRightsIntervalMinutes int VotingRollsIntervalMinutes int DoubleBakingCheckIntervalMinutes int DoubleEndorsementCheckIntervalMinutes int BakerRegistryCheckIntervalMinutes int AssetsParseIntervalMinutes int IPFSClient string NFTTokensParseIntervalSeconds int InfoWSEventsIntervalMinutes int SmtpHost string SmtpPort int SmtpUser string SmtpPassword string ThirdPartyBakersIntervalMinutes int BakersSocialMediaHours int WhalesUpdatesIntervalMinutes int }
Config stores the required configuration.
type DbLogger ¶
type DbLogger struct{}
DbLogger is a simple log wrapper for use with gorm and logrus.
type NetworkConfig ¶
type NetworkConfig struct { SqlConnectionString string NodeRpc client.TransportConfig }
Click to show internal directories.
Click to hide internal directories.