Documentation ¶ Index ¶ type Client func NewClient(endpoint string, opts ...grpc.DialOption) Client type FetchResponse 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) (FetchResponse, error) } func NewClient ¶ func NewClient( endpoint string, opts ...grpc.DialOption, ) Client type FetchResponse ¶ type FetchResponse struct { SBatch string GridLoggerURL string } Source Files ¶ View all Source files sbatch.go Click to show internal directories. Click to hide internal directories.