exchanges

package
v0.0.0-...-cddd04e Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: ISC Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableLog

func DisableLog()

DisableLog disables all library log output. Logging output is disabled by default until UseLogger is called.

func UseLogger

func UseLogger(logger slog.Logger)

UseLogger uses a specified Logger to output package logging info.

Types

type TickHub

type TickHub struct {
	// contains filtered or unexported fields
}

func NewTickHub

func NewTickHub(ctx context.Context, disabledexchanges []string, store ticks.Store) (*TickHub, error)

func (*TickHub) CollectAll

func (hub *TickHub) CollectAll(ctx context.Context)

func (*TickHub) CollectHistoric

func (hub *TickHub) CollectHistoric(ctx context.Context)

func (*TickHub) CollectLong

func (hub *TickHub) CollectLong(ctx context.Context)

func (*TickHub) CollectShort

func (hub *TickHub) CollectShort(ctx context.Context)

func (*TickHub) Run

func (hub *TickHub) Run(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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