Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDataRaw ¶
type BlockDataResult ¶
type BlockDataResult struct { Result BlockDataRaw `json:"result"` Error ErrMsg `json:"error"` }
type BlockNumberResult ¶
type GethClient ¶
type GethClient struct {
// contains filtered or unexported fields
}
func NewGethClient ¶
func NewGethClient(ep string, bdCh chan<- *BlockData, stopc chan struct{}) *GethClient
func (*GethClient) PostRequest ¶
func (g *GethClient) PostRequest(blockNumberReq string) (*http.Response, error)
func (*GethClient) Start ¶
func (g *GethClient) Start()
func (*GethClient) Stop ¶
func (g *GethClient) Stop()
Click to show internal directories.
Click to hide internal directories.