Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WGroup ¶ added in v0.6.0
type WGroup struct { Name string `mapstructure:"group"` TelegramChatID int64 `mapstructure:"telegram_chat_id"` ReplyToMessageID int `mapstructure:"telegram_reply_to_message_id"` AdditionalChatIDs []*ChatID `mapstructure:"telegram_chat_ids"` Users []*WUser `mapstructure:"users"` Wallets []*wallet.Wallet `mapstructure:"wallets"` }
type Watcher ¶
type Watcher struct { Groups map[string]*WGroup UserAddresses map[common.Address]*WGroup WalletAddresses map[common.Address]*WGroup WatchUsers WatcherUsers }
func (*Watcher) ContainsAddressFromSlice ¶
type WatcherUsers ¶
func (*WatcherUsers) Contains ¶
func (wu *WatcherUsers) Contains(address common.Address) bool
Contains returns true if the given string is in the slice.
func (*WatcherUsers) ContainsOneOf ¶
Click to show internal directories.
Click to hide internal directories.