Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateTodoService(ctx context.Context, in *pb.TodoRequest) (*pb.TodoResponse, error)
- func (s *Server) DeleteTodoService(ctx context.Context, in *pb.TodoQuery) (*pb.Todo, error)
- func (s *Server) GetAllTodosService(in *pb.Null, stream grpc.ServerStreamingServer[pb.Todo]) error
- func (s *Server) GetTodoByIDService(ctx context.Context, in *pb.TodoQuery) (*pb.Todo, error)
- func (s *Server) UpdateTodoService(ctx context.Context, in *pb.Todo) (*pb.Todo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedToDoServer
}
func (*Server) CreateTodoService ¶
func (s *Server) CreateTodoService(ctx context.Context, in *pb.TodoRequest) (*pb.TodoResponse, error)
func (*Server) DeleteTodoService ¶
func (*Server) GetAllTodosService ¶
func (*Server) GetTodoByIDService ¶
Click to show internal directories.
Click to hide internal directories.