endpoints

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeAccountResource

func ServeAccountResource(
	r *mux.Router,
	accountService interfaces.AccountService,
)

func ServeDepositResource

func ServeDepositResource(
	r *mux.Router,
	depositService interfaces.DepositService,
	walletService interfaces.WalletService,
	txService interfaces.TxService,
)

func ServeInfoResource

func ServeInfoResource(
	r *mux.Router,
	walletService interfaces.WalletService,
	tokenService interfaces.TokenService,
)

func ServeMarketsResource

func ServeMarketsResource(
	r *mux.Router,
	marketsService interfaces.MarketsService,
)

ServeTokenResource sets up the routing of token endpoints and the corresponding handlers.

func ServeOHLCVResource

func ServeOHLCVResource(
	r *mux.Router,
	ohlcvService interfaces.OHLCVService,
)

func ServeOrderBookResource

func ServeOrderBookResource(
	r *mux.Router,
	orderBookService interfaces.OrderBookService,
)

ServePairResource sets up the routing of pair endpoints and the corresponding handlers.

func ServeOrderResource

func ServeOrderResource(
	r *mux.Router,
	orderService interfaces.OrderService,
	accountService interfaces.AccountService,
)

ServeOrderResource sets up the routing of order endpoints and the corresponding handlers.

func ServePairResource

func ServePairResource(
	r *mux.Router,
	p interfaces.PairService,
)

ServePairResource sets up the routing of pair endpoints and the corresponding handlers.

func ServePriceBoardResource

func ServePriceBoardResource(
	r *mux.Router,
	priceBoardService interfaces.PriceBoardService,
)

ServeTokenResource sets up the routing of token endpoints and the corresponding handlers.

func ServeTokenResource

func ServeTokenResource(
	r *mux.Router,
	tokenService interfaces.TokenService,
)

ServeTokenResource sets up the routing of token endpoints and the corresponding handlers.

func ServeTradeResource

func ServeTradeResource(
	r *mux.Router,
	tradeService interfaces.TradeService,
)

ServeTradeResource sets up the routing of trade endpoints and the corresponding handlers. TODO trim down to one single endpoint with the 3 following params: base, quote, address

Types

type AccountEndpoint

type AccountEndpoint struct {
	AccountService interfaces.AccountService
}

type MarketsEndpoint

type MarketsEndpoint struct {
	MarketsService interfaces.MarketsService
}

type OHLCVEndpoint

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

type OrderBookEndpoint

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

type PriceBoardEndpoint

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

Jump to

Keyboard shortcuts

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