Documentation
¶
Overview ¶
Code generated by thriftgo (0.3.15) (fastgo). DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"`
Client string `thrift:"Client,4" json:"Client"`
TrafficEnv *TrafficEnv `thrift:"TrafficEnv,5,optional" json:"TrafficEnv,omitempty"`
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()
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) InitDefault ¶
func (p *BaseResp) InitDefault()
type TrafficEnv ¶
type TrafficEnv struct {
Open bool `thrift:"Open,1" json:"Open"`
Env string `thrift:"Env,2" json:"Env"`
}
func NewTrafficEnv ¶
func NewTrafficEnv() *TrafficEnv
func (*TrafficEnv) BLength ¶
func (p *TrafficEnv) BLength() int
func (*TrafficEnv) FastWrite ¶
func (p *TrafficEnv) FastWrite(b []byte) int
func (*TrafficEnv) FastWriteNocopy ¶
func (p *TrafficEnv) FastWriteNocopy(b []byte, w thrift.NocopyWriter) int
func (*TrafficEnv) InitDefault ¶
func (p *TrafficEnv) InitDefault()
func (*TrafficEnv) String ¶
func (p *TrafficEnv) String() string
Click to show internal directories.
Click to hide internal directories.