Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateMovie(ctx context.Context, in *pb.MovieRequest) (*pb.MovieResponse, error)
- func (s *Server) DeleteMovie(ctx context.Context, in *pb.MovieID) (*pb.Message, error)
- func (s *Server) GetMovie(ctx context.Context, in *pb.MovieID) (*pb.MovieResponse, error)
- func (s *Server) GetMovies(ctx context.Context, in *pb.EmptyRequest) (*pb.MovieListResponse, error)
- func (s *Server) UpdateMovie(ctx context.Context, in *pb.MovieRequest) (*pb.MovieResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedMovieServiceServer
}
func (*Server) CreateMovie ¶
func (s *Server) CreateMovie(ctx context.Context, in *pb.MovieRequest) (*pb.MovieResponse, error)
func (*Server) DeleteMovie ¶
func (*Server) GetMovies ¶
func (s *Server) GetMovies(ctx context.Context, in *pb.EmptyRequest) (*pb.MovieListResponse, error)
func (*Server) UpdateMovie ¶
func (s *Server) UpdateMovie(ctx context.Context, in *pb.MovieRequest) (*pb.MovieResponse, error)
Click to show internal directories.
Click to hide internal directories.