Documentation ¶
Index ¶
Constants ¶
View Source
const ENDPOINT string = "http://www.9gum3.com/feed"
Variables ¶
This section is empty.
Functions ¶
func StringToByte32 ¶
Types ¶
type FeedCorpus ¶
type FeedCorpus struct {
// contains filtered or unexported fields
}
func NewFeedCorpus ¶
func NewFeedCorpus() *FeedCorpus
func (*FeedCorpus) GetFeedFromEndpoint ¶
func (self *FeedCorpus) GetFeedFromEndpoint() (*Price, error)
type Price ¶
type Price struct { Block *big.Int `json:"block_number"` Ask *big.Int `json:"ask_for_1000"` Bid *big.Int `json:"bid_for_1000"` Hash ethereum.Hash `json:"hash"` Nonce *big.Int `json:"nonce"` R [32]byte `json:"r"` S [32]byte `json:"s"` V uint8 `json:"v"` Signer ethereum.Address `json:"signer"` Message string `json:"message"` }
Click to show internal directories.
Click to hide internal directories.