Documentation ¶
Overview ¶
Code generated by thriftgo (0.3.15) (fastgo). DO NOT EDIT.
Index ¶
- Variables
- type Base
- func (p *Base) BLength() int
- func (p *Base) FastRead(b []byte) (off int, err error)
- func (p *Base) FastWrite(b []byte) int
- func (p *Base) FastWriteNocopy(b []byte, w thrift.NocopyWriter) int
- func (p *Base) GetAddr() (v string)
- func (p *Base) GetCaller() (v string)
- func (p *Base) GetExtra() (v map[string]string)
- func (p *Base) GetLogID() (v string)
- func (p *Base) InitDefault()
- func (p *Base) IsSetExtra() bool
- func (p *Base) SetAddr(val string)
- func (p *Base) SetCaller(val string)
- func (p *Base) SetExtra(val map[string]string)
- func (p *Base) SetLogID(val string)
- func (p *Base) String() string
- type BaseResp
- func (p *BaseResp) BLength() int
- func (p *BaseResp) FastRead(b []byte) (off int, err error)
- func (p *BaseResp) FastWrite(b []byte) int
- func (p *BaseResp) FastWriteNocopy(b []byte, w thrift.NocopyWriter) int
- func (p *BaseResp) GetExtra() (v map[string]string)
- func (p *BaseResp) GetStatusCode() (v int32)
- func (p *BaseResp) GetStatusMessage() (v string)
- func (p *BaseResp) InitDefault()
- func (p *BaseResp) IsSetExtra() bool
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseResp_Extra_DEFAULT map[string]string
View Source
var Base_Extra_DEFAULT map[string]string
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { LogID string `thrift:"LogID,1" json:"LogID"` Caller string `thrift:"Caller,2" json:"Caller"` Addr string `thrift:"Addr,3" json:"Addr"` Extra map[string]string `thrift:"Extra,6,optional" json:"Extra,omitempty"` }
func (*Base) FastWriteNocopy ¶
func (p *Base) FastWriteNocopy(b []byte, w thrift.NocopyWriter) int
func (*Base) InitDefault ¶
func (p *Base) InitDefault()
func (*Base) IsSetExtra ¶ added in v0.1.1
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(b []byte, w thrift.NocopyWriter) int
func (*BaseResp) GetStatusCode ¶ added in v0.1.1
func (*BaseResp) GetStatusMessage ¶ added in v0.1.1
func (*BaseResp) InitDefault ¶
func (p *BaseResp) InitDefault()
func (*BaseResp) IsSetExtra ¶ added in v0.1.1
func (*BaseResp) SetStatusCode ¶ added in v0.1.1
func (*BaseResp) SetStatusMessage ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.