Documentation ¶
Index ¶
- Constants
- func NewHandler(services ...Service) (http.Handler, error)
- type Client
- func (c *Client) ConsensusStatus(ctx context.Context, opts ConsensusStatusOptions) (*api.ConsensusStatus, error)
- func (c *Client) Faucet(ctx context.Context, account *url.URL, opts api.FaucetOptions) (*api.Submission, error)
- func (c *Client) FindService(ctx context.Context, opts FindServiceOptions) ([]*api.FindServiceResult, error)
- func (c *Client) Metrics(ctx context.Context, opts MetricsOptions) (*api.Metrics, error)
- func (c *Client) NetworkStatus(ctx context.Context, opts NetworkStatusOptions) (*api.NetworkStatus, error)
- func (c *Client) NodeInfo(ctx context.Context, opts NodeInfoOptions) (*api.NodeInfo, error)
- func (c *Client) Query(ctx context.Context, scope *url.URL, query api.Query) (api.Record, error)
- func (c *Client) Submit(ctx context.Context, envelope *messaging.Envelope, opts api.SubmitOptions) ([]*api.Submission, error)
- func (c *Client) Validate(ctx context.Context, envelope *messaging.Envelope, opts api.ValidateOptions) ([]*api.Submission, error)
- type ConsensusService
- type ConsensusStatusOptions
- type Faucet
- type FindServiceOptions
- type MetricsOptions
- type MetricsService
- type NetworkService
- type NetworkStatusOptions
- type NodeInfoOptions
- type NodeService
- type Querier
- type RangeOptions
- type Service
- type SubmitOptions
- type Submitter
- type ValidateOptions
- type Validator
Constants ¶
View Source
const ErrCodeProtocol = -33000
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
func (*Client) ConsensusStatus ¶
func (c *Client) ConsensusStatus(ctx context.Context, opts ConsensusStatusOptions) (*api.ConsensusStatus, error)
func (*Client) FindService ¶ added in v1.2.0
func (c *Client) FindService(ctx context.Context, opts FindServiceOptions) ([]*api.FindServiceResult, error)
func (*Client) Metrics ¶
func (c *Client) Metrics(ctx context.Context, opts MetricsOptions) (*api.Metrics, error)
func (*Client) NetworkStatus ¶
func (c *Client) NetworkStatus(ctx context.Context, opts NetworkStatusOptions) (*api.NetworkStatus, error)
func (*Client) NodeInfo ¶ added in v1.2.0
func (c *Client) NodeInfo(ctx context.Context, opts NodeInfoOptions) (*api.NodeInfo, error)
type ConsensusService ¶
type ConsensusService struct{ api.ConsensusService }
type ConsensusStatusOptions ¶
type ConsensusStatusOptions = api.ConsensusStatusOptions
type FindServiceOptions ¶ added in v1.2.0
type FindServiceOptions = api.FindServiceOptions
type MetricsOptions ¶
type MetricsOptions = api.MetricsOptions
type MetricsService ¶
type MetricsService struct{ api.MetricsService }
type NetworkService ¶
type NetworkService struct{ api.NetworkService }
type NetworkStatusOptions ¶
type NetworkStatusOptions = api.NetworkStatusOptions
type NodeInfoOptions ¶ added in v1.2.0
type NodeInfoOptions = api.NodeInfoOptions
type NodeService ¶
type NodeService struct {
api.NodeService
}
type RangeOptions ¶
type RangeOptions = api.RangeOptions
type SubmitOptions ¶
type SubmitOptions = api.SubmitOptions
type ValidateOptions ¶
type ValidateOptions = api.ValidateOptions
Click to show internal directories.
Click to hide internal directories.