Archived
1
0
Fork 0

feat: Add offline/online workers notifications (#1)

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-10-10 20:56:11 +02:00
commit c4f3854861
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
8 changed files with 175 additions and 6 deletions

View file

@ -24,9 +24,10 @@ type PoolConfig struct {
// MinerConfig to store Miner configuration
type MinerConfig struct {
Address string `yaml:"address"`
EnableBalance bool `yaml:"enable-balance"`
EnablePayments bool `yaml:"enable-payments"`
Address string `yaml:"address"`
EnableBalance bool `yaml:"enable-balance"`
EnablePayments bool `yaml:"enable-payments"`
EnableOfflineWorkers bool `yaml:"enable-offline-workers"`
}
// TelegramConfig to store Telegram configuration