Documentation
¶
Index ¶
- type Client
- func (c *Client) GetBlock(ctx context.Context, blockID string) (*model.Block, error)
- func (c *Client) GetBlockHeader(ctx context.Context, blockID string) (*model.BlockHeader, error)
- func (c *Client) GetBlockOperations(ctx context.Context, blockID string) (model.BlockOperations, error)
- func (c *Client) GetMinimalValidTime(ctx context.Context, blockID string, priority, power int) (time.Time, error)
- func (c *Client) GetMonitorHeads(ctx context.Context) (headerCh <-chan *model.ShellBlockHeader, errorsCh <-chan error, err error)
- func (c *Client) GetProtocolConstants(ctx context.Context) (*model.ProtocolConstants, error)
- func (c *Client) NewGetBlockHeaderRequest(ctx context.Context, blockID string) (*http.Request, error)
- func (c *Client) NewGetBlockOperationsRequest(ctx context.Context, blockID string) (*http.Request, error)
- func (c *Client) NewGetBlockRequest(ctx context.Context, blockID string) (*http.Request, error)
- func (c *Client) NewGetMinimalValidTimeRequest(ctx context.Context, blockID string, priority, power int) (*http.Request, error)
- func (c *Client) NewGetMonitorHeadsRequest(ctx context.Context) (*http.Request, error)
- func (c *Client) NewGetProtocolConstantsRequest(ctx context.Context) (*http.Request, error)
- type HTTPError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetBlockHeader ¶
func (*Client) GetBlockOperations ¶
func (*Client) GetMinimalValidTime ¶
func (*Client) GetMonitorHeads ¶
func (*Client) GetProtocolConstants ¶
func (*Client) NewGetBlockHeaderRequest ¶
func (*Client) NewGetBlockOperationsRequest ¶
func (*Client) NewGetBlockRequest ¶
func (*Client) NewGetMinimalValidTimeRequest ¶
func (*Client) NewGetMonitorHeadsRequest ¶
Click to show internal directories.
Click to hide internal directories.