Documentation ¶
Index ¶
- Constants
- func NewHandler(services ...Service) (http.Handler, error)
- type Client
- func (c *Client) ConsensusStatus(ctx context.Context, opts api.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 api.FindServiceOptions) ([]*api.FindServiceResult, error)
- func (c *Client) Metrics(ctx context.Context, opts api.MetricsOptions) (*api.Metrics, error)
- func (c *Client) NetworkStatus(ctx context.Context, opts api.NetworkStatusOptions) (*api.NetworkStatus, error)
- func (c *Client) NodeInfo(ctx context.Context, opts api.NodeInfoOptions) (*api.NodeInfo, error)
- func (c *Client) Private() *PrivateClient
- 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 Faucet
- type MetricsService
- type NetworkService
- type NodeService
- type PrivateClient
- type Querier
- type Sequencer
- type Service
- type Submitter
- type Validator
Constants ¶
View Source
const ErrCodeProtocol = -33000
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
func (*Client) ConsensusStatus ¶
func (*Client) FindService ¶ added in v1.2.0
func (*Client) NetworkStatus ¶
func (*Client) Private ¶ added in v1.2.10
func (c *Client) Private() *PrivateClient
type ConsensusService ¶
type ConsensusService struct{ api.ConsensusService }
type MetricsService ¶
type MetricsService struct{ api.MetricsService }
type NetworkService ¶
type NetworkService struct{ api.NetworkService }
type NodeService ¶
type NodeService struct {
api.NodeService
}
type PrivateClient ¶ added in v1.2.10
type PrivateClient Client
Click to show internal directories.
Click to hide internal directories.