Documentation ¶
Index ¶
- func Register(s *grpc.Server, personList personlist.PersonList)
- type Server
- func (s *Server) AddPerson(ctx context.Context, in *pb.Person) (*pb.PersonID, error)
- func (s *Server) EditPerson(ctx context.Context, in *pb.Person) (*pb.Empty, error)
- func (s *Server) GetList(in *pb.Empty, stream grpc.ServerStreamingServer[pb.Person]) error
- func (s *Server) GetPerson(ctx context.Context, in *pb.PersonID) (*pb.Person, error)
- func (s *Server) RemovePerson(ctx context.Context, in *pb.PersonID) (*pb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(s *grpc.Server, personList personlist.PersonList)
Types ¶
Click to show internal directories.
Click to hide internal directories.