rates

package
v0.0.0-...-8ecc595 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 17 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          *logger.Logger
	Database        *maindb.Database
	Provider        sync.Map
	ProviderPlugins sync.Map
	ProviderAssets  sync.Map
	ProviderConfig  sync.Map
	RegisterServer  func() *rpc2.Server
	GatewayAddress  func() rpc.GatewayAddress
	Server          *rpc2.Server
	Config          []config.RatesModules
	Components      *components.Components
}

Rates -

func (*Rates) Create

func (cc *Rates) Create()

Create -

func (*Rates) GetStats

func (cc *Rates) GetStats() (ssd []monitor.AllStats)

GetStats -

func (*Rates) OnConnected

func (cc *Rates) OnConnected(scope, id string)

OnConnected -

func (*Rates) OnDisconnected

func (cc *Rates) OnDisconnected(scope, id string)

OnDisconnected -

func (*Rates) Start

func (cc *Rates) Start()

Start -

type SetToken

type SetToken struct {
	Token string `json:"token"`
}

SetToken -

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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