Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BannerReply ¶
type BannerReply = product.BannerReply
type DeleteProductReply ¶
type DeleteProductReply = product.DeleteProductReply
type DeleteProductReq ¶
type DeleteProductReq = product.DeleteProductReq
type GetBannerReq ¶
type GetBannerReq = product.GetBannerReq
type GetProductListReq ¶
type GetProductListReq = product.GetProductListReq
type GetProductReq ¶
type GetProductReq = product.GetProductReq
type IncrementProductReply ¶
type IncrementProductReply = product.IncrementProductReply
type Product ¶
type Product interface { // 获取轮播图 GetBanner(ctx context.Context, in *GetBannerReq, opts ...grpc.CallOption) (*BannerReply, error) // 获取产品 GetProduct(ctx context.Context, in *GetProductReq, opts ...grpc.CallOption) (*ProductReply, error) // 获取产品列表 GetProductList(ctx context.Context, in *GetProductListReq, opts ...grpc.CallOption) (*ProductListReply, error) // 新增产品 IncrementProduct(ctx context.Context, in *ProductReq, opts ...grpc.CallOption) (*IncrementProductReply, error) // 修改产品 UpdateProduct(ctx context.Context, in *ProductReq, opts ...grpc.CallOption) (*UpdateProductReply, error) // 删除商品 DeleteProduct(ctx context.Context, in *DeleteProductReq, opts ...grpc.CallOption) (*DeleteProductReply, error) }
func NewProduct ¶
type ProductListReply ¶
type ProductListReply = product.ProductListReply
type ProductReply ¶
type ProductReply = product.ProductReply
type ProductReq ¶
type ProductReq = product.ProductReq
type UpdateProductReply ¶
type UpdateProductReply = product.UpdateProductReply
Click to show internal directories.
Click to hide internal directories.