Documentation ¶
Index ¶
- type ServiceServer
- func (s *ServiceServer) Cancel(ctx context.Context, req *pb.CancelTaskRequest) (*empty.Empty, error)
- func (s *ServiceServer) Get(ctx context.Context, req *pb.GetTaskRequest) (*pb.GetTaskResponse, error)
- func (s *ServiceServer) Init(inner *services.ServiceServer)
- func (s *ServiceServer) List(ctx context.Context, req *empty.Empty) (*pb.ListTasksResponse, error)
- func (s *ServiceServer) ListKeys(ctx context.Context, req *empty.Empty) (*pb.ListKeysResponse, error)
- func (s *ServiceServer) Name() string
- func (s *ServiceServer) Register(server *grpc.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceServer ¶
type ServiceServer struct {
*services.ServiceServer
}
func (*ServiceServer) Cancel ¶
func (s *ServiceServer) Cancel(ctx context.Context, req *pb.CancelTaskRequest) (*empty.Empty, error)
func (*ServiceServer) Get ¶
func (s *ServiceServer) Get(ctx context.Context, req *pb.GetTaskRequest) (*pb.GetTaskResponse, error)
func (*ServiceServer) Init ¶
func (s *ServiceServer) Init(inner *services.ServiceServer)
func (*ServiceServer) List ¶
func (s *ServiceServer) List(ctx context.Context, req *empty.Empty) (*pb.ListTasksResponse, error)
func (*ServiceServer) ListKeys ¶
func (s *ServiceServer) ListKeys(ctx context.Context, req *empty.Empty) (*pb.ListKeysResponse, error)
func (*ServiceServer) Name ¶
func (s *ServiceServer) Name() string
func (*ServiceServer) Register ¶
func (s *ServiceServer) Register(server *grpc.Server)
Click to show internal directories.
Click to hide internal directories.