Documentation ¶
Overview ¶
Code generated by Kitex v0.5.1. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { PublishProduct(ctx context.Context, req *product.MallPublishProductRequest, callOptions ...callopt.Option) (r *product.MallPublishProductResponse, err error) UpdateProduct(ctx context.Context, req *product.MallUpdateProductRequest, callOptions ...callopt.Option) (r *product.MallUpdateProductResponse, err error) DelProduct(ctx context.Context, req *product.MallDelProductRequest, callOptions ...callopt.Option) (r *product.MallDelProductResponse, err error) ProductList(ctx context.Context, req *product.MallProductListRequest, callOptions ...callopt.Option) (r *product.MallProductListResponse, err error) ProductDetail(ctx context.Context, req *product.MallProductDetailRequest, callOptions ...callopt.Option) (r *product.MallProductDetailResponse, err error) SearchProduct(ctx context.Context, req *product.MallSearchProductRequest, callOptions ...callopt.Option) (r *product.MallSearchProductResponse, err error) ProductFavoriteList(ctx context.Context, req *product.MallProductFavoriteListRequest, callOptions ...callopt.Option) (r *product.MallProductFavoriteListResponse, err error) PublishedProducts(ctx context.Context, req *product.MallProductPublishedListRequest, callOptions ...callopt.Option) (r *product.MallProductPublishedListResponse, err error) UpdateStock(ctx context.Context, req *product.MallUpdateStockRequest, callOptions ...callopt.Option) (r *product.MallUpdateStockResponse, err error) }
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
Click to show internal directories.
Click to hide internal directories.