graviex

package
v0.0.0-...-e9fdc67 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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 Service

type Service struct {
	MarketRateURL string
}

Service is a common structure for a exchange

func InitService

func InitService() *Service

InitService is used to safely start a new service reference.

func (*Service) CoinMarketOrders

func (s *Service) CoinMarketOrders(coin string) (orders map[string][]models.MarketOrder, err error)

CoinMarketOrders is used to get the market sell and buy wall from a coin

Jump to

Keyboard shortcuts

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