package
0.0.0-20211006002630-2f9ccf387d5b
Repository: https://github.com/christianprzybulinski/go-cart-api.git
Documentation: pkg.go.dev

# Functions

DescountPercentage uses the generated gRPC client and call the GetDiscount to retrieve 0 or 0.05 percentageIn case the service is offline or we can't reach it for any reason, it will return 0.
No description provided by the author
No description provided by the author

# Variables

Discount_ServiceDesc is the grpc.ServiceDesc for Discount service.
No description provided by the author

# Structs

productID used to represent a product.
The discount percentage is a fixed value.
UnimplementedDiscountServer must be embedded to have forward compatible implementations.

# Interfaces

DiscountClient is the client API for Discount service.
DiscountServer is the server API for Discount service.
UnsafeDiscountServer may be embedded to opt out of forward compatibility for this service.