watcher

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL