Documentation ¶
Index ¶
- Variables
- type GreetRequest
- func (p *GreetRequest) BLength() int
- func (p *GreetRequest) DeepEqual(ano *GreetRequest) bool
- func (p *GreetRequest) FastRead(buf []byte) (int, error)
- func (p *GreetRequest) FastReadField1(buf []byte) (int, error)
- func (p *GreetRequest) FastReadField2(buf []byte) (int, error)
- func (p *GreetRequest) FastReadField3(buf []byte) (int, error)
- func (p *GreetRequest) FastWrite(buf []byte) int
- func (p *GreetRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GreetRequest) Field1DeepEqual(src string) bool
- func (p *GreetRequest) Field2DeepEqual(src string) bool
- func (p *GreetRequest) Field3DeepEqual(src string) bool
- func (p *GreetRequest) GetGender() (v string)
- func (p *GreetRequest) GetGreet() (v string)
- func (p *GreetRequest) GetName() (v string)
- func (p *GreetRequest) InitDefault()
- func (p *GreetRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GreetRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GreetRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *GreetRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *GreetRequest) SetGender(val string)
- func (p *GreetRequest) SetGreet(val string)
- func (p *GreetRequest) SetName(val string)
- func (p *GreetRequest) String() string
- func (p *GreetRequest) Write(oprot thrift.TProtocol) (err error)
- type GreetResponse
- func (p *GreetResponse) BLength() int
- func (p *GreetResponse) DeepEqual(ano *GreetResponse) bool
- func (p *GreetResponse) FastRead(buf []byte) (int, error)
- func (p *GreetResponse) FastReadField1(buf []byte) (int, error)
- func (p *GreetResponse) FastReadField2(buf []byte) (int, error)
- func (p *GreetResponse) FastWrite(buf []byte) int
- func (p *GreetResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GreetResponse) Field1DeepEqual(src bool) bool
- func (p *GreetResponse) Field2DeepEqual(src string) bool
- func (p *GreetResponse) GetMsg() (v string)
- func (p *GreetResponse) GetOk() (v bool)
- func (p *GreetResponse) InitDefault()
- func (p *GreetResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GreetResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GreetResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GreetResponse) SetMsg(val string)
- func (p *GreetResponse) SetOk(val bool)
- func (p *GreetResponse) String() string
- func (p *GreetResponse) Write(oprot thrift.TProtocol) (err error)
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 GreetRequest ¶
type GreetRequest struct { Greet string `thrift:"Greet,1" frugal:"1,default,string" json:"Greet"` Name string `thrift:"Name,2" frugal:"2,default,string" json:"Name"` Gender string `thrift:"Gender,3" frugal:"3,default,string" json:"Gender"` }
func NewGreetRequest ¶
func NewGreetRequest() *GreetRequest
func (*GreetRequest) BLength ¶
func (p *GreetRequest) BLength() int
func (*GreetRequest) DeepEqual ¶
func (p *GreetRequest) DeepEqual(ano *GreetRequest) bool
func (*GreetRequest) FastReadField1 ¶
func (p *GreetRequest) FastReadField1(buf []byte) (int, error)
func (*GreetRequest) FastReadField2 ¶
func (p *GreetRequest) FastReadField2(buf []byte) (int, error)
func (*GreetRequest) FastReadField3 ¶
func (p *GreetRequest) FastReadField3(buf []byte) (int, error)
func (*GreetRequest) FastWriteNocopy ¶
func (p *GreetRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GreetRequest) Field1DeepEqual ¶
func (p *GreetRequest) Field1DeepEqual(src string) bool
func (*GreetRequest) Field2DeepEqual ¶
func (p *GreetRequest) Field2DeepEqual(src string) bool
func (*GreetRequest) Field3DeepEqual ¶
func (p *GreetRequest) Field3DeepEqual(src string) bool
func (*GreetRequest) GetGender ¶
func (p *GreetRequest) GetGender() (v string)
func (*GreetRequest) GetGreet ¶
func (p *GreetRequest) GetGreet() (v string)
func (*GreetRequest) GetName ¶
func (p *GreetRequest) GetName() (v string)
func (*GreetRequest) InitDefault ¶
func (p *GreetRequest) InitDefault()
func (*GreetRequest) ReadField1 ¶
func (p *GreetRequest) ReadField1(iprot thrift.TProtocol) error
func (*GreetRequest) ReadField2 ¶
func (p *GreetRequest) ReadField2(iprot thrift.TProtocol) error
func (*GreetRequest) ReadField3 ¶
func (p *GreetRequest) ReadField3(iprot thrift.TProtocol) error
func (*GreetRequest) SetGender ¶
func (p *GreetRequest) SetGender(val string)
func (*GreetRequest) SetGreet ¶
func (p *GreetRequest) SetGreet(val string)
func (*GreetRequest) SetName ¶
func (p *GreetRequest) SetName(val string)
func (*GreetRequest) String ¶
func (p *GreetRequest) String() string
type GreetResponse ¶
type GreetResponse struct { Ok bool `thrift:"Ok,1" frugal:"1,default,bool" json:"Ok"` Msg string `thrift:"Msg,2" frugal:"2,default,string" json:"Msg"` }
func NewGreetResponse ¶
func NewGreetResponse() *GreetResponse
func (*GreetResponse) BLength ¶
func (p *GreetResponse) BLength() int
func (*GreetResponse) DeepEqual ¶
func (p *GreetResponse) DeepEqual(ano *GreetResponse) bool
func (*GreetResponse) FastReadField1 ¶
func (p *GreetResponse) FastReadField1(buf []byte) (int, error)
func (*GreetResponse) FastReadField2 ¶
func (p *GreetResponse) FastReadField2(buf []byte) (int, error)
func (*GreetResponse) FastWrite ¶
func (p *GreetResponse) FastWrite(buf []byte) int
for compatibility
func (*GreetResponse) FastWriteNocopy ¶
func (p *GreetResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GreetResponse) Field1DeepEqual ¶
func (p *GreetResponse) Field1DeepEqual(src bool) bool
func (*GreetResponse) Field2DeepEqual ¶
func (p *GreetResponse) Field2DeepEqual(src string) bool
func (*GreetResponse) GetMsg ¶
func (p *GreetResponse) GetMsg() (v string)
func (*GreetResponse) GetOk ¶
func (p *GreetResponse) GetOk() (v bool)
func (*GreetResponse) InitDefault ¶
func (p *GreetResponse) InitDefault()
func (*GreetResponse) ReadField1 ¶
func (p *GreetResponse) ReadField1(iprot thrift.TProtocol) error
func (*GreetResponse) ReadField2 ¶
func (p *GreetResponse) ReadField2(iprot thrift.TProtocol) error
func (*GreetResponse) SetMsg ¶
func (p *GreetResponse) SetMsg(val string)
func (*GreetResponse) SetOk ¶
func (p *GreetResponse) SetOk(val bool)
func (*GreetResponse) String ¶
func (p *GreetResponse) String() string
Click to show internal directories.
Click to hide internal directories.