Versions in this module Expand all Collapse all v0 v0.0.43 Jun 9, 2024 v0.0.42 Jun 9, 2024 v0.0.41 Jun 9, 2024 v0.0.40 Jun 9, 2024 v0.0.39 Jun 8, 2024 v0.0.38 Jun 7, 2024 v0.0.37 Jun 7, 2024 v0.0.36 Jun 7, 2024 v0.0.35 Jun 7, 2024 v0.0.34 May 30, 2024 v0.0.33 May 30, 2024 v0.0.32 May 30, 2024 v0.0.31 May 30, 2024 v0.0.30 May 30, 2024 v0.0.29 May 30, 2024 v0.0.28 May 30, 2024 v0.0.27 May 29, 2024 Changes in this version + var DistributionService_ServiceDesc = grpc.ServiceDesc + var File_distribution_distribution_proto protoreflect.FileDescriptor + func RegisterDistributionServiceServer(s grpc.ServiceRegistrar, srv DistributionServiceServer) + type CreateRequest struct + Products []*ProductDistribution + TradingPointId int32 + TradingPointType tradingpoint.TradingPointType + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (x *CreateRequest) GetProducts() []*ProductDistribution + func (x *CreateRequest) GetTradingPointId() int32 + func (x *CreateRequest) GetTradingPointType() tradingpoint.TradingPointType + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateResponse struct + Id int32 + func (*CreateResponse) Descriptor() ([]byte, []int) + func (*CreateResponse) ProtoMessage() + func (x *CreateResponse) GetId() int32 + func (x *CreateResponse) ProtoReflect() protoreflect.Message + func (x *CreateResponse) Reset() + func (x *CreateResponse) String() string + type Distribution struct + Id int32 + Products []*ProductDistribution + TradingPointId int32 + TradingPointType tradingpoint.TradingPointType + func (*Distribution) Descriptor() ([]byte, []int) + func (*Distribution) ProtoMessage() + func (x *Distribution) GetId() int32 + func (x *Distribution) GetProducts() []*ProductDistribution + func (x *Distribution) GetTradingPointId() int32 + func (x *Distribution) GetTradingPointType() tradingpoint.TradingPointType + func (x *Distribution) ProtoReflect() protoreflect.Message + func (x *Distribution) Reset() + func (x *Distribution) String() string + type DistributionServiceClient interface + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) + func NewDistributionServiceClient(cc grpc.ClientConnInterface) DistributionServiceClient + type DistributionServiceServer interface + Create func(context.Context, *CreateRequest) (*CreateResponse, error) + type ProductDistribution struct + Price *core.Money + Product *product.Product + Quantity int32 + func (*ProductDistribution) Descriptor() ([]byte, []int) + func (*ProductDistribution) ProtoMessage() + func (x *ProductDistribution) GetPrice() *core.Money + func (x *ProductDistribution) GetProduct() *product.Product + func (x *ProductDistribution) GetQuantity() int32 + func (x *ProductDistribution) ProtoReflect() protoreflect.Message + func (x *ProductDistribution) Reset() + func (x *ProductDistribution) String() string + type UnimplementedDistributionServiceServer struct + func (UnimplementedDistributionServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error) + type UnsafeDistributionServiceServer interface