Versions in this module Expand all Collapse all v1 v1.5.0 May 29, 2020 Changes in this version + var File_goods_goods_proto protoreflect.FileDescriptor + func RegisterGoodsHandler(s server.Server, hdlr GoodsHandler, opts ...server.HandlerOption) error + type Good struct + Count int64 + Id int64 + func (*Good) Descriptor() ([]byte, []int) + func (*Good) ProtoMessage() + func (x *Good) GetCount() int64 + func (x *Good) GetId() int64 + func (x *Good) ProtoReflect() protoreflect.Message + func (x *Good) Reset() + func (x *Good) String() string + type GoodsHandler interface + UpdateCount func(context.Context, *UpdateCountReq, *UpdateCountResp) error + type GoodsService interface + UpdateCount func(ctx context.Context, in *UpdateCountReq, opts ...client.CallOption) (*UpdateCountResp, error) + func NewGoodsService(name string, c client.Client) GoodsService + type UpdateCountReq struct + AdditionalDecorPrice int64 + DecorPrice int64 + DeliveryPrice int64 + Goods []*Good + ManagerId int64 + NeedCalculateDifference bool + SalePrice int64 + TotalCost int64 + func (*UpdateCountReq) Descriptor() ([]byte, []int) + func (*UpdateCountReq) ProtoMessage() + func (x *UpdateCountReq) GetAdditionalDecorPrice() int64 + func (x *UpdateCountReq) GetDecorPrice() int64 + func (x *UpdateCountReq) GetDeliveryPrice() int64 + func (x *UpdateCountReq) GetGoods() []*Good + func (x *UpdateCountReq) GetManagerId() int64 + func (x *UpdateCountReq) GetNeedCalculateDifference() bool + func (x *UpdateCountReq) GetSalePrice() int64 + func (x *UpdateCountReq) GetTotalCost() int64 + func (x *UpdateCountReq) ProtoReflect() protoreflect.Message + func (x *UpdateCountReq) Reset() + func (x *UpdateCountReq) String() string + type UpdateCountResp struct + Ok bool + func (*UpdateCountResp) Descriptor() ([]byte, []int) + func (*UpdateCountResp) ProtoMessage() + func (x *UpdateCountResp) GetOk() bool + func (x *UpdateCountResp) ProtoReflect() protoreflect.Message + func (x *UpdateCountResp) Reset() + func (x *UpdateCountResp) String() string