Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { NetworkClient pactus.NetworkClient BlockchainClient pactus.BlockchainClient Conn *grpc.ClientConn }
func (*Client) GetNetworkInfo ¶
func (c *Client) GetNetworkInfo() (*pactus.GetNetworkInfoResponse, error)
func (*Client) GetPeerInfo ¶
func (*Client) GetValidatorInfo ¶
func (c *Client) GetValidatorInfo(address string) (*pactus.GetValidatorResponse, error)
Click to show internal directories.
Click to hide internal directories.