Documentation
¶
Overview ¶
Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- type Client
- func (c *Client) GetClusterStatus(e *types.GetClusterStatusQueryEnvelope) (*types.GetClusterStatusResponseEnvelope, error)
- func (c *Client) GetConfig(e *types.GetConfigQueryEnvelope) (*types.GetConfigResponseEnvelope, error)
- func (c *Client) GetDBIndex(e *types.GetDBIndexQueryEnvelope) (*types.GetDBIndexResponseEnvelope, error)
- func (c *Client) GetDBStatus(e *types.GetDBStatusQueryEnvelope) (*types.GetDBStatusResponseEnvelope, error)
- func (c *Client) GetData(e *types.GetDataQueryEnvelope) (*types.GetDataResponseEnvelope, error)
- func (c *Client) GetHistoricalData(e *types.GetHistoricalDataQueryEnvelope) (*types.GetHistoricalDataResponseEnvelope, error)
- func (c *Client) GetLastBlockStatus(e *types.GetBlockQueryEnvelope) (*types.GetBlockResponseEnvelope, error)
- func (c *Client) GetNodeConfig(e *types.GetNodeConfigQueryEnvelope) (*types.GetNodeConfigResponseEnvelope, error)
- func (c *Client) GetUser(e *types.GetUserQueryEnvelope) (*types.GetUserResponseEnvelope, error)
- func (c *Client) SubmitTransaction(urlPath string, tx interface{}, serverTimeout time.Duration) (*http.Response, error)
- type ResponseErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { RawURL string BaseURL *url.URL UserAgent string // contains filtered or unexported fields }
func NewRESTClient ¶
func (*Client) GetClusterStatus ¶ added in v0.2.2
func (c *Client) GetClusterStatus(e *types.GetClusterStatusQueryEnvelope) (*types.GetClusterStatusResponseEnvelope, error)
func (*Client) GetConfig ¶
func (c *Client) GetConfig(e *types.GetConfigQueryEnvelope) (*types.GetConfigResponseEnvelope, error)
func (*Client) GetDBIndex ¶ added in v0.2.3
func (c *Client) GetDBIndex(e *types.GetDBIndexQueryEnvelope) (*types.GetDBIndexResponseEnvelope, error)
func (*Client) GetDBStatus ¶
func (c *Client) GetDBStatus(e *types.GetDBStatusQueryEnvelope) (*types.GetDBStatusResponseEnvelope, error)
func (*Client) GetData ¶
func (c *Client) GetData(e *types.GetDataQueryEnvelope) (*types.GetDataResponseEnvelope, error)
func (*Client) GetHistoricalData ¶
func (c *Client) GetHistoricalData(e *types.GetHistoricalDataQueryEnvelope) (*types.GetHistoricalDataResponseEnvelope, error)
func (*Client) GetLastBlockStatus ¶ added in v0.2.2
func (c *Client) GetLastBlockStatus(e *types.GetBlockQueryEnvelope) (*types.GetBlockResponseEnvelope, error)
func (*Client) GetNodeConfig ¶
func (c *Client) GetNodeConfig(e *types.GetNodeConfigQueryEnvelope) (*types.GetNodeConfigResponseEnvelope, error)
func (*Client) GetUser ¶
func (c *Client) GetUser(e *types.GetUserQueryEnvelope) (*types.GetUserResponseEnvelope, error)
type ResponseErr ¶
type ResponseErr struct {
Error string `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.