Versions in this module Expand all Collapse all v1 v1.1.2 Sep 16, 2021 Changes in this version + const HeaderBlockchainID + const HeaderCoreID + const HeaderTimeout + var ErrWrongNetwork = errors.New("connected to a peer on a different network") + type Client struct + AccessToken string + BaseURL string + BlockchainID string + BuildTag string + Client *http.Client + CoreID string + Username string + func (c *Client) Call(ctx context.Context, path string, request, response interface{}) error + func (c *Client) CallRaw(ctx context.Context, path string, request interface{}) (io.ReadCloser, error) + type ErrStatusCode struct + ErrorData *httperror.Response + StatusCode int + URL string + func (e ErrStatusCode) Error() string