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) FastReadField3(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) Field3DeepEqual(src map[string]string) bool
- func (p *BaseResp) GetExtra() (v map[string]string)
- func (p *BaseResp) GetStatusCode() (v int32)
- func (p *BaseResp) GetStatusMessage() (v string)
- func (p *BaseResp) IsSetExtra() bool
- 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) ReadField3(iprot thrift.TProtocol) error
- func (p *BaseResp) SetExtra(val map[string]string)
- 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 BaseResp_Extra_DEFAULT map[string]string
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" json:"StatusMessage"` StatusCode int32 `thrift:"StatusCode,2" json:"StatusCode"` Extra map[string]string `thrift:"Extra,3,optional" json:"Extra,omitempty"` }
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) IsSetExtra ¶
func (*BaseResp) SetStatusCode ¶
func (*BaseResp) SetStatusMessage ¶
Click to show internal directories.
Click to hide internal directories.