Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartNanoWSClient ¶
func StartNanoWSClient(wsUrl string, callbackChan *chan *WSCallbackMsg)
Types ¶
type ConfirmationResponse ¶
type WSCallbackBlock ¶
type WSCallbackBlock struct { Type string `json:"type"` Account string `json:"account"` Previous string `json:"previous"` Representative string `json:"representative"` Balance string `json:"balance"` Link string `json:"link"` LinkAsAccount string `json:"link_as_account"` Work string `json:"work"` Signature string `json:"signature"` Destination string `json:"destination"` Source string `json:"source"` Subtype string `json:"subtype"` }
type WSCallbackMsg ¶
type WSCallbackMsg struct { IsSend string `json:"is_send"` Block WSCallbackBlock `json:"block"` Account string `json:"account"` Hash string `json:"hash"` Amount string `json:"amount"` }
Click to show internal directories.
Click to hide internal directories.