Documentation ¶
Index ¶
- Variables
- func RegisterGoodsHTTPServer(s *http.Server, srv GoodsHTTPServer)
- func RegisterGoodsServer(s grpc.ServiceRegistrar, srv GoodsServer)
- type CreateGoodsReply
- type CreateGoodsRequest
- type CreateOrdersReply
- type CreateOrdersRequest
- func (*CreateOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrdersRequest) GetSn() string
- func (*CreateOrdersRequest) ProtoMessage()
- func (x *CreateOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrdersRequest) Reset()
- func (x *CreateOrdersRequest) String() string
- type DeleteGoodsReply
- type DeleteGoodsRequest
- type DeleteOrdersReply
- type DeleteOrdersRequest
- type GetGoodsReply
- func (*GetGoodsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGoodsReply) GetId() int64
- func (x *GetGoodsReply) GetIntro() string
- func (x *GetGoodsReply) GetTitle() string
- func (*GetGoodsReply) ProtoMessage()
- func (x *GetGoodsReply) ProtoReflect() protoreflect.Message
- func (x *GetGoodsReply) Reset()
- func (x *GetGoodsReply) String() string
- type GetGoodsRequest
- type GetOrdersReply
- type GetOrdersRequest
- type GoodsClient
- type GoodsHTTPClient
- type GoodsHTTPClientImpl
- func (c *GoodsHTTPClientImpl) CreateOrders(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
- func (c *GoodsHTTPClientImpl) CreateOrdersConfirm(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
- func (c *GoodsHTTPClientImpl) CreateOrdersTccCancel(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
- func (c *GoodsHTTPClientImpl) CreateOrdersTccTry(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
- func (c *GoodsHTTPClientImpl) GetGoods(ctx context.Context, in *GetGoodsRequest, opts ...http.CallOption) (*GetGoodsReply, error)
- func (c *GoodsHTTPClientImpl) GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...http.CallOption) (*GetOrdersReply, error)
- type GoodsHTTPServer
- type GoodsServer
- type ListGoodsReply
- type ListGoodsRequest
- type ListOrdersReply
- type ListOrdersRequest
- type UnimplementedGoodsServer
- func (UnimplementedGoodsServer) CreateGoods(context.Context, *CreateGoodsRequest) (*CreateGoodsReply, error)
- func (UnimplementedGoodsServer) CreateOrders(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
- func (UnimplementedGoodsServer) CreateOrdersConfirm(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
- func (UnimplementedGoodsServer) CreateOrdersTccCancel(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
- func (UnimplementedGoodsServer) CreateOrdersTccTry(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
- func (UnimplementedGoodsServer) DeleteGoods(context.Context, *DeleteGoodsRequest) (*DeleteGoodsReply, error)
- func (UnimplementedGoodsServer) DeleteOrders(context.Context, *DeleteOrdersRequest) (*DeleteOrdersReply, error)
- func (UnimplementedGoodsServer) GetGoods(context.Context, *GetGoodsRequest) (*GetGoodsReply, error)
- func (UnimplementedGoodsServer) GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersReply, error)
- func (UnimplementedGoodsServer) ListGoods(context.Context, *ListGoodsRequest) (*ListGoodsReply, error)
- func (UnimplementedGoodsServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersReply, error)
- func (UnimplementedGoodsServer) UpdateGoods(context.Context, *UpdateGoodsRequest) (*UpdateGoodsReply, error)
- func (UnimplementedGoodsServer) UpdateOrders(context.Context, *UpdateOrdersRequest) (*UpdateOrdersReply, error)
- type UnsafeGoodsServer
- type UpdateGoodsReply
- type UpdateGoodsRequest
- type UpdateOrdersReply
- type UpdateOrdersRequest
Constants ¶
This section is empty.
Variables ¶
var File_v1_goods_proto protoreflect.FileDescriptor
var Goods_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.goods.service.v1.Goods", HandlerType: (*GoodsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGoods", Handler: _Goods_CreateGoods_Handler, }, { MethodName: "UpdateGoods", Handler: _Goods_UpdateGoods_Handler, }, { MethodName: "DeleteGoods", Handler: _Goods_DeleteGoods_Handler, }, { MethodName: "GetGoods", Handler: _Goods_GetGoods_Handler, }, { MethodName: "ListGoods", Handler: _Goods_ListGoods_Handler, }, { MethodName: "GetOrders", Handler: _Goods_GetOrders_Handler, }, { MethodName: "CreateOrders", Handler: _Goods_CreateOrders_Handler, }, { MethodName: "CreateOrdersTccTry", Handler: _Goods_CreateOrdersTccTry_Handler, }, { MethodName: "CreateOrdersConfirm", Handler: _Goods_CreateOrdersConfirm_Handler, }, { MethodName: "CreateOrdersTccCancel", Handler: _Goods_CreateOrdersTccCancel_Handler, }, { MethodName: "UpdateOrders", Handler: _Goods_UpdateOrders_Handler, }, { MethodName: "DeleteOrders", Handler: _Goods_DeleteOrders_Handler, }, { MethodName: "ListOrders", Handler: _Goods_ListOrders_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/goods.proto", }
Goods_ServiceDesc is the grpc.ServiceDesc for Goods service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGoodsHTTPServer ¶
func RegisterGoodsHTTPServer(s *http.Server, srv GoodsHTTPServer)
func RegisterGoodsServer ¶
func RegisterGoodsServer(s grpc.ServiceRegistrar, srv GoodsServer)
Types ¶
type CreateGoodsReply ¶
type CreateGoodsReply struct {
// contains filtered or unexported fields
}
func (*CreateGoodsReply) Descriptor
deprecated
func (*CreateGoodsReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateGoodsReply.ProtoReflect.Descriptor instead.
func (*CreateGoodsReply) ProtoMessage ¶
func (*CreateGoodsReply) ProtoMessage()
func (*CreateGoodsReply) ProtoReflect ¶
func (x *CreateGoodsReply) ProtoReflect() protoreflect.Message
func (*CreateGoodsReply) Reset ¶
func (x *CreateGoodsReply) Reset()
func (*CreateGoodsReply) String ¶
func (x *CreateGoodsReply) String() string
type CreateGoodsRequest ¶
type CreateGoodsRequest struct {
// contains filtered or unexported fields
}
func (*CreateGoodsRequest) Descriptor
deprecated
func (*CreateGoodsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGoodsRequest.ProtoReflect.Descriptor instead.
func (*CreateGoodsRequest) ProtoMessage ¶
func (*CreateGoodsRequest) ProtoMessage()
func (*CreateGoodsRequest) ProtoReflect ¶
func (x *CreateGoodsRequest) ProtoReflect() protoreflect.Message
func (*CreateGoodsRequest) Reset ¶
func (x *CreateGoodsRequest) Reset()
func (*CreateGoodsRequest) String ¶
func (x *CreateGoodsRequest) String() string
type CreateOrdersReply ¶
type CreateOrdersReply struct { DtmResult string `protobuf:"bytes,1,opt,name=dtm_result,json=dtmResult,proto3" json:"dtm_result,omitempty"` // contains filtered or unexported fields }
func (*CreateOrdersReply) Descriptor
deprecated
func (*CreateOrdersReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrdersReply.ProtoReflect.Descriptor instead.
func (*CreateOrdersReply) GetDtmResult ¶
func (x *CreateOrdersReply) GetDtmResult() string
func (*CreateOrdersReply) ProtoMessage ¶
func (*CreateOrdersReply) ProtoMessage()
func (*CreateOrdersReply) ProtoReflect ¶
func (x *CreateOrdersReply) ProtoReflect() protoreflect.Message
func (*CreateOrdersReply) Reset ¶
func (x *CreateOrdersReply) Reset()
func (*CreateOrdersReply) String ¶
func (x *CreateOrdersReply) String() string
type CreateOrdersRequest ¶
type CreateOrdersRequest struct { Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn,omitempty"` // contains filtered or unexported fields }
func (*CreateOrdersRequest) Descriptor
deprecated
func (*CreateOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrdersRequest.ProtoReflect.Descriptor instead.
func (*CreateOrdersRequest) GetSn ¶
func (x *CreateOrdersRequest) GetSn() string
func (*CreateOrdersRequest) ProtoMessage ¶
func (*CreateOrdersRequest) ProtoMessage()
func (*CreateOrdersRequest) ProtoReflect ¶
func (x *CreateOrdersRequest) ProtoReflect() protoreflect.Message
func (*CreateOrdersRequest) Reset ¶
func (x *CreateOrdersRequest) Reset()
func (*CreateOrdersRequest) String ¶
func (x *CreateOrdersRequest) String() string
type DeleteGoodsReply ¶
type DeleteGoodsReply struct {
// contains filtered or unexported fields
}
func (*DeleteGoodsReply) Descriptor
deprecated
func (*DeleteGoodsReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGoodsReply.ProtoReflect.Descriptor instead.
func (*DeleteGoodsReply) ProtoMessage ¶
func (*DeleteGoodsReply) ProtoMessage()
func (*DeleteGoodsReply) ProtoReflect ¶
func (x *DeleteGoodsReply) ProtoReflect() protoreflect.Message
func (*DeleteGoodsReply) Reset ¶
func (x *DeleteGoodsReply) Reset()
func (*DeleteGoodsReply) String ¶
func (x *DeleteGoodsReply) String() string
type DeleteGoodsRequest ¶
type DeleteGoodsRequest struct {
// contains filtered or unexported fields
}
func (*DeleteGoodsRequest) Descriptor
deprecated
func (*DeleteGoodsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGoodsRequest.ProtoReflect.Descriptor instead.
func (*DeleteGoodsRequest) ProtoMessage ¶
func (*DeleteGoodsRequest) ProtoMessage()
func (*DeleteGoodsRequest) ProtoReflect ¶
func (x *DeleteGoodsRequest) ProtoReflect() protoreflect.Message
func (*DeleteGoodsRequest) Reset ¶
func (x *DeleteGoodsRequest) Reset()
func (*DeleteGoodsRequest) String ¶
func (x *DeleteGoodsRequest) String() string
type DeleteOrdersReply ¶
type DeleteOrdersReply struct {
// contains filtered or unexported fields
}
func (*DeleteOrdersReply) Descriptor
deprecated
func (*DeleteOrdersReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrdersReply.ProtoReflect.Descriptor instead.
func (*DeleteOrdersReply) ProtoMessage ¶
func (*DeleteOrdersReply) ProtoMessage()
func (*DeleteOrdersReply) ProtoReflect ¶
func (x *DeleteOrdersReply) ProtoReflect() protoreflect.Message
func (*DeleteOrdersReply) Reset ¶
func (x *DeleteOrdersReply) Reset()
func (*DeleteOrdersReply) String ¶
func (x *DeleteOrdersReply) String() string
type DeleteOrdersRequest ¶
type DeleteOrdersRequest struct {
// contains filtered or unexported fields
}
func (*DeleteOrdersRequest) Descriptor
deprecated
func (*DeleteOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrdersRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrdersRequest) ProtoMessage ¶
func (*DeleteOrdersRequest) ProtoMessage()
func (*DeleteOrdersRequest) ProtoReflect ¶
func (x *DeleteOrdersRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrdersRequest) Reset ¶
func (x *DeleteOrdersRequest) Reset()
func (*DeleteOrdersRequest) String ¶
func (x *DeleteOrdersRequest) String() string
type GetGoodsReply ¶
type GetGoodsReply struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Intro string `protobuf:"bytes,3,opt,name=intro,proto3" json:"intro,omitempty"` // contains filtered or unexported fields }
func (*GetGoodsReply) Descriptor
deprecated
func (*GetGoodsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGoodsReply.ProtoReflect.Descriptor instead.
func (*GetGoodsReply) GetId ¶
func (x *GetGoodsReply) GetId() int64
func (*GetGoodsReply) GetIntro ¶
func (x *GetGoodsReply) GetIntro() string
func (*GetGoodsReply) GetTitle ¶
func (x *GetGoodsReply) GetTitle() string
func (*GetGoodsReply) ProtoMessage ¶
func (*GetGoodsReply) ProtoMessage()
func (*GetGoodsReply) ProtoReflect ¶
func (x *GetGoodsReply) ProtoReflect() protoreflect.Message
func (*GetGoodsReply) Reset ¶
func (x *GetGoodsReply) Reset()
func (*GetGoodsReply) String ¶
func (x *GetGoodsReply) String() string
type GetGoodsRequest ¶
type GetGoodsRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetGoodsRequest) Descriptor
deprecated
func (*GetGoodsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGoodsRequest.ProtoReflect.Descriptor instead.
func (*GetGoodsRequest) GetId ¶
func (x *GetGoodsRequest) GetId() int64
func (*GetGoodsRequest) ProtoMessage ¶
func (*GetGoodsRequest) ProtoMessage()
func (*GetGoodsRequest) ProtoReflect ¶
func (x *GetGoodsRequest) ProtoReflect() protoreflect.Message
func (*GetGoodsRequest) Reset ¶
func (x *GetGoodsRequest) Reset()
func (*GetGoodsRequest) String ¶
func (x *GetGoodsRequest) String() string
type GetOrdersReply ¶
type GetOrdersReply struct { Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn,omitempty"` // contains filtered or unexported fields }
func (*GetOrdersReply) Descriptor
deprecated
func (*GetOrdersReply) Descriptor() ([]byte, []int)
Deprecated: Use GetOrdersReply.ProtoReflect.Descriptor instead.
func (*GetOrdersReply) GetSn ¶
func (x *GetOrdersReply) GetSn() string
func (*GetOrdersReply) ProtoMessage ¶
func (*GetOrdersReply) ProtoMessage()
func (*GetOrdersReply) ProtoReflect ¶
func (x *GetOrdersReply) ProtoReflect() protoreflect.Message
func (*GetOrdersReply) Reset ¶
func (x *GetOrdersReply) Reset()
func (*GetOrdersReply) String ¶
func (x *GetOrdersReply) String() string
type GetOrdersRequest ¶
type GetOrdersRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetOrdersRequest) Descriptor
deprecated
func (*GetOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrdersRequest.ProtoReflect.Descriptor instead.
func (*GetOrdersRequest) GetId ¶
func (x *GetOrdersRequest) GetId() int64
func (*GetOrdersRequest) ProtoMessage ¶
func (*GetOrdersRequest) ProtoMessage()
func (*GetOrdersRequest) ProtoReflect ¶
func (x *GetOrdersRequest) ProtoReflect() protoreflect.Message
func (*GetOrdersRequest) Reset ¶
func (x *GetOrdersRequest) Reset()
func (*GetOrdersRequest) String ¶
func (x *GetOrdersRequest) String() string
type GoodsClient ¶
type GoodsClient interface { CreateGoods(ctx context.Context, in *CreateGoodsRequest, opts ...grpc.CallOption) (*CreateGoodsReply, error) UpdateGoods(ctx context.Context, in *UpdateGoodsRequest, opts ...grpc.CallOption) (*UpdateGoodsReply, error) DeleteGoods(ctx context.Context, in *DeleteGoodsRequest, opts ...grpc.CallOption) (*DeleteGoodsReply, error) GetGoods(ctx context.Context, in *GetGoodsRequest, opts ...grpc.CallOption) (*GetGoodsReply, error) ListGoods(ctx context.Context, in *ListGoodsRequest, opts ...grpc.CallOption) (*ListGoodsReply, error) GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersReply, error) CreateOrders(ctx context.Context, in *CreateOrdersRequest, opts ...grpc.CallOption) (*CreateOrdersReply, error) // 分布式事务-tcc-try CreateOrdersTccTry(ctx context.Context, in *CreateOrdersRequest, opts ...grpc.CallOption) (*CreateOrdersReply, error) // 分布式事务-tcc-confirm CreateOrdersConfirm(ctx context.Context, in *CreateOrdersRequest, opts ...grpc.CallOption) (*CreateOrdersReply, error) // 分布式事务-tcc-cancel CreateOrdersTccCancel(ctx context.Context, in *CreateOrdersRequest, opts ...grpc.CallOption) (*CreateOrdersReply, error) UpdateOrders(ctx context.Context, in *UpdateOrdersRequest, opts ...grpc.CallOption) (*UpdateOrdersReply, error) DeleteOrders(ctx context.Context, in *DeleteOrdersRequest, opts ...grpc.CallOption) (*DeleteOrdersReply, error) ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersReply, error) }
GoodsClient is the client API for Goods service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGoodsClient ¶
func NewGoodsClient(cc grpc.ClientConnInterface) GoodsClient
type GoodsHTTPClient ¶
type GoodsHTTPClient interface { CreateOrders(ctx context.Context, req *CreateOrdersRequest, opts ...http.CallOption) (rsp *CreateOrdersReply, err error) CreateOrdersConfirm(ctx context.Context, req *CreateOrdersRequest, opts ...http.CallOption) (rsp *CreateOrdersReply, err error) CreateOrdersTccCancel(ctx context.Context, req *CreateOrdersRequest, opts ...http.CallOption) (rsp *CreateOrdersReply, err error) CreateOrdersTccTry(ctx context.Context, req *CreateOrdersRequest, opts ...http.CallOption) (rsp *CreateOrdersReply, err error) GetGoods(ctx context.Context, req *GetGoodsRequest, opts ...http.CallOption) (rsp *GetGoodsReply, err error) GetOrders(ctx context.Context, req *GetOrdersRequest, opts ...http.CallOption) (rsp *GetOrdersReply, err error) }
func NewGoodsHTTPClient ¶
func NewGoodsHTTPClient(client *http.Client) GoodsHTTPClient
type GoodsHTTPClientImpl ¶
type GoodsHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*GoodsHTTPClientImpl) CreateOrders ¶
func (c *GoodsHTTPClientImpl) CreateOrders(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
func (*GoodsHTTPClientImpl) CreateOrdersConfirm ¶
func (c *GoodsHTTPClientImpl) CreateOrdersConfirm(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
func (*GoodsHTTPClientImpl) CreateOrdersTccCancel ¶
func (c *GoodsHTTPClientImpl) CreateOrdersTccCancel(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
func (*GoodsHTTPClientImpl) CreateOrdersTccTry ¶
func (c *GoodsHTTPClientImpl) CreateOrdersTccTry(ctx context.Context, in *CreateOrdersRequest, opts ...http.CallOption) (*CreateOrdersReply, error)
func (*GoodsHTTPClientImpl) GetGoods ¶
func (c *GoodsHTTPClientImpl) GetGoods(ctx context.Context, in *GetGoodsRequest, opts ...http.CallOption) (*GetGoodsReply, error)
func (*GoodsHTTPClientImpl) GetOrders ¶
func (c *GoodsHTTPClientImpl) GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...http.CallOption) (*GetOrdersReply, error)
type GoodsHTTPServer ¶
type GoodsHTTPServer interface { CreateOrders(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) CreateOrdersConfirm(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) CreateOrdersTccCancel(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) CreateOrdersTccTry(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) GetGoods(context.Context, *GetGoodsRequest) (*GetGoodsReply, error) GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersReply, error) }
type GoodsServer ¶
type GoodsServer interface { CreateGoods(context.Context, *CreateGoodsRequest) (*CreateGoodsReply, error) UpdateGoods(context.Context, *UpdateGoodsRequest) (*UpdateGoodsReply, error) DeleteGoods(context.Context, *DeleteGoodsRequest) (*DeleteGoodsReply, error) GetGoods(context.Context, *GetGoodsRequest) (*GetGoodsReply, error) ListGoods(context.Context, *ListGoodsRequest) (*ListGoodsReply, error) GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersReply, error) CreateOrders(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) // 分布式事务-tcc-try CreateOrdersTccTry(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) // 分布式事务-tcc-confirm CreateOrdersConfirm(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) // 分布式事务-tcc-cancel CreateOrdersTccCancel(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error) UpdateOrders(context.Context, *UpdateOrdersRequest) (*UpdateOrdersReply, error) DeleteOrders(context.Context, *DeleteOrdersRequest) (*DeleteOrdersReply, error) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersReply, error) // contains filtered or unexported methods }
GoodsServer is the server API for Goods service. All implementations must embed UnimplementedGoodsServer for forward compatibility
type ListGoodsReply ¶
type ListGoodsReply struct {
// contains filtered or unexported fields
}
func (*ListGoodsReply) Descriptor
deprecated
func (*ListGoodsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListGoodsReply.ProtoReflect.Descriptor instead.
func (*ListGoodsReply) ProtoMessage ¶
func (*ListGoodsReply) ProtoMessage()
func (*ListGoodsReply) ProtoReflect ¶
func (x *ListGoodsReply) ProtoReflect() protoreflect.Message
func (*ListGoodsReply) Reset ¶
func (x *ListGoodsReply) Reset()
func (*ListGoodsReply) String ¶
func (x *ListGoodsReply) String() string
type ListGoodsRequest ¶
type ListGoodsRequest struct {
// contains filtered or unexported fields
}
func (*ListGoodsRequest) Descriptor
deprecated
func (*ListGoodsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGoodsRequest.ProtoReflect.Descriptor instead.
func (*ListGoodsRequest) ProtoMessage ¶
func (*ListGoodsRequest) ProtoMessage()
func (*ListGoodsRequest) ProtoReflect ¶
func (x *ListGoodsRequest) ProtoReflect() protoreflect.Message
func (*ListGoodsRequest) Reset ¶
func (x *ListGoodsRequest) Reset()
func (*ListGoodsRequest) String ¶
func (x *ListGoodsRequest) String() string
type ListOrdersReply ¶
type ListOrdersReply struct {
// contains filtered or unexported fields
}
func (*ListOrdersReply) Descriptor
deprecated
func (*ListOrdersReply) Descriptor() ([]byte, []int)
Deprecated: Use ListOrdersReply.ProtoReflect.Descriptor instead.
func (*ListOrdersReply) ProtoMessage ¶
func (*ListOrdersReply) ProtoMessage()
func (*ListOrdersReply) ProtoReflect ¶
func (x *ListOrdersReply) ProtoReflect() protoreflect.Message
func (*ListOrdersReply) Reset ¶
func (x *ListOrdersReply) Reset()
func (*ListOrdersReply) String ¶
func (x *ListOrdersReply) String() string
type ListOrdersRequest ¶
type ListOrdersRequest struct {
// contains filtered or unexported fields
}
func (*ListOrdersRequest) Descriptor
deprecated
func (*ListOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrdersRequest.ProtoReflect.Descriptor instead.
func (*ListOrdersRequest) ProtoMessage ¶
func (*ListOrdersRequest) ProtoMessage()
func (*ListOrdersRequest) ProtoReflect ¶
func (x *ListOrdersRequest) ProtoReflect() protoreflect.Message
func (*ListOrdersRequest) Reset ¶
func (x *ListOrdersRequest) Reset()
func (*ListOrdersRequest) String ¶
func (x *ListOrdersRequest) String() string
type UnimplementedGoodsServer ¶
type UnimplementedGoodsServer struct { }
UnimplementedGoodsServer must be embedded to have forward compatible implementations.
func (UnimplementedGoodsServer) CreateGoods ¶
func (UnimplementedGoodsServer) CreateGoods(context.Context, *CreateGoodsRequest) (*CreateGoodsReply, error)
func (UnimplementedGoodsServer) CreateOrders ¶
func (UnimplementedGoodsServer) CreateOrders(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
func (UnimplementedGoodsServer) CreateOrdersConfirm ¶
func (UnimplementedGoodsServer) CreateOrdersConfirm(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
func (UnimplementedGoodsServer) CreateOrdersTccCancel ¶
func (UnimplementedGoodsServer) CreateOrdersTccCancel(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
func (UnimplementedGoodsServer) CreateOrdersTccTry ¶
func (UnimplementedGoodsServer) CreateOrdersTccTry(context.Context, *CreateOrdersRequest) (*CreateOrdersReply, error)
func (UnimplementedGoodsServer) DeleteGoods ¶
func (UnimplementedGoodsServer) DeleteGoods(context.Context, *DeleteGoodsRequest) (*DeleteGoodsReply, error)
func (UnimplementedGoodsServer) DeleteOrders ¶
func (UnimplementedGoodsServer) DeleteOrders(context.Context, *DeleteOrdersRequest) (*DeleteOrdersReply, error)
func (UnimplementedGoodsServer) GetGoods ¶
func (UnimplementedGoodsServer) GetGoods(context.Context, *GetGoodsRequest) (*GetGoodsReply, error)
func (UnimplementedGoodsServer) GetOrders ¶
func (UnimplementedGoodsServer) GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersReply, error)
func (UnimplementedGoodsServer) ListGoods ¶
func (UnimplementedGoodsServer) ListGoods(context.Context, *ListGoodsRequest) (*ListGoodsReply, error)
func (UnimplementedGoodsServer) ListOrders ¶
func (UnimplementedGoodsServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersReply, error)
func (UnimplementedGoodsServer) UpdateGoods ¶
func (UnimplementedGoodsServer) UpdateGoods(context.Context, *UpdateGoodsRequest) (*UpdateGoodsReply, error)
func (UnimplementedGoodsServer) UpdateOrders ¶
func (UnimplementedGoodsServer) UpdateOrders(context.Context, *UpdateOrdersRequest) (*UpdateOrdersReply, error)
type UnsafeGoodsServer ¶
type UnsafeGoodsServer interface {
// contains filtered or unexported methods
}
UnsafeGoodsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GoodsServer will result in compilation errors.
type UpdateGoodsReply ¶
type UpdateGoodsReply struct {
// contains filtered or unexported fields
}
func (*UpdateGoodsReply) Descriptor
deprecated
func (*UpdateGoodsReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGoodsReply.ProtoReflect.Descriptor instead.
func (*UpdateGoodsReply) ProtoMessage ¶
func (*UpdateGoodsReply) ProtoMessage()
func (*UpdateGoodsReply) ProtoReflect ¶
func (x *UpdateGoodsReply) ProtoReflect() protoreflect.Message
func (*UpdateGoodsReply) Reset ¶
func (x *UpdateGoodsReply) Reset()
func (*UpdateGoodsReply) String ¶
func (x *UpdateGoodsReply) String() string
type UpdateGoodsRequest ¶
type UpdateGoodsRequest struct {
// contains filtered or unexported fields
}
func (*UpdateGoodsRequest) Descriptor
deprecated
func (*UpdateGoodsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGoodsRequest.ProtoReflect.Descriptor instead.
func (*UpdateGoodsRequest) ProtoMessage ¶
func (*UpdateGoodsRequest) ProtoMessage()
func (*UpdateGoodsRequest) ProtoReflect ¶
func (x *UpdateGoodsRequest) ProtoReflect() protoreflect.Message
func (*UpdateGoodsRequest) Reset ¶
func (x *UpdateGoodsRequest) Reset()
func (*UpdateGoodsRequest) String ¶
func (x *UpdateGoodsRequest) String() string
type UpdateOrdersReply ¶
type UpdateOrdersReply struct {
// contains filtered or unexported fields
}
func (*UpdateOrdersReply) Descriptor
deprecated
func (*UpdateOrdersReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrdersReply.ProtoReflect.Descriptor instead.
func (*UpdateOrdersReply) ProtoMessage ¶
func (*UpdateOrdersReply) ProtoMessage()
func (*UpdateOrdersReply) ProtoReflect ¶
func (x *UpdateOrdersReply) ProtoReflect() protoreflect.Message
func (*UpdateOrdersReply) Reset ¶
func (x *UpdateOrdersReply) Reset()
func (*UpdateOrdersReply) String ¶
func (x *UpdateOrdersReply) String() string
type UpdateOrdersRequest ¶
type UpdateOrdersRequest struct {
// contains filtered or unexported fields
}
func (*UpdateOrdersRequest) Descriptor
deprecated
func (*UpdateOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrdersRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrdersRequest) ProtoMessage ¶
func (*UpdateOrdersRequest) ProtoMessage()
func (*UpdateOrdersRequest) ProtoReflect ¶
func (x *UpdateOrdersRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrdersRequest) Reset ¶
func (x *UpdateOrdersRequest) Reset()
func (*UpdateOrdersRequest) String ¶
func (x *UpdateOrdersRequest) String() string