Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCHandler ¶
type GRPCHandler struct { pharmacyproto.UnimplementedPharmacyServiceServer // Must be // contains filtered or unexported fields }
func NewPharmacyGRPCHandler ¶
func NewPharmacyGRPCHandler(pharmacySrv PharmacySrv) *GRPCHandler
func (*GRPCHandler) CreatePharmacy ¶
func (h *GRPCHandler) CreatePharmacy(ctx context.Context, req *pharmacyproto.NewPharmacy) (*emptypb.Empty, error)
func (*GRPCHandler) GetPharmacies ¶
func (h *GRPCHandler) GetPharmacies(ctx context.Context, req *pharmacyproto.PaginationRequest) (*pharmacyproto.Pharmacies, error)
Click to show internal directories.
Click to hide internal directories.