Documentation ¶
Index ¶
- Variables
- type BaseResponse
- func (p *BaseResponse) BLength() int
- func (p *BaseResponse) DeepEqual(ano *BaseResponse) bool
- func (p *BaseResponse) FastRead(buf []byte) (int, error)
- func (p *BaseResponse) FastReadField1(buf []byte) (int, error)
- func (p *BaseResponse) FastReadField2(buf []byte) (int, error)
- func (p *BaseResponse) FastWrite(buf []byte) int
- func (p *BaseResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BaseResponse) Field1DeepEqual(src int64) bool
- func (p *BaseResponse) Field2DeepEqual(src string) bool
- func (p *BaseResponse) GetStatusCode() (v int64)
- func (p *BaseResponse) GetStatusMsg() (v string)
- func (p *BaseResponse) InitDefault()
- func (p *BaseResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *BaseResponse) SetStatusCode(val int64)
- func (p *BaseResponse) SetStatusMsg(val string)
- func (p *BaseResponse) String() string
- func (p *BaseResponse) Write(oprot thrift.TProtocol) (err error)
- type NilResponse
- func (p *NilResponse) BLength() int
- func (p *NilResponse) DeepEqual(ano *NilResponse) bool
- func (p *NilResponse) FastRead(buf []byte) (int, error)
- func (p *NilResponse) FastWrite(buf []byte) int
- func (p *NilResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NilResponse) InitDefault()
- func (p *NilResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *NilResponse) String() string
- func (p *NilResponse) Write(oprot thrift.TProtocol) (err error)
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field1DeepEqual(src string) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src string) bool
- func (p *User) GetPassword() (v string)
- func (p *User) GetUsername() (v string)
- func (p *User) GetUuid() (v string)
- func (p *User) InitDefault()
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) SetPassword(val string)
- func (p *User) SetUsername(val string)
- func (p *User) SetUuid(val string)
- func (p *User) String() string
- func (p *User) 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 BaseResponse ¶
type BaseResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` }
func NewBaseResponse ¶
func NewBaseResponse() *BaseResponse
func (*BaseResponse) BLength ¶
func (p *BaseResponse) BLength() int
func (*BaseResponse) DeepEqual ¶
func (p *BaseResponse) DeepEqual(ano *BaseResponse) bool
func (*BaseResponse) FastReadField1 ¶
func (p *BaseResponse) FastReadField1(buf []byte) (int, error)
func (*BaseResponse) FastReadField2 ¶
func (p *BaseResponse) FastReadField2(buf []byte) (int, error)
func (*BaseResponse) FastWriteNocopy ¶
func (p *BaseResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BaseResponse) Field1DeepEqual ¶
func (p *BaseResponse) Field1DeepEqual(src int64) bool
func (*BaseResponse) Field2DeepEqual ¶
func (p *BaseResponse) Field2DeepEqual(src string) bool
func (*BaseResponse) GetStatusCode ¶
func (p *BaseResponse) GetStatusCode() (v int64)
func (*BaseResponse) GetStatusMsg ¶
func (p *BaseResponse) GetStatusMsg() (v string)
func (*BaseResponse) InitDefault ¶
func (p *BaseResponse) InitDefault()
func (*BaseResponse) ReadField1 ¶
func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error
func (*BaseResponse) ReadField2 ¶
func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error
func (*BaseResponse) SetStatusCode ¶
func (p *BaseResponse) SetStatusCode(val int64)
func (*BaseResponse) SetStatusMsg ¶
func (p *BaseResponse) SetStatusMsg(val string)
func (*BaseResponse) String ¶
func (p *BaseResponse) String() string
type NilResponse ¶
type NilResponse struct { }
func NewNilResponse ¶
func NewNilResponse() *NilResponse
func (*NilResponse) BLength ¶
func (p *NilResponse) BLength() int
func (*NilResponse) DeepEqual ¶
func (p *NilResponse) DeepEqual(ano *NilResponse) bool
func (*NilResponse) FastWriteNocopy ¶
func (p *NilResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*NilResponse) InitDefault ¶
func (p *NilResponse) InitDefault()
func (*NilResponse) String ¶
func (p *NilResponse) String() string
type User ¶
type User struct { Uuid string `thrift:"uuid,1" frugal:"1,default,string" json:"uuid"` Username string `thrift:"username,2" frugal:"2,default,string" json:"username"` Password string `thrift:"password,3" frugal:"3,default,string" json:"password"` }
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) GetPassword ¶
func (*User) GetUsername ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) SetPassword ¶
func (*User) SetUsername ¶
Click to show internal directories.
Click to hide internal directories.