Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // HealthCheck sends a simple commands to check if the service is alive. HealthCheck(ctx context.Context) error // Fetch a job batch content. Fetch( ctx context.Context, hash string, customerAddress common.Address, jobID [32]byte, ) (FetchResponse, error) }
func NewClient ¶
func NewClient( endpoint string, pk *ecdsa.PrivateKey, opts ...grpc.DialOption, ) Client
type FetchResponse ¶
Click to show internal directories.
Click to hide internal directories.