Documentation ¶
Index ¶
Constants ¶
View Source
const BOARDPATH = "/v1/getboardstate"
View Source
const EXCHENGEPATH = "/v1/gethealth"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestForBoard ¶
type RequestForBoard struct {
ProductCode types.ProductCode `json:"product_code" url:"product_code"`
}
func NewForBoard ¶
func NewForBoard(product types.ProductCode) *RequestForBoard
func (*RequestForBoard) Method ¶
func (p *RequestForBoard) Method() string
func (*RequestForBoard) Path ¶
func (p *RequestForBoard) Path() string
func (*RequestForBoard) Payload ¶
func (p *RequestForBoard) Payload() []byte
func (*RequestForBoard) Query ¶
func (p *RequestForBoard) Query() string
type RequestForExchange ¶
type RequestForExchange struct {
ProductCode types.ProductCode `json:"product_code" url:"product_code"`
}
func NewForExchange ¶
func NewForExchange(product types.ProductCode) *RequestForExchange
func (*RequestForExchange) Method ¶
func (p *RequestForExchange) Method() string
func (*RequestForExchange) Path ¶
func (p *RequestForExchange) Path() string
func (*RequestForExchange) Payload ¶
func (p *RequestForExchange) Payload() []byte
func (*RequestForExchange) Query ¶
func (p *RequestForExchange) Query() string
Click to show internal directories.
Click to hide internal directories.