Versions in this module Expand all Collapse all v0 v0.1.1 Dec 19, 2016 v0.1.0 Dec 15, 2016 Changes in this version + type Client interface + Block func(height int) (*ctypes.ResultBlock, error) + BlockchainInfo func(minHeight, maxHeight int) (*ctypes.ResultBlockchainInfo, error) + BroadcastTxAsync func(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + BroadcastTxCommit func(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + BroadcastTxSync func(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + DialSeeds func(seeds []string) (*ctypes.ResultDialSeeds, error) + Genesis func() (*ctypes.ResultGenesis, error) + NetInfo func() (*ctypes.ResultNetInfo, error) + Status func() (*ctypes.ResultStatus, error) + Subscribe func(event string) error + TMSPInfo func() (*ctypes.ResultTMSPInfo, error) + TMSPQuery func(query []byte) (*ctypes.ResultTMSPQuery, error) + Unsubscribe func(event string) error + Validators func() (*ctypes.ResultValidators, error) + type LightClient struct + func New(remote, wsEndpoint string) *LightClient + func (c *LightClient) Block(height int) (*ctypes.ResultBlock, error) + func (c *LightClient) BlockchainInfo(minHeight, maxHeight int) (*ctypes.ResultBlockchainInfo, error) + func (c *LightClient) BroadcastTxAsync(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c *LightClient) BroadcastTxCommit(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c *LightClient) BroadcastTxSync(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c *LightClient) DialSeeds(seeds []string) (*ctypes.ResultDialSeeds, error) + func (c *LightClient) Genesis() (*ctypes.ResultGenesis, error) + func (c *LightClient) GetEventChannels() (chan json.RawMessage, chan error) + func (c *LightClient) NetInfo() (*ctypes.ResultNetInfo, error) + func (c *LightClient) StartWebsocket() error + func (c *LightClient) Status() (*ctypes.ResultStatus, error) + func (c *LightClient) StopWebsocket() + func (c *LightClient) Subscribe(event string) error + func (c *LightClient) TMSPInfo() (*ctypes.ResultTMSPInfo, error) + func (c *LightClient) TMSPQuery(query []byte) (*ctypes.ResultTMSPQuery, error) + func (c *LightClient) Unsubscribe(event string) error + func (c *LightClient) Validators() (*ctypes.ResultValidators, error)