Documentation ¶ Index ¶ type Config type Watcher func New(client *near.Client, metrics *metrics.Metrics, config *Config) *Watcher func (w *Watcher) IsSynced() bool func (w *Watcher) Start(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { TrackedAccounts []string RefreshRate time.Duration Writer io.Writer } type Watcher ¶ type Watcher struct { // contains filtered or unexported fields } func New ¶ func New(client *near.Client, metrics *metrics.Metrics, config *Config) *Watcher func (*Watcher) IsSynced ¶ added in v0.5.0 func (w *Watcher) IsSynced() bool func (*Watcher) Start ¶ func (w *Watcher) Start(ctx context.Context) error Source Files ¶ View all Source files config.go utils.go watcher.go Click to show internal directories. Click to hide internal directories.