Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeServer ¶
type ExchangeServer struct {
// contains filtered or unexported fields
}
func NewExchangeServer ¶
func NewExchangeServer() *ExchangeServer
NewExchangeServer creates a new ExchangeServer that can be used to fake price data from exchanges. This server responds queries for the test exchange built into the pricefeed daemon and for bitfinex. It is appropriate to run locally or on containers.
func (*ExchangeServer) CleanUp ¶
func (p *ExchangeServer) CleanUp() error
CleanUp shuts down the server and validates that it shut down correctly.
Click to show internal directories.
Click to hide internal directories.