Documentation ¶
Index ¶
- type BaseResponse
- func (p *BaseResponse) GetStatusCode() (v int64)
- func (p *BaseResponse) GetStatusMsg() (v string)
- 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) String() string
- func (p *BaseResponse) Write(oprot thrift.TProtocol) (err error)
- type NilResponse
- type User
- func (p *User) GetPassword() (v string)
- func (p *User) GetUUID() (v string)
- func (p *User) GetUsername() (v string)
- 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) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` }
func NewBaseResponse ¶
func NewBaseResponse() *BaseResponse
func (*BaseResponse) GetStatusCode ¶
func (p *BaseResponse) GetStatusCode() (v int64)
func (*BaseResponse) GetStatusMsg ¶
func (p *BaseResponse) GetStatusMsg() (v string)
func (*BaseResponse) ReadField1 ¶
func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error
func (*BaseResponse) ReadField2 ¶
func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error
func (*BaseResponse) String ¶
func (p *BaseResponse) String() string
type NilResponse ¶
type NilResponse struct { }
func NewNilResponse ¶
func NewNilResponse() *NilResponse
func (*NilResponse) String ¶
func (p *NilResponse) String() string
type User ¶
type User struct { UUID string `thrift:"uuid,1" form:"uuid" json:"uuid" query:"uuid"` Username string `thrift:"username,2" form:"username" json:"username" query:"username"` Password string `thrift:"password,3" form:"password" json:"password" query:"password"` }
func (*User) GetPassword ¶
func (*User) GetUsername ¶
Click to show internal directories.
Click to hide internal directories.