Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultSnapshotInterval = time.Second * 30
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader interface { Init(enabledExchanges ...string) error Run(ctx context.Context) error Stop() Close() error }
func NewSnapshotDownloader ¶
type SnapshotDownloader ¶
type SnapshotDownloader struct {
// contains filtered or unexported fields
}
func (*SnapshotDownloader) Close ¶
func (s *SnapshotDownloader) Close() error
func (*SnapshotDownloader) Init ¶
func (s *SnapshotDownloader) Init(enabledExchanges ...string) error
func (*SnapshotDownloader) Stop ¶
func (s *SnapshotDownloader) Stop()
type SnapshotDownloaderConfig ¶
type SnapshotDownloaderConfig struct {
ExitOnClose bool
}
Click to show internal directories.
Click to hide internal directories.