Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { productService.UnimplementedProductServiceServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer( useCase *productUsecase.UseCase, srv productService.UnimplementedProductServiceServer, ) *Server
func (*Server) GetProduct ¶
func (p *Server) GetProduct(ctx context.Context, id string) (*productService.GetProductResponse, error)
Click to show internal directories.
Click to hide internal directories.