Documentation ¶
Index ¶
- Variables
- type BaseResp
- func (p *BaseResp) BLength() int
- func (p *BaseResp) DeepEqual(ano *BaseResp) bool
- func (p *BaseResp) FastRead(buf []byte) (int, error)
- func (p *BaseResp) FastReadField1(buf []byte) (int, error)
- func (p *BaseResp) FastReadField2(buf []byte) (int, error)
- func (p *BaseResp) FastWrite(buf []byte) int
- func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BaseResp) Field1DeepEqual(src string) bool
- func (p *BaseResp) Field2DeepEqual(src int32) bool
- func (p *BaseResp) GetStatusCode() (v int32)
- func (p *BaseResp) GetStatusMessage() (v string)
- func (p *BaseResp) InitDefault()
- func (p *BaseResp) Read(iprot thrift.TProtocol) (err error)
- func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error
- func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error
- func (p *BaseResp) SetStatusCode(val int32)
- func (p *BaseResp) SetStatusMessage(val string)
- func (p *BaseResp) String() string
- func (p *BaseResp) 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 BaseResp ¶
type BaseResp struct { StatusMessage string `thrift:"StatusMessage,1" frugal:"1,default,string" json:"StatusMessage"` StatusCode int32 `thrift:"StatusCode,2" frugal:"2,default,i32" json:"StatusCode"` }
func NewBaseResp ¶
func NewBaseResp() *BaseResp
func (*BaseResp) FastWriteNocopy ¶
func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BaseResp) Field1DeepEqual ¶
func (*BaseResp) Field2DeepEqual ¶
func (*BaseResp) GetStatusCode ¶
func (*BaseResp) GetStatusMessage ¶
func (*BaseResp) InitDefault ¶
func (p *BaseResp) InitDefault()
func (*BaseResp) SetStatusCode ¶
func (*BaseResp) SetStatusMessage ¶
Click to show internal directories.
Click to hide internal directories.