Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) DeployService(ctx context.Context, id uint64, req backend.DeployServiceRequest) (backend.DeployServiceResponse, errors.Err)
- func (c *Client) ExecuteService(ctx context.Context, id uint64, req backend.ExecuteServiceRequest) (backend.ExecuteServiceResponse, errors.Err)
- func (c *Client) GetCode(ctx context.Context, req backend.GetCodeRequest) (backend.GetCodeResponse, errors.Err)
- func (c *Client) GetExpiry(ctx context.Context, req backend.GetExpiryRequest) (backend.GetExpiryResponse, errors.Err)
- func (c *Client) GetPublicKey(ctx context.Context, req backend.GetPublicKeyRequest) (backend.GetPublicKeyResponse, errors.Err)
- func (c *Client) Name() string
- func (c *Client) Senders() []common.Address
- func (c *Client) Stats() stats.Metrics
- func (c *Client) SubscribeRequest(ctx context.Context, req backend.CreateSubscriptionRequest, ...) errors.Err
- func (c *Client) UnsubscribeRequest(ctx context.Context, req backend.DestroySubscriptionRequest) errors.Err
- type ClientDeps
- type ClientProps
- type ClientServices
Constants ¶
View Source
const StatusOK = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func DialContext ¶
func DialContext(ctx context.Context, services *ClientServices, props *ClientProps) (*Client, error)
func NewClientWithDeps ¶
func NewClientWithDeps(ctx context.Context, deps *ClientDeps) *Client
func (*Client) DeployService ¶
func (c *Client) DeployService( ctx context.Context, id uint64, req backend.DeployServiceRequest, ) (backend.DeployServiceResponse, errors.Err)
func (*Client) ExecuteService ¶
func (c *Client) ExecuteService( ctx context.Context, id uint64, req backend.ExecuteServiceRequest, ) (backend.ExecuteServiceResponse, errors.Err)
func (*Client) GetCode ¶
func (c *Client) GetCode( ctx context.Context, req backend.GetCodeRequest, ) (backend.GetCodeResponse, errors.Err)
func (*Client) GetExpiry ¶
func (c *Client) GetExpiry( ctx context.Context, req backend.GetExpiryRequest, ) (backend.GetExpiryResponse, errors.Err)
func (*Client) GetPublicKey ¶
func (c *Client) GetPublicKey( ctx context.Context, req backend.GetPublicKeyRequest, ) (backend.GetPublicKeyResponse, errors.Err)
func (*Client) SubscribeRequest ¶
func (*Client) UnsubscribeRequest ¶
type ClientDeps ¶
type ClientProps ¶
type ClientProps struct { PrivateKeys []*ecdsa.PrivateKey URL string }
Click to show internal directories.
Click to hide internal directories.