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 int64) bool
- func (p *BaseResp) Field2DeepEqual(src string) bool
- func (p *BaseResp) Field3DeepEqual(src map[string]string) bool
- func (p *BaseResp) GetErrCode() (v int64)
- func (p *BaseResp) GetErrMsg() (v string)
- func (p *BaseResp) GetExtra() (v map[string]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) SetErrCode(val int64)
- func (p *BaseResp) SetErrMsg(val string)
- func (p *BaseResp) SetExtra(val map[string]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 { ErrCode int64 `thrift:"errCode,1,required" json:"errCode"` ErrMsg string `thrift:"errMsg,2,required" json:"errMsg"` 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) GetErrCode ¶
func (*BaseResp) IsSetExtra ¶
func (*BaseResp) SetErrCode ¶
Click to show internal directories.
Click to hide internal directories.