Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdminConfig ¶
type AlarmConfig ¶
type AlarmConfig struct {
IM *IMConfig
}
type Config ¶
type Config struct { Debug *DebugConfig DB *DBConfig Admin *AdminConfig Redis *RedisConfig Contracts []*ContractConf Expiry time.Duration Schedule *ScheduleConfig Ticker *TickerConfig Alarm *AlarmConfig }
type ContractConf ¶
type ContractConf struct { ChainId uint64 EndpointURLs []string PayTokenContractAddr string PayTokenSymbol string PayTokenDecimals uint8 PayTokenBlockNumber uint64 BlockNumberIntervalSeconds uint64 PfTokenContractAddr string PlpAddressPoolContractAddr string LiquidStakingContractAddr string OwnerAddress string OwnerPriKey string MerchantPriKey string }
type DebugConfig ¶
type IMConfig ¶
type IMConfig struct {
Lark *LarkConfig
}
type LarkConfig ¶
type LarkConfig struct {
URL string
}
type RedisClientOpt ¶
type RedisClusterClientOpt ¶
type RedisConfig ¶
type RedisConfig struct { RedisIsCluster bool RedisClient *RedisClientOpt RedisClusterClient *RedisClusterClientOpt Concurrency int Queues map[string]int ProcessIn int MaxRetry int Timeout int Delay int }
type ScheduleConfig ¶
Click to show internal directories.
Click to hide internal directories.