feat: Add offline/online workers notifications (#1)
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
47eed6fbee
commit
c4f3854861
8 changed files with 175 additions and 6 deletions
|
@ -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
|
||||
|
|
Reference in a new issue