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 int64) bool
- func (p *BaseResp) GetServiceTime() (v int64)
- func (p *BaseResp) GetStatusCode() (v int64)
- func (p *BaseResp) GetStatusMessage() (v string)
- func (p *BaseResp) IsValid() error
- 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) SetServiceTime(val int64)
- func (p *BaseResp) SetStatusCode(val int64)
- func (p *BaseResp) SetStatusMessage(val string)
- func (p *BaseResp) String() string
- func (p *BaseResp) Write(oprot thrift.TProtocol) (err error)
- type CheckUserRequest
- func (p *CheckUserRequest) BLength() int
- func (p *CheckUserRequest) DeepEqual(ano *CheckUserRequest) bool
- func (p *CheckUserRequest) FastRead(buf []byte) (int, error)
- func (p *CheckUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *CheckUserRequest) FastReadField2(buf []byte) (int, error)
- func (p *CheckUserRequest) FastWrite(buf []byte) int
- func (p *CheckUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CheckUserRequest) Field1DeepEqual(src string) bool
- func (p *CheckUserRequest) Field2DeepEqual(src string) bool
- func (p *CheckUserRequest) GetPassword() (v string)
- func (p *CheckUserRequest) GetUsername() (v string)
- func (p *CheckUserRequest) IsValid() error
- func (p *CheckUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CheckUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CheckUserRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CheckUserRequest) SetPassword(val string)
- func (p *CheckUserRequest) SetUsername(val string)
- func (p *CheckUserRequest) String() string
- func (p *CheckUserRequest) Write(oprot thrift.TProtocol) (err error)
- type CheckUserResponse
- func (p *CheckUserResponse) BLength() int
- func (p *CheckUserResponse) DeepEqual(ano *CheckUserResponse) bool
- func (p *CheckUserResponse) FastRead(buf []byte) (int, error)
- func (p *CheckUserResponse) FastReadField1(buf []byte) (int, error)
- func (p *CheckUserResponse) FastReadField2(buf []byte) (int, error)
- func (p *CheckUserResponse) FastWrite(buf []byte) int
- func (p *CheckUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CheckUserResponse) Field1DeepEqual(src int64) bool
- func (p *CheckUserResponse) Field2DeepEqual(src *BaseResp) bool
- func (p *CheckUserResponse) GetBaseResp() (v *BaseResp)
- func (p *CheckUserResponse) GetUserId() (v int64)
- func (p *CheckUserResponse) IsSetBaseResp() bool
- func (p *CheckUserResponse) IsValid() error
- func (p *CheckUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CheckUserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CheckUserResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CheckUserResponse) SetBaseResp(val *BaseResp)
- func (p *CheckUserResponse) SetUserId(val int64)
- func (p *CheckUserResponse) String() string
- func (p *CheckUserResponse) Write(oprot thrift.TProtocol) (err error)
- type CreateUserRequest
- func (p *CreateUserRequest) BLength() int
- func (p *CreateUserRequest) DeepEqual(ano *CreateUserRequest) bool
- func (p *CreateUserRequest) FastRead(buf []byte) (int, error)
- func (p *CreateUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *CreateUserRequest) FastReadField2(buf []byte) (int, error)
- func (p *CreateUserRequest) FastWrite(buf []byte) int
- func (p *CreateUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateUserRequest) Field1DeepEqual(src string) bool
- func (p *CreateUserRequest) Field2DeepEqual(src string) bool
- func (p *CreateUserRequest) GetPassword() (v string)
- func (p *CreateUserRequest) GetUsername() (v string)
- func (p *CreateUserRequest) IsValid() error
- func (p *CreateUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateUserRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateUserRequest) SetPassword(val string)
- func (p *CreateUserRequest) SetUsername(val string)
- func (p *CreateUserRequest) String() string
- func (p *CreateUserRequest) Write(oprot thrift.TProtocol) (err error)
- type CreateUserResponse
- func (p *CreateUserResponse) BLength() int
- func (p *CreateUserResponse) DeepEqual(ano *CreateUserResponse) bool
- func (p *CreateUserResponse) FastRead(buf []byte) (int, error)
- func (p *CreateUserResponse) FastReadField1(buf []byte) (int, error)
- func (p *CreateUserResponse) FastWrite(buf []byte) int
- func (p *CreateUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateUserResponse) Field1DeepEqual(src *BaseResp) bool
- func (p *CreateUserResponse) GetBaseResp() (v *BaseResp)
- func (p *CreateUserResponse) IsSetBaseResp() bool
- func (p *CreateUserResponse) IsValid() error
- func (p *CreateUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateUserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateUserResponse) SetBaseResp(val *BaseResp)
- func (p *CreateUserResponse) String() string
- func (p *CreateUserResponse) Write(oprot thrift.TProtocol) (err error)
- type ErrCode
- type MGetUserRequest
- func (p *MGetUserRequest) BLength() int
- func (p *MGetUserRequest) DeepEqual(ano *MGetUserRequest) bool
- func (p *MGetUserRequest) FastRead(buf []byte) (int, error)
- func (p *MGetUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *MGetUserRequest) FastWrite(buf []byte) int
- func (p *MGetUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MGetUserRequest) Field1DeepEqual(src []int64) bool
- func (p *MGetUserRequest) GetUserIds() (v []int64)
- func (p *MGetUserRequest) IsValid() error
- func (p *MGetUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MGetUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MGetUserRequest) SetUserIds(val []int64)
- func (p *MGetUserRequest) String() string
- func (p *MGetUserRequest) Write(oprot thrift.TProtocol) (err error)
- type MGetUserResponse
- func (p *MGetUserResponse) BLength() int
- func (p *MGetUserResponse) DeepEqual(ano *MGetUserResponse) bool
- func (p *MGetUserResponse) FastRead(buf []byte) (int, error)
- func (p *MGetUserResponse) FastReadField1(buf []byte) (int, error)
- func (p *MGetUserResponse) FastReadField2(buf []byte) (int, error)
- func (p *MGetUserResponse) FastWrite(buf []byte) int
- func (p *MGetUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MGetUserResponse) Field1DeepEqual(src []*User) bool
- func (p *MGetUserResponse) Field2DeepEqual(src *BaseResp) bool
- func (p *MGetUserResponse) GetBaseResp() (v *BaseResp)
- func (p *MGetUserResponse) GetUsers() (v []*User)
- func (p *MGetUserResponse) IsSetBaseResp() bool
- func (p *MGetUserResponse) IsValid() error
- func (p *MGetUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MGetUserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MGetUserResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MGetUserResponse) SetBaseResp(val *BaseResp)
- func (p *MGetUserResponse) SetUsers(val []*User)
- func (p *MGetUserResponse) String() string
- func (p *MGetUserResponse) 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 int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src string) bool
- func (p *User) GetAvatar() (v string)
- func (p *User) GetUserId() (v int64)
- func (p *User) GetUsername() (v string)
- func (p *User) IsValid() error
- 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) SetAvatar(val string)
- func (p *User) SetUserId(val int64)
- func (p *User) SetUsername(val string)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type UserService
- type UserServiceCheckUserArgs
- func (p *UserServiceCheckUserArgs) BLength() int
- func (p *UserServiceCheckUserArgs) DeepEqual(ano *UserServiceCheckUserArgs) bool
- func (p *UserServiceCheckUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceCheckUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceCheckUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceCheckUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceCheckUserArgs) Field1DeepEqual(src *CheckUserRequest) bool
- func (p *UserServiceCheckUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceCheckUserArgs) GetReq() (v *CheckUserRequest)
- func (p *UserServiceCheckUserArgs) IsSetReq() bool
- func (p *UserServiceCheckUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceCheckUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceCheckUserArgs) SetReq(val *CheckUserRequest)
- func (p *UserServiceCheckUserArgs) String() string
- func (p *UserServiceCheckUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceCheckUserResult
- func (p *UserServiceCheckUserResult) BLength() int
- func (p *UserServiceCheckUserResult) DeepEqual(ano *UserServiceCheckUserResult) bool
- func (p *UserServiceCheckUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceCheckUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceCheckUserResult) FastWrite(buf []byte) int
- func (p *UserServiceCheckUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceCheckUserResult) Field0DeepEqual(src *CheckUserResponse) bool
- func (p *UserServiceCheckUserResult) GetResult() interface{}
- func (p *UserServiceCheckUserResult) GetSuccess() (v *CheckUserResponse)
- func (p *UserServiceCheckUserResult) IsSetSuccess() bool
- func (p *UserServiceCheckUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceCheckUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceCheckUserResult) SetSuccess(x interface{})
- func (p *UserServiceCheckUserResult) String() string
- func (p *UserServiceCheckUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceClient
- func (p *UserServiceClient) CheckUser(ctx context.Context, req *CheckUserRequest) (r *CheckUserResponse, err error)
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) CreateUser(ctx context.Context, req *CreateUserRequest) (r *CreateUserResponse, err error)
- func (p *UserServiceClient) MGetUser(ctx context.Context, req *MGetUserRequest) (r *MGetUserResponse, err error)
- type UserServiceCreateUserArgs
- func (p *UserServiceCreateUserArgs) BLength() int
- func (p *UserServiceCreateUserArgs) DeepEqual(ano *UserServiceCreateUserArgs) bool
- func (p *UserServiceCreateUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceCreateUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceCreateUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceCreateUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceCreateUserArgs) Field1DeepEqual(src *CreateUserRequest) bool
- func (p *UserServiceCreateUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceCreateUserArgs) GetReq() (v *CreateUserRequest)
- func (p *UserServiceCreateUserArgs) IsSetReq() bool
- func (p *UserServiceCreateUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceCreateUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceCreateUserArgs) SetReq(val *CreateUserRequest)
- func (p *UserServiceCreateUserArgs) String() string
- func (p *UserServiceCreateUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceCreateUserResult
- func (p *UserServiceCreateUserResult) BLength() int
- func (p *UserServiceCreateUserResult) DeepEqual(ano *UserServiceCreateUserResult) bool
- func (p *UserServiceCreateUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceCreateUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceCreateUserResult) FastWrite(buf []byte) int
- func (p *UserServiceCreateUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceCreateUserResult) Field0DeepEqual(src *CreateUserResponse) bool
- func (p *UserServiceCreateUserResult) GetResult() interface{}
- func (p *UserServiceCreateUserResult) GetSuccess() (v *CreateUserResponse)
- func (p *UserServiceCreateUserResult) IsSetSuccess() bool
- func (p *UserServiceCreateUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceCreateUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceCreateUserResult) SetSuccess(x interface{})
- func (p *UserServiceCreateUserResult) String() string
- func (p *UserServiceCreateUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceMGetUserArgs
- func (p *UserServiceMGetUserArgs) BLength() int
- func (p *UserServiceMGetUserArgs) DeepEqual(ano *UserServiceMGetUserArgs) bool
- func (p *UserServiceMGetUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceMGetUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceMGetUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceMGetUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceMGetUserArgs) Field1DeepEqual(src *MGetUserRequest) bool
- func (p *UserServiceMGetUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceMGetUserArgs) GetReq() (v *MGetUserRequest)
- func (p *UserServiceMGetUserArgs) IsSetReq() bool
- func (p *UserServiceMGetUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceMGetUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceMGetUserArgs) SetReq(val *MGetUserRequest)
- func (p *UserServiceMGetUserArgs) String() string
- func (p *UserServiceMGetUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceMGetUserResult
- func (p *UserServiceMGetUserResult) BLength() int
- func (p *UserServiceMGetUserResult) DeepEqual(ano *UserServiceMGetUserResult) bool
- func (p *UserServiceMGetUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceMGetUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceMGetUserResult) FastWrite(buf []byte) int
- func (p *UserServiceMGetUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceMGetUserResult) Field0DeepEqual(src *MGetUserResponse) bool
- func (p *UserServiceMGetUserResult) GetResult() interface{}
- func (p *UserServiceMGetUserResult) GetSuccess() (v *MGetUserResponse)
- func (p *UserServiceMGetUserResult) IsSetSuccess() bool
- func (p *UserServiceMGetUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceMGetUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceMGetUserResult) SetSuccess(x interface{})
- func (p *UserServiceMGetUserResult) String() string
- func (p *UserServiceMGetUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceProcessor
- func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
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 BaseResp ¶
type BaseResp struct { StatusCode int64 `thrift:"status_code,1" json:"status_code"` StatusMessage string `thrift:"status_message,2" json:"status_message"` ServiceTime int64 `thrift:"service_time,3" json:"service_time"` }
var CheckUserResponse_BaseResp_DEFAULT *BaseResp
var CreateUserResponse_BaseResp_DEFAULT *BaseResp
var MGetUserResponse_BaseResp_DEFAULT *BaseResp
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) Field3DeepEqual ¶
func (*BaseResp) GetServiceTime ¶
func (*BaseResp) GetStatusCode ¶
func (*BaseResp) GetStatusMessage ¶
func (*BaseResp) SetServiceTime ¶
func (*BaseResp) SetStatusCode ¶
func (*BaseResp) SetStatusMessage ¶
type CheckUserRequest ¶
type CheckUserRequest struct { Username string `thrift:"username,1" json:"username"` Password string `thrift:"password,2" json:"password"` }
var UserServiceCheckUserArgs_Req_DEFAULT *CheckUserRequest
func NewCheckUserRequest ¶
func NewCheckUserRequest() *CheckUserRequest
func (*CheckUserRequest) BLength ¶
func (p *CheckUserRequest) BLength() int
func (*CheckUserRequest) DeepEqual ¶
func (p *CheckUserRequest) DeepEqual(ano *CheckUserRequest) bool
func (*CheckUserRequest) FastReadField1 ¶
func (p *CheckUserRequest) FastReadField1(buf []byte) (int, error)
func (*CheckUserRequest) FastReadField2 ¶
func (p *CheckUserRequest) FastReadField2(buf []byte) (int, error)
func (*CheckUserRequest) FastWrite ¶
func (p *CheckUserRequest) FastWrite(buf []byte) int
for compatibility
func (*CheckUserRequest) FastWriteNocopy ¶
func (p *CheckUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CheckUserRequest) Field1DeepEqual ¶
func (p *CheckUserRequest) Field1DeepEqual(src string) bool
func (*CheckUserRequest) Field2DeepEqual ¶
func (p *CheckUserRequest) Field2DeepEqual(src string) bool
func (*CheckUserRequest) GetPassword ¶
func (p *CheckUserRequest) GetPassword() (v string)
func (*CheckUserRequest) GetUsername ¶
func (p *CheckUserRequest) GetUsername() (v string)
func (*CheckUserRequest) IsValid ¶
func (p *CheckUserRequest) IsValid() error
func (*CheckUserRequest) ReadField1 ¶
func (p *CheckUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*CheckUserRequest) ReadField2 ¶
func (p *CheckUserRequest) ReadField2(iprot thrift.TProtocol) error
func (*CheckUserRequest) SetPassword ¶
func (p *CheckUserRequest) SetPassword(val string)
func (*CheckUserRequest) SetUsername ¶
func (p *CheckUserRequest) SetUsername(val string)
func (*CheckUserRequest) String ¶
func (p *CheckUserRequest) String() string
type CheckUserResponse ¶
type CheckUserResponse struct { UserId int64 `thrift:"user_id,1" json:"user_id"` BaseResp *BaseResp `thrift:"base_resp,2" json:"base_resp"` }
var UserServiceCheckUserResult_Success_DEFAULT *CheckUserResponse
func NewCheckUserResponse ¶
func NewCheckUserResponse() *CheckUserResponse
func (*CheckUserResponse) BLength ¶
func (p *CheckUserResponse) BLength() int
func (*CheckUserResponse) DeepEqual ¶
func (p *CheckUserResponse) DeepEqual(ano *CheckUserResponse) bool
func (*CheckUserResponse) FastReadField1 ¶
func (p *CheckUserResponse) FastReadField1(buf []byte) (int, error)
func (*CheckUserResponse) FastReadField2 ¶
func (p *CheckUserResponse) FastReadField2(buf []byte) (int, error)
func (*CheckUserResponse) FastWrite ¶
func (p *CheckUserResponse) FastWrite(buf []byte) int
for compatibility
func (*CheckUserResponse) FastWriteNocopy ¶
func (p *CheckUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CheckUserResponse) Field1DeepEqual ¶
func (p *CheckUserResponse) Field1DeepEqual(src int64) bool
func (*CheckUserResponse) Field2DeepEqual ¶
func (p *CheckUserResponse) Field2DeepEqual(src *BaseResp) bool
func (*CheckUserResponse) GetBaseResp ¶
func (p *CheckUserResponse) GetBaseResp() (v *BaseResp)
func (*CheckUserResponse) GetUserId ¶
func (p *CheckUserResponse) GetUserId() (v int64)
func (*CheckUserResponse) IsSetBaseResp ¶
func (p *CheckUserResponse) IsSetBaseResp() bool
func (*CheckUserResponse) IsValid ¶
func (p *CheckUserResponse) IsValid() error
func (*CheckUserResponse) Read ¶
func (p *CheckUserResponse) Read(iprot thrift.TProtocol) (err error)
func (*CheckUserResponse) ReadField1 ¶
func (p *CheckUserResponse) ReadField1(iprot thrift.TProtocol) error
func (*CheckUserResponse) ReadField2 ¶
func (p *CheckUserResponse) ReadField2(iprot thrift.TProtocol) error
func (*CheckUserResponse) SetBaseResp ¶
func (p *CheckUserResponse) SetBaseResp(val *BaseResp)
func (*CheckUserResponse) SetUserId ¶
func (p *CheckUserResponse) SetUserId(val int64)
func (*CheckUserResponse) String ¶
func (p *CheckUserResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Username string `thrift:"username,1" json:"username"` Password string `thrift:"password,2" json:"password"` }
var UserServiceCreateUserArgs_Req_DEFAULT *CreateUserRequest
func NewCreateUserRequest ¶
func NewCreateUserRequest() *CreateUserRequest
func (*CreateUserRequest) BLength ¶
func (p *CreateUserRequest) BLength() int
func (*CreateUserRequest) DeepEqual ¶
func (p *CreateUserRequest) DeepEqual(ano *CreateUserRequest) bool
func (*CreateUserRequest) FastReadField1 ¶
func (p *CreateUserRequest) FastReadField1(buf []byte) (int, error)
func (*CreateUserRequest) FastReadField2 ¶
func (p *CreateUserRequest) FastReadField2(buf []byte) (int, error)
func (*CreateUserRequest) FastWrite ¶
func (p *CreateUserRequest) FastWrite(buf []byte) int
for compatibility
func (*CreateUserRequest) FastWriteNocopy ¶
func (p *CreateUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CreateUserRequest) Field1DeepEqual ¶
func (p *CreateUserRequest) Field1DeepEqual(src string) bool
func (*CreateUserRequest) Field2DeepEqual ¶
func (p *CreateUserRequest) Field2DeepEqual(src string) bool
func (*CreateUserRequest) GetPassword ¶
func (p *CreateUserRequest) GetPassword() (v string)
func (*CreateUserRequest) GetUsername ¶
func (p *CreateUserRequest) GetUsername() (v string)
func (*CreateUserRequest) IsValid ¶
func (p *CreateUserRequest) IsValid() error
func (*CreateUserRequest) Read ¶
func (p *CreateUserRequest) Read(iprot thrift.TProtocol) (err error)
func (*CreateUserRequest) ReadField1 ¶
func (p *CreateUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*CreateUserRequest) ReadField2 ¶
func (p *CreateUserRequest) ReadField2(iprot thrift.TProtocol) error
func (*CreateUserRequest) SetPassword ¶
func (p *CreateUserRequest) SetPassword(val string)
func (*CreateUserRequest) SetUsername ¶
func (p *CreateUserRequest) SetUsername(val string)
func (*CreateUserRequest) String ¶
func (p *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct {
BaseResp *BaseResp `thrift:"base_resp,1" json:"base_resp"`
}
var UserServiceCreateUserResult_Success_DEFAULT *CreateUserResponse
func NewCreateUserResponse ¶
func NewCreateUserResponse() *CreateUserResponse
func (*CreateUserResponse) BLength ¶
func (p *CreateUserResponse) BLength() int
func (*CreateUserResponse) DeepEqual ¶
func (p *CreateUserResponse) DeepEqual(ano *CreateUserResponse) bool
func (*CreateUserResponse) FastRead ¶
func (p *CreateUserResponse) FastRead(buf []byte) (int, error)
func (*CreateUserResponse) FastReadField1 ¶
func (p *CreateUserResponse) FastReadField1(buf []byte) (int, error)
func (*CreateUserResponse) FastWrite ¶
func (p *CreateUserResponse) FastWrite(buf []byte) int
for compatibility
func (*CreateUserResponse) FastWriteNocopy ¶
func (p *CreateUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CreateUserResponse) Field1DeepEqual ¶
func (p *CreateUserResponse) Field1DeepEqual(src *BaseResp) bool
func (*CreateUserResponse) GetBaseResp ¶
func (p *CreateUserResponse) GetBaseResp() (v *BaseResp)
func (*CreateUserResponse) IsSetBaseResp ¶
func (p *CreateUserResponse) IsSetBaseResp() bool
func (*CreateUserResponse) IsValid ¶
func (p *CreateUserResponse) IsValid() error
func (*CreateUserResponse) Read ¶
func (p *CreateUserResponse) Read(iprot thrift.TProtocol) (err error)
func (*CreateUserResponse) ReadField1 ¶
func (p *CreateUserResponse) ReadField1(iprot thrift.TProtocol) error
func (*CreateUserResponse) SetBaseResp ¶
func (p *CreateUserResponse) SetBaseResp(val *BaseResp)
func (*CreateUserResponse) String ¶
func (p *CreateUserResponse) String() string
type MGetUserRequest ¶
type MGetUserRequest struct {
UserIds []int64 `thrift:"user_ids,1" json:"user_ids"`
}
var UserServiceMGetUserArgs_Req_DEFAULT *MGetUserRequest
func NewMGetUserRequest ¶
func NewMGetUserRequest() *MGetUserRequest
func (*MGetUserRequest) BLength ¶
func (p *MGetUserRequest) BLength() int
func (*MGetUserRequest) DeepEqual ¶
func (p *MGetUserRequest) DeepEqual(ano *MGetUserRequest) bool
func (*MGetUserRequest) FastReadField1 ¶
func (p *MGetUserRequest) FastReadField1(buf []byte) (int, error)
func (*MGetUserRequest) FastWrite ¶
func (p *MGetUserRequest) FastWrite(buf []byte) int
for compatibility
func (*MGetUserRequest) FastWriteNocopy ¶
func (p *MGetUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MGetUserRequest) Field1DeepEqual ¶
func (p *MGetUserRequest) Field1DeepEqual(src []int64) bool
func (*MGetUserRequest) GetUserIds ¶
func (p *MGetUserRequest) GetUserIds() (v []int64)
func (*MGetUserRequest) IsValid ¶
func (p *MGetUserRequest) IsValid() error
func (*MGetUserRequest) ReadField1 ¶
func (p *MGetUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*MGetUserRequest) SetUserIds ¶
func (p *MGetUserRequest) SetUserIds(val []int64)
func (*MGetUserRequest) String ¶
func (p *MGetUserRequest) String() string
type MGetUserResponse ¶
type MGetUserResponse struct { Users []*User `thrift:"users,1" json:"users"` BaseResp *BaseResp `thrift:"base_resp,2" json:"base_resp"` }
var UserServiceMGetUserResult_Success_DEFAULT *MGetUserResponse
func NewMGetUserResponse ¶
func NewMGetUserResponse() *MGetUserResponse
func (*MGetUserResponse) BLength ¶
func (p *MGetUserResponse) BLength() int
func (*MGetUserResponse) DeepEqual ¶
func (p *MGetUserResponse) DeepEqual(ano *MGetUserResponse) bool
func (*MGetUserResponse) FastReadField1 ¶
func (p *MGetUserResponse) FastReadField1(buf []byte) (int, error)
func (*MGetUserResponse) FastReadField2 ¶
func (p *MGetUserResponse) FastReadField2(buf []byte) (int, error)
func (*MGetUserResponse) FastWrite ¶
func (p *MGetUserResponse) FastWrite(buf []byte) int
for compatibility
func (*MGetUserResponse) FastWriteNocopy ¶
func (p *MGetUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MGetUserResponse) Field1DeepEqual ¶
func (p *MGetUserResponse) Field1DeepEqual(src []*User) bool
func (*MGetUserResponse) Field2DeepEqual ¶
func (p *MGetUserResponse) Field2DeepEqual(src *BaseResp) bool
func (*MGetUserResponse) GetBaseResp ¶
func (p *MGetUserResponse) GetBaseResp() (v *BaseResp)
func (*MGetUserResponse) GetUsers ¶
func (p *MGetUserResponse) GetUsers() (v []*User)
func (*MGetUserResponse) IsSetBaseResp ¶
func (p *MGetUserResponse) IsSetBaseResp() bool
func (*MGetUserResponse) IsValid ¶
func (p *MGetUserResponse) IsValid() error
func (*MGetUserResponse) ReadField1 ¶
func (p *MGetUserResponse) ReadField1(iprot thrift.TProtocol) error
func (*MGetUserResponse) ReadField2 ¶
func (p *MGetUserResponse) ReadField2(iprot thrift.TProtocol) error
func (*MGetUserResponse) SetBaseResp ¶
func (p *MGetUserResponse) SetBaseResp(val *BaseResp)
func (*MGetUserResponse) SetUsers ¶
func (p *MGetUserResponse) SetUsers(val []*User)
func (*MGetUserResponse) String ¶
func (p *MGetUserResponse) String() string
type User ¶
type User struct { UserId int64 `thrift:"user_id,1" json:"user_id"` Username string `thrift:"username,2" json:"username"` Avatar string `thrift:"avatar,3" json:"avatar"` }
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) GetUsername ¶
func (*User) SetUsername ¶
type UserService ¶
type UserService interface { CreateUser(ctx context.Context, req *CreateUserRequest) (r *CreateUserResponse, err error) MGetUser(ctx context.Context, req *MGetUserRequest) (r *MGetUserResponse, err error) CheckUser(ctx context.Context, req *CheckUserRequest) (r *CheckUserResponse, err error) }
type UserServiceCheckUserArgs ¶
type UserServiceCheckUserArgs struct {
Req *CheckUserRequest `thrift:"req,1" json:"req"`
}
func NewUserServiceCheckUserArgs ¶
func NewUserServiceCheckUserArgs() *UserServiceCheckUserArgs
func (*UserServiceCheckUserArgs) BLength ¶
func (p *UserServiceCheckUserArgs) BLength() int
func (*UserServiceCheckUserArgs) DeepEqual ¶
func (p *UserServiceCheckUserArgs) DeepEqual(ano *UserServiceCheckUserArgs) bool
func (*UserServiceCheckUserArgs) FastRead ¶
func (p *UserServiceCheckUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceCheckUserArgs) FastReadField1 ¶
func (p *UserServiceCheckUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceCheckUserArgs) FastWrite ¶
func (p *UserServiceCheckUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceCheckUserArgs) FastWriteNocopy ¶
func (p *UserServiceCheckUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceCheckUserArgs) Field1DeepEqual ¶
func (p *UserServiceCheckUserArgs) Field1DeepEqual(src *CheckUserRequest) bool
func (*UserServiceCheckUserArgs) GetFirstArgument ¶
func (p *UserServiceCheckUserArgs) GetFirstArgument() interface{}
func (*UserServiceCheckUserArgs) GetReq ¶
func (p *UserServiceCheckUserArgs) GetReq() (v *CheckUserRequest)
func (*UserServiceCheckUserArgs) IsSetReq ¶
func (p *UserServiceCheckUserArgs) IsSetReq() bool
func (*UserServiceCheckUserArgs) Read ¶
func (p *UserServiceCheckUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceCheckUserArgs) ReadField1 ¶
func (p *UserServiceCheckUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceCheckUserArgs) SetReq ¶
func (p *UserServiceCheckUserArgs) SetReq(val *CheckUserRequest)
func (*UserServiceCheckUserArgs) String ¶
func (p *UserServiceCheckUserArgs) String() string
type UserServiceCheckUserResult ¶
type UserServiceCheckUserResult struct {
Success *CheckUserResponse `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewUserServiceCheckUserResult ¶
func NewUserServiceCheckUserResult() *UserServiceCheckUserResult
func (*UserServiceCheckUserResult) BLength ¶
func (p *UserServiceCheckUserResult) BLength() int
func (*UserServiceCheckUserResult) DeepEqual ¶
func (p *UserServiceCheckUserResult) DeepEqual(ano *UserServiceCheckUserResult) bool
func (*UserServiceCheckUserResult) FastRead ¶
func (p *UserServiceCheckUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceCheckUserResult) FastReadField0 ¶
func (p *UserServiceCheckUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceCheckUserResult) FastWrite ¶
func (p *UserServiceCheckUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceCheckUserResult) FastWriteNocopy ¶
func (p *UserServiceCheckUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceCheckUserResult) Field0DeepEqual ¶
func (p *UserServiceCheckUserResult) Field0DeepEqual(src *CheckUserResponse) bool
func (*UserServiceCheckUserResult) GetResult ¶
func (p *UserServiceCheckUserResult) GetResult() interface{}
func (*UserServiceCheckUserResult) GetSuccess ¶
func (p *UserServiceCheckUserResult) GetSuccess() (v *CheckUserResponse)
func (*UserServiceCheckUserResult) IsSetSuccess ¶
func (p *UserServiceCheckUserResult) IsSetSuccess() bool
func (*UserServiceCheckUserResult) Read ¶
func (p *UserServiceCheckUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceCheckUserResult) ReadField0 ¶
func (p *UserServiceCheckUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceCheckUserResult) SetSuccess ¶
func (p *UserServiceCheckUserResult) SetSuccess(x interface{})
func (*UserServiceCheckUserResult) String ¶
func (p *UserServiceCheckUserResult) String() string
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
func NewUserServiceClient ¶
func NewUserServiceClient(c thrift.TClient) *UserServiceClient
func NewUserServiceClientFactory ¶
func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *UserServiceClient
func NewUserServiceClientProtocol ¶
func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserServiceClient
func (*UserServiceClient) CheckUser ¶
func (p *UserServiceClient) CheckUser(ctx context.Context, req *CheckUserRequest) (r *CheckUserResponse, err error)
func (*UserServiceClient) Client_ ¶
func (p *UserServiceClient) Client_() thrift.TClient
func (*UserServiceClient) CreateUser ¶
func (p *UserServiceClient) CreateUser(ctx context.Context, req *CreateUserRequest) (r *CreateUserResponse, err error)
func (*UserServiceClient) MGetUser ¶
func (p *UserServiceClient) MGetUser(ctx context.Context, req *MGetUserRequest) (r *MGetUserResponse, err error)
type UserServiceCreateUserArgs ¶
type UserServiceCreateUserArgs struct {
Req *CreateUserRequest `thrift:"req,1" json:"req"`
}
func NewUserServiceCreateUserArgs ¶
func NewUserServiceCreateUserArgs() *UserServiceCreateUserArgs
func (*UserServiceCreateUserArgs) BLength ¶
func (p *UserServiceCreateUserArgs) BLength() int
func (*UserServiceCreateUserArgs) DeepEqual ¶
func (p *UserServiceCreateUserArgs) DeepEqual(ano *UserServiceCreateUserArgs) bool
func (*UserServiceCreateUserArgs) FastRead ¶
func (p *UserServiceCreateUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceCreateUserArgs) FastReadField1 ¶
func (p *UserServiceCreateUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceCreateUserArgs) FastWrite ¶
func (p *UserServiceCreateUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceCreateUserArgs) FastWriteNocopy ¶
func (p *UserServiceCreateUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceCreateUserArgs) Field1DeepEqual ¶
func (p *UserServiceCreateUserArgs) Field1DeepEqual(src *CreateUserRequest) bool
func (*UserServiceCreateUserArgs) GetFirstArgument ¶
func (p *UserServiceCreateUserArgs) GetFirstArgument() interface{}
func (*UserServiceCreateUserArgs) GetReq ¶
func (p *UserServiceCreateUserArgs) GetReq() (v *CreateUserRequest)
func (*UserServiceCreateUserArgs) IsSetReq ¶
func (p *UserServiceCreateUserArgs) IsSetReq() bool
func (*UserServiceCreateUserArgs) Read ¶
func (p *UserServiceCreateUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceCreateUserArgs) ReadField1 ¶
func (p *UserServiceCreateUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceCreateUserArgs) SetReq ¶
func (p *UserServiceCreateUserArgs) SetReq(val *CreateUserRequest)
func (*UserServiceCreateUserArgs) String ¶
func (p *UserServiceCreateUserArgs) String() string
type UserServiceCreateUserResult ¶
type UserServiceCreateUserResult struct {
Success *CreateUserResponse `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewUserServiceCreateUserResult ¶
func NewUserServiceCreateUserResult() *UserServiceCreateUserResult
func (*UserServiceCreateUserResult) BLength ¶
func (p *UserServiceCreateUserResult) BLength() int
func (*UserServiceCreateUserResult) DeepEqual ¶
func (p *UserServiceCreateUserResult) DeepEqual(ano *UserServiceCreateUserResult) bool
func (*UserServiceCreateUserResult) FastRead ¶
func (p *UserServiceCreateUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceCreateUserResult) FastReadField0 ¶
func (p *UserServiceCreateUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceCreateUserResult) FastWrite ¶
func (p *UserServiceCreateUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceCreateUserResult) FastWriteNocopy ¶
func (p *UserServiceCreateUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceCreateUserResult) Field0DeepEqual ¶
func (p *UserServiceCreateUserResult) Field0DeepEqual(src *CreateUserResponse) bool
func (*UserServiceCreateUserResult) GetResult ¶
func (p *UserServiceCreateUserResult) GetResult() interface{}
func (*UserServiceCreateUserResult) GetSuccess ¶
func (p *UserServiceCreateUserResult) GetSuccess() (v *CreateUserResponse)
func (*UserServiceCreateUserResult) IsSetSuccess ¶
func (p *UserServiceCreateUserResult) IsSetSuccess() bool
func (*UserServiceCreateUserResult) Read ¶
func (p *UserServiceCreateUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceCreateUserResult) ReadField0 ¶
func (p *UserServiceCreateUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceCreateUserResult) SetSuccess ¶
func (p *UserServiceCreateUserResult) SetSuccess(x interface{})
func (*UserServiceCreateUserResult) String ¶
func (p *UserServiceCreateUserResult) String() string
type UserServiceMGetUserArgs ¶
type UserServiceMGetUserArgs struct {
Req *MGetUserRequest `thrift:"req,1" json:"req"`
}
func NewUserServiceMGetUserArgs ¶
func NewUserServiceMGetUserArgs() *UserServiceMGetUserArgs
func (*UserServiceMGetUserArgs) BLength ¶
func (p *UserServiceMGetUserArgs) BLength() int
func (*UserServiceMGetUserArgs) DeepEqual ¶
func (p *UserServiceMGetUserArgs) DeepEqual(ano *UserServiceMGetUserArgs) bool
func (*UserServiceMGetUserArgs) FastRead ¶
func (p *UserServiceMGetUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceMGetUserArgs) FastReadField1 ¶
func (p *UserServiceMGetUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceMGetUserArgs) FastWrite ¶
func (p *UserServiceMGetUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceMGetUserArgs) FastWriteNocopy ¶
func (p *UserServiceMGetUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceMGetUserArgs) Field1DeepEqual ¶
func (p *UserServiceMGetUserArgs) Field1DeepEqual(src *MGetUserRequest) bool
func (*UserServiceMGetUserArgs) GetFirstArgument ¶
func (p *UserServiceMGetUserArgs) GetFirstArgument() interface{}
func (*UserServiceMGetUserArgs) GetReq ¶
func (p *UserServiceMGetUserArgs) GetReq() (v *MGetUserRequest)
func (*UserServiceMGetUserArgs) IsSetReq ¶
func (p *UserServiceMGetUserArgs) IsSetReq() bool
func (*UserServiceMGetUserArgs) Read ¶
func (p *UserServiceMGetUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceMGetUserArgs) ReadField1 ¶
func (p *UserServiceMGetUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceMGetUserArgs) SetReq ¶
func (p *UserServiceMGetUserArgs) SetReq(val *MGetUserRequest)
func (*UserServiceMGetUserArgs) String ¶
func (p *UserServiceMGetUserArgs) String() string
type UserServiceMGetUserResult ¶
type UserServiceMGetUserResult struct {
Success *MGetUserResponse `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewUserServiceMGetUserResult ¶
func NewUserServiceMGetUserResult() *UserServiceMGetUserResult
func (*UserServiceMGetUserResult) BLength ¶
func (p *UserServiceMGetUserResult) BLength() int
func (*UserServiceMGetUserResult) DeepEqual ¶
func (p *UserServiceMGetUserResult) DeepEqual(ano *UserServiceMGetUserResult) bool
func (*UserServiceMGetUserResult) FastRead ¶
func (p *UserServiceMGetUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceMGetUserResult) FastReadField0 ¶
func (p *UserServiceMGetUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceMGetUserResult) FastWrite ¶
func (p *UserServiceMGetUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceMGetUserResult) FastWriteNocopy ¶
func (p *UserServiceMGetUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceMGetUserResult) Field0DeepEqual ¶
func (p *UserServiceMGetUserResult) Field0DeepEqual(src *MGetUserResponse) bool
func (*UserServiceMGetUserResult) GetResult ¶
func (p *UserServiceMGetUserResult) GetResult() interface{}
func (*UserServiceMGetUserResult) GetSuccess ¶
func (p *UserServiceMGetUserResult) GetSuccess() (v *MGetUserResponse)
func (*UserServiceMGetUserResult) IsSetSuccess ¶
func (p *UserServiceMGetUserResult) IsSetSuccess() bool
func (*UserServiceMGetUserResult) Read ¶
func (p *UserServiceMGetUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceMGetUserResult) ReadField0 ¶
func (p *UserServiceMGetUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceMGetUserResult) SetSuccess ¶
func (p *UserServiceMGetUserResult) SetSuccess(x interface{})
func (*UserServiceMGetUserResult) String ¶
func (p *UserServiceMGetUserResult) String() string
type UserServiceProcessor ¶
type UserServiceProcessor struct {
// contains filtered or unexported fields
}
func NewUserServiceProcessor ¶
func NewUserServiceProcessor(handler UserService) *UserServiceProcessor
func (*UserServiceProcessor) AddToProcessorMap ¶
func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*UserServiceProcessor) GetProcessorFunction ¶
func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*UserServiceProcessor) Process ¶
func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*UserServiceProcessor) ProcessorMap ¶
func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.