lib

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: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	Config            configtypes.Config
	Logger            *logging.Logger
	Database          *core.Database
	Counter           *counter.RateCounter
	LogStores         *logging.LogStore
	OnNewLogsListiner func(*logging.PushLogs)
}

Control -

func (*Control) OnNewLogs

func (cc *Control) OnNewLogs(msg *logging.PushLogs)

OnNewLogs -

func (*Control) Run

func (cc *Control) Run()

Run -

func (*Control) SetConfig

func (cc *Control) SetConfig(cfg configtypes.Config)

SetConfig -

func (*Control) SetLogStore

func (cc *Control) SetLogStore(lsf *logging.LogStore)

SetLogStore -

func (*Control) SetLogger

func (cc *Control) SetLogger(lg *logging.Logger)

SetLogger -

func (*Control) Stats

func (cc *Control) Stats()

Stats -

type Gateway

type Gateway struct {
	Rates      *rates.Rates
	Brokers    *brokers.Brokers
	Strategy   *strategy.Strategy
	Logger     *logging.Logger
	Components *bridge.Components
	Database   *core.Database
}

Gateway -

func (*Gateway) ClearLogs

func (cc *Gateway) ClearLogs(opt controllers.GetLogs)

ClearLogs -

func (*Gateway) Create

func (cc *Gateway) Create()

Create -

func (*Gateway) GetAssetsProvider

func (cc *Gateway) GetAssetsProvider() (data map[string]string)

GetAssetsProvider -

func (*Gateway) GetLogs

func (cc *Gateway) GetLogs(opt controllers.GetLogs) (data []logging.LogsValue)

GetLogs -

Jump to

Keyboard shortcuts

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