Documentation ¶
Index ¶
- Variables
- type OrderService
- type OrderServiceClient
- type OrderServiceCreateArgs
- func (p *OrderServiceCreateArgs) BLength() int
- func (p *OrderServiceCreateArgs) DeepEqual(ano *OrderServiceCreateArgs) bool
- func (p *OrderServiceCreateArgs) FastRead(buf []byte) (int, error)
- func (p *OrderServiceCreateArgs) FastReadField1(buf []byte) (int, error)
- func (p *OrderServiceCreateArgs) FastReadField2(buf []byte) (int, error)
- func (p *OrderServiceCreateArgs) FastReadField3(buf []byte) (int, error)
- func (p *OrderServiceCreateArgs) FastWrite(buf []byte) int
- func (p *OrderServiceCreateArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OrderServiceCreateArgs) Field1DeepEqual(src string) bool
- func (p *OrderServiceCreateArgs) Field2DeepEqual(src string) bool
- func (p *OrderServiceCreateArgs) Field3DeepEqual(src int32) bool
- func (p *OrderServiceCreateArgs) GetCommodityCode() (v string)
- func (p *OrderServiceCreateArgs) GetCount() (v int32)
- func (p *OrderServiceCreateArgs) GetFirstArgument() interface{}
- func (p *OrderServiceCreateArgs) GetUserId() (v string)
- func (p *OrderServiceCreateArgs) InitDefault()
- func (p *OrderServiceCreateArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *OrderServiceCreateArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *OrderServiceCreateArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *OrderServiceCreateArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *OrderServiceCreateArgs) SetCommodityCode(val string)
- func (p *OrderServiceCreateArgs) SetCount(val int32)
- func (p *OrderServiceCreateArgs) SetUserId(val string)
- func (p *OrderServiceCreateArgs) String() string
- func (p *OrderServiceCreateArgs) Write(oprot thrift.TProtocol) (err error)
- type OrderServiceCreateResult
- func (p *OrderServiceCreateResult) BLength() int
- func (p *OrderServiceCreateResult) DeepEqual(ano *OrderServiceCreateResult) bool
- func (p *OrderServiceCreateResult) FastRead(buf []byte) (int, error)
- func (p *OrderServiceCreateResult) FastWrite(buf []byte) int
- func (p *OrderServiceCreateResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OrderServiceCreateResult) GetResult() interface{}
- func (p *OrderServiceCreateResult) InitDefault()
- func (p *OrderServiceCreateResult) Read(iprot thrift.TProtocol) (err error)
- func (p *OrderServiceCreateResult) String() string
- func (p *OrderServiceCreateResult) Write(oprot thrift.TProtocol) (err error)
- type OrderServiceProcessor
- func (p *OrderServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *OrderServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *OrderServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *OrderServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderServiceClient ¶
type OrderServiceClient struct {
// contains filtered or unexported fields
}
func NewOrderServiceClient ¶
func NewOrderServiceClient(c thrift.TClient) *OrderServiceClient
func NewOrderServiceClientFactory ¶
func NewOrderServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *OrderServiceClient
func NewOrderServiceClientProtocol ¶
func NewOrderServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *OrderServiceClient
func (*OrderServiceClient) Client_ ¶
func (p *OrderServiceClient) Client_() thrift.TClient
type OrderServiceCreateArgs ¶
type OrderServiceCreateArgs struct { UserId string `thrift:"userId,1" frugal:"1,default,string" json:"userId"` CommodityCode string `thrift:"commodityCode,2" frugal:"2,default,string" json:"commodityCode"` Count int32 `thrift:"count,3" frugal:"3,default,i32" json:"count"` }
func NewOrderServiceCreateArgs ¶
func NewOrderServiceCreateArgs() *OrderServiceCreateArgs
func (*OrderServiceCreateArgs) BLength ¶
func (p *OrderServiceCreateArgs) BLength() int
func (*OrderServiceCreateArgs) DeepEqual ¶
func (p *OrderServiceCreateArgs) DeepEqual(ano *OrderServiceCreateArgs) bool
func (*OrderServiceCreateArgs) FastRead ¶
func (p *OrderServiceCreateArgs) FastRead(buf []byte) (int, error)
func (*OrderServiceCreateArgs) FastReadField1 ¶
func (p *OrderServiceCreateArgs) FastReadField1(buf []byte) (int, error)
func (*OrderServiceCreateArgs) FastReadField2 ¶
func (p *OrderServiceCreateArgs) FastReadField2(buf []byte) (int, error)
func (*OrderServiceCreateArgs) FastReadField3 ¶
func (p *OrderServiceCreateArgs) FastReadField3(buf []byte) (int, error)
func (*OrderServiceCreateArgs) FastWrite ¶
func (p *OrderServiceCreateArgs) FastWrite(buf []byte) int
for compatibility
func (*OrderServiceCreateArgs) FastWriteNocopy ¶
func (p *OrderServiceCreateArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OrderServiceCreateArgs) Field1DeepEqual ¶
func (p *OrderServiceCreateArgs) Field1DeepEqual(src string) bool
func (*OrderServiceCreateArgs) Field2DeepEqual ¶
func (p *OrderServiceCreateArgs) Field2DeepEqual(src string) bool
func (*OrderServiceCreateArgs) Field3DeepEqual ¶
func (p *OrderServiceCreateArgs) Field3DeepEqual(src int32) bool
func (*OrderServiceCreateArgs) GetCommodityCode ¶
func (p *OrderServiceCreateArgs) GetCommodityCode() (v string)
func (*OrderServiceCreateArgs) GetCount ¶
func (p *OrderServiceCreateArgs) GetCount() (v int32)
func (*OrderServiceCreateArgs) GetFirstArgument ¶
func (p *OrderServiceCreateArgs) GetFirstArgument() interface{}
func (*OrderServiceCreateArgs) GetUserId ¶
func (p *OrderServiceCreateArgs) GetUserId() (v string)
func (*OrderServiceCreateArgs) InitDefault ¶
func (p *OrderServiceCreateArgs) InitDefault()
func (*OrderServiceCreateArgs) Read ¶
func (p *OrderServiceCreateArgs) Read(iprot thrift.TProtocol) (err error)
func (*OrderServiceCreateArgs) ReadField1 ¶
func (p *OrderServiceCreateArgs) ReadField1(iprot thrift.TProtocol) error
func (*OrderServiceCreateArgs) ReadField2 ¶
func (p *OrderServiceCreateArgs) ReadField2(iprot thrift.TProtocol) error
func (*OrderServiceCreateArgs) ReadField3 ¶
func (p *OrderServiceCreateArgs) ReadField3(iprot thrift.TProtocol) error
func (*OrderServiceCreateArgs) SetCommodityCode ¶
func (p *OrderServiceCreateArgs) SetCommodityCode(val string)
func (*OrderServiceCreateArgs) SetCount ¶
func (p *OrderServiceCreateArgs) SetCount(val int32)
func (*OrderServiceCreateArgs) SetUserId ¶
func (p *OrderServiceCreateArgs) SetUserId(val string)
func (*OrderServiceCreateArgs) String ¶
func (p *OrderServiceCreateArgs) String() string
type OrderServiceCreateResult ¶
type OrderServiceCreateResult struct { }
func NewOrderServiceCreateResult ¶
func NewOrderServiceCreateResult() *OrderServiceCreateResult
func (*OrderServiceCreateResult) BLength ¶
func (p *OrderServiceCreateResult) BLength() int
func (*OrderServiceCreateResult) DeepEqual ¶
func (p *OrderServiceCreateResult) DeepEqual(ano *OrderServiceCreateResult) bool
func (*OrderServiceCreateResult) FastRead ¶
func (p *OrderServiceCreateResult) FastRead(buf []byte) (int, error)
func (*OrderServiceCreateResult) FastWrite ¶
func (p *OrderServiceCreateResult) FastWrite(buf []byte) int
for compatibility
func (*OrderServiceCreateResult) FastWriteNocopy ¶
func (p *OrderServiceCreateResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OrderServiceCreateResult) GetResult ¶
func (p *OrderServiceCreateResult) GetResult() interface{}
func (*OrderServiceCreateResult) InitDefault ¶
func (p *OrderServiceCreateResult) InitDefault()
func (*OrderServiceCreateResult) Read ¶
func (p *OrderServiceCreateResult) Read(iprot thrift.TProtocol) (err error)
func (*OrderServiceCreateResult) String ¶
func (p *OrderServiceCreateResult) String() string
type OrderServiceProcessor ¶
type OrderServiceProcessor struct {
// contains filtered or unexported fields
}
func NewOrderServiceProcessor ¶
func NewOrderServiceProcessor(handler OrderService) *OrderServiceProcessor
func (*OrderServiceProcessor) AddToProcessorMap ¶
func (p *OrderServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*OrderServiceProcessor) GetProcessorFunction ¶
func (p *OrderServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*OrderServiceProcessor) Process ¶
func (p *OrderServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*OrderServiceProcessor) ProcessorMap ¶
func (p *OrderServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.