Versions in this module Expand all Collapse all v1 v1.2.2 Sep 8, 2017 v1.2.1 Sep 6, 2017 Changes in this version + func RegisterTaskServer(s *grpc.Server, srv TaskServer) + type TaskClient interface + Run func(ctx context.Context, in *TaskRequest, opts ...grpc.CallOption) (*TaskResponse, error) + func NewTaskClient(cc *grpc.ClientConn) TaskClient + type TaskRequest struct + Command string + Timeout int32 + func (*TaskRequest) Descriptor() ([]byte, []int) + func (*TaskRequest) ProtoMessage() + func (m *TaskRequest) GetCommand() string + func (m *TaskRequest) GetTimeout() int32 + func (m *TaskRequest) Reset() + func (m *TaskRequest) String() string + type TaskResponse struct + Error string + Output string + func (*TaskResponse) Descriptor() ([]byte, []int) + func (*TaskResponse) ProtoMessage() + func (m *TaskResponse) GetError() string + func (m *TaskResponse) GetOutput() string + func (m *TaskResponse) Reset() + func (m *TaskResponse) String() string + type TaskServer interface + Run func(context.Context, *TaskRequest) (*TaskResponse, error)