rates

package
v0.0.0-...-852338e Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Error interface{} `json:"error"`
	Data  []byte      `json:"data"`
}

Message -

type Rates

type Rates struct {
	Logger                  *logging.Logger
	Database                *bridge.Database
	Counter                 *counter.RateCounter
	LogStore                *logging.LogStore
	Strategy                bridge.IStrategy
	Stores                  *rates.Stores
	Config                  []config.RatesModules
	Components              *bridge.Components
	OnRatesUpdate           sync.Map
	RegisterModulesResponse func(id string, call func(string, interface{}) (interface{}, bool))
	DBLocation              string
}

Rates -

func (*Rates) Create

func (cc *Rates) Create()

Create -

func (*Rates) GetAssetData

func (cc *Rates) GetAssetData(name string) (val interface{})

GetAssetData -

func (*Rates) GetPoints

func (cc *Rates) GetPoints(name string, opt rates.CandleRequest) (data map[int][]rates.Points, err error)

GetPoints -

func (*Rates) RunModules

func (cc *Rates) RunModules()

RunModules -

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

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