quote

package
v0.0.0-...-c167260 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuoteWrapper

func NewQuoteWrapper(args ...interface{}) plugin.Wrapper

Types

type Body

type Body struct {
	GetLastTradePrice LastTradePrice
}

type LastTradePrice

type LastTradePrice struct {
	Symbol string
}

type LastTradePriceResponse

type LastTradePriceResponse struct {
	Price string
}

type QuoteEnvelope

type QuoteEnvelope struct {
	XMLName xml.Name `xml:"Envelope"`
	Body    Body
}

type QuoteWrapper

type QuoteWrapper struct{}

func (QuoteWrapper) Wrap

func (lw QuoteWrapper) Wrap(h http.Handler) http.Handler

type ResponseBody

type ResponseBody struct {
	XMLName                   xml.Name `xml:"Body"`
	GetLastTradePriceResponse LastTradePriceResponse
}

type ResponseEnvelope

type ResponseEnvelope struct {
	XMLName xml.Name `xml:"Envelope"`
	Body    ResponseBody
}

Jump to

Keyboard shortcuts

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