Documentation ¶
Index ¶
- type Server
- func (s *Server) Create(ctx context.Context, req *eventpb.CreateRequest) (*eventpb.CreateResponse, error)
- func (s *Server) Delete(ctx context.Context, req *eventpb.DeleteRequest) (*eventpb.DeleteResponse, error)
- func (s *Server) Read(ctx context.Context, req *eventpb.ReadRequest) (*eventpb.ReadResponse, error)
- func (s *Server) Update(ctx context.Context, req *eventpb.UpdateRequest) (*eventpb.UpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { eventpb.UnimplementedEventServiceServer *service.EventUseCase *zap.Logger }
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, req *eventpb.CreateRequest) (*eventpb.CreateResponse, error)
func (*Server) Delete ¶
func (s *Server) Delete(ctx context.Context, req *eventpb.DeleteRequest) (*eventpb.DeleteResponse, error)
func (*Server) Read ¶
func (s *Server) Read(ctx context.Context, req *eventpb.ReadRequest) (*eventpb.ReadResponse, error)
func (*Server) Update ¶
func (s *Server) Update(ctx context.Context, req *eventpb.UpdateRequest) (*eventpb.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.