Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Port string pb.UnimplementedProductServiceServer // contains filtered or unexported fields }
func NewGRPCServer ¶
func NewGRPCServer(config config.GRPC, productApp app.ProductApplication) *Server
func (*Server) CheckProducts ¶
func (srv *Server) CheckProducts(ctx context.Context, req *pb.CheckProductsRequest) (*pb.CheckProductsResponse, error)
func (*Server) GetProducts ¶
func (srv *Server) GetProducts(ctx context.Context, req *pb.GetProductsRequest) (*pb.GetProductsResponse, error)
func (*Server) GracefulStop ¶
func (srv *Server) GracefulStop()
Click to show internal directories.
Click to hide internal directories.