endpoints

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2018 License: GPL-3.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLimit

func GetLimit(limit string) int

func GetUser

func GetUser(user string) *types.Address

Types

type History

type History struct {
	History history.History
}

func (*History) Handle

func (ep *History) Handle(rw http.ResponseWriter, r *http.Request) error

type Markets

type Markets struct {
	Markets markets.Markets
}

func (*Markets) GetMarkets

func (ep *Markets) GetMarkets(rw http.ResponseWriter, r *http.Request) error

type Orders

type Orders struct {
	OrderBook        orderbook.OrderBook
	BalanceValidator validators.BalanceValidator
	Vault            *contracts.Vault
}

func (*Orders) CreateOrder

func (ep *Orders) CreateOrder(rw http.ResponseWriter, r *http.Request) error

func (*Orders) GetOrder

func (ep *Orders) GetOrder(rw http.ResponseWriter, r *http.Request) error

func (*Orders) GetOrderBook

func (ep *Orders) GetOrderBook(rw http.ResponseWriter, r *http.Request) error

func (*Orders) GetOrders

func (ep *Orders) GetOrders(rw http.ResponseWriter, r *http.Request) error

type Ticks

type Ticks struct {
	Ticks ticks.Ticks
}

func (*Ticks) GetTicks

func (ep *Ticks) GetTicks(rw http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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