history

package
v0.14.17 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 13 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 {
	Exchange hs.ExchangeConf
	Mongo    hs.MongoConf
	History  hs.HistoryConf
}

type History

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

func New

func New(configFilename string) *History

func (*History) Close

func (h *History) Close(ctx context.Context)

func (*History) Export

func (h *History) Export(ctx context.Context, start, end, csvfile string) error

func (*History) Init

func (h *History) Init(ctx context.Context)

func (*History) Pull

func (h *History) Pull(ctx context.Context) error

Jump to

Keyboard shortcuts

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