Versions in this module Expand all Collapse all v0 v0.1.3 Jun 25, 2022 v0.1.0 Jun 25, 2022 Changes in this version + func NewService(log logging.Logger, version version.Application, nodeID ids.ShortID, ...) (*common.HTTPHandler, error) + type Client struct + func NewClient(uri string, requestTimeout time.Duration) *Client + func (c *Client) GetBlockchainID(alias string) (ids.ID, error) + func (c *Client) GetNetworkID() (uint32, error) + func (c *Client) GetNetworkName() (string, error) + func (c *Client) GetNodeID() (string, error) + func (c *Client) GetNodeIP() (string, error) + func (c *Client) GetNodeVersion() (*GetNodeVersionReply, error) + func (c *Client) GetTxFee() (*GetTxFeeResponse, error) + func (c *Client) IsBootstrapped(chain string) (bool, error) + func (c *Client) Peers() ([]network.PeerID, error) + type GetBlockchainIDArgs struct + Alias string + type GetBlockchainIDReply struct + BlockchainID ids.ID + type GetNetworkIDReply struct + NetworkID json.Uint32 + type GetNetworkNameReply struct + NetworkName string + type GetNodeIDReply struct + NodeID string + type GetNodeIPReply struct + IP string + type GetNodeVersionReply struct + DatabaseVersion string + GitCommit string + VMVersions map[string]string + Version string + type GetTxFeeResponse struct + CreationTxFee json.Uint64 + TxFee json.Uint64 + type Info struct + func (service *Info) GetBlockchainID(_ *http.Request, args *GetBlockchainIDArgs, reply *GetBlockchainIDReply) error + func (service *Info) GetNetworkID(_ *http.Request, _ *struct{}, reply *GetNetworkIDReply) error + func (service *Info) GetNetworkName(_ *http.Request, _ *struct{}, reply *GetNetworkNameReply) error + func (service *Info) GetNodeID(_ *http.Request, _ *struct{}, reply *GetNodeIDReply) error + func (service *Info) GetNodeIP(_ *http.Request, _ *struct{}, reply *GetNodeIPReply) error + func (service *Info) GetNodeVersion(_ *http.Request, _ *struct{}, reply *GetNodeVersionReply) error + func (service *Info) GetTxFee(_ *http.Request, args *struct{}, reply *GetTxFeeResponse) error + func (service *Info) IsBootstrapped(_ *http.Request, args *IsBootstrappedArgs, reply *IsBootstrappedResponse) error + func (service *Info) Peers(_ *http.Request, args *PeersArgs, reply *PeersReply) error + type IsBootstrappedArgs struct + Chain string + type IsBootstrappedResponse struct + IsBootstrapped bool + type PeersArgs struct + NodeIDs []string + type PeersReply struct + NumPeers json.Uint64 + Peers []network.PeerID