Documentation ¶
Index ¶
- Variables
- 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) FastReadField10(buf []byte) (int, error)
- func (p *User) FastReadField11(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastReadField6(buf []byte) (int, error)
- func (p *User) FastReadField7(buf []byte) (int, error)
- func (p *User) FastReadField8(buf []byte) (int, error)
- func (p *User) FastReadField9(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field10DeepEqual(src int64) bool
- func (p *User) Field11DeepEqual(src int64) bool
- func (p *User) Field1DeepEqual(src int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src int64) bool
- func (p *User) Field4DeepEqual(src int64) bool
- func (p *User) Field5DeepEqual(src bool) bool
- func (p *User) Field6DeepEqual(src string) bool
- func (p *User) Field7DeepEqual(src string) bool
- func (p *User) Field8DeepEqual(src string) bool
- func (p *User) Field9DeepEqual(src int64) bool
- func (p *User) GetAvatar() (v string)
- func (p *User) GetBackgroundImage() (v string)
- func (p *User) GetFavoriteCount() (v int64)
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetId() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) GetSignature() (v string)
- func (p *User) GetTotalFavorited() (v int64)
- func (p *User) GetWorkCount() (v int64)
- func (p *User) InitDefault()
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField10(iprot thrift.TProtocol) error
- func (p *User) ReadField11(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) ReadField6(iprot thrift.TProtocol) error
- func (p *User) ReadField7(iprot thrift.TProtocol) error
- func (p *User) ReadField8(iprot thrift.TProtocol) error
- func (p *User) ReadField9(iprot thrift.TProtocol) error
- func (p *User) SetAvatar(val string)
- func (p *User) SetBackgroundImage(val string)
- func (p *User) SetFavoriteCount(val int64)
- func (p *User) SetFollowCount(val int64)
- func (p *User) SetFollowerCount(val int64)
- func (p *User) SetId(val int64)
- func (p *User) SetIsFollow(val bool)
- func (p *User) SetName(val string)
- func (p *User) SetSignature(val string)
- func (p *User) SetTotalFavorited(val int64)
- func (p *User) SetWorkCount(val int64)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type UserInfoRequest
- func (p *UserInfoRequest) BLength() int
- func (p *UserInfoRequest) DeepEqual(ano *UserInfoRequest) bool
- func (p *UserInfoRequest) FastRead(buf []byte) (int, error)
- func (p *UserInfoRequest) FastReadField1(buf []byte) (int, error)
- func (p *UserInfoRequest) FastReadField2(buf []byte) (int, error)
- func (p *UserInfoRequest) FastWrite(buf []byte) int
- func (p *UserInfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserInfoRequest) Field1DeepEqual(src int64) bool
- func (p *UserInfoRequest) Field2DeepEqual(src string) bool
- func (p *UserInfoRequest) GetToken() (v string)
- func (p *UserInfoRequest) GetUserId() (v int64)
- func (p *UserInfoRequest) InitDefault()
- func (p *UserInfoRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfoRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInfoRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInfoRequest) SetToken(val string)
- func (p *UserInfoRequest) SetUserId(val int64)
- func (p *UserInfoRequest) String() string
- func (p *UserInfoRequest) Write(oprot thrift.TProtocol) (err error)
- type UserInfoResponse
- func (p *UserInfoResponse) BLength() int
- func (p *UserInfoResponse) DeepEqual(ano *UserInfoResponse) bool
- func (p *UserInfoResponse) FastRead(buf []byte) (int, error)
- func (p *UserInfoResponse) FastReadField1(buf []byte) (int, error)
- func (p *UserInfoResponse) FastReadField2(buf []byte) (int, error)
- func (p *UserInfoResponse) FastReadField3(buf []byte) (int, error)
- func (p *UserInfoResponse) FastWrite(buf []byte) int
- func (p *UserInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserInfoResponse) Field1DeepEqual(src int32) bool
- func (p *UserInfoResponse) Field2DeepEqual(src *string) bool
- func (p *UserInfoResponse) Field3DeepEqual(src *User) bool
- func (p *UserInfoResponse) GetStatusCode() (v int32)
- func (p *UserInfoResponse) GetStatusMsg() (v string)
- func (p *UserInfoResponse) GetUser() (v *User)
- func (p *UserInfoResponse) InitDefault()
- func (p *UserInfoResponse) IsSetStatusMsg() bool
- func (p *UserInfoResponse) IsSetUser() bool
- func (p *UserInfoResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfoResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInfoResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInfoResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserInfoResponse) SetStatusCode(val int32)
- func (p *UserInfoResponse) SetStatusMsg(val *string)
- func (p *UserInfoResponse) SetUser(val *User)
- func (p *UserInfoResponse) String() string
- func (p *UserInfoResponse) Write(oprot thrift.TProtocol) (err error)
- type UserLoginRequest
- func (p *UserLoginRequest) BLength() int
- func (p *UserLoginRequest) DeepEqual(ano *UserLoginRequest) bool
- func (p *UserLoginRequest) FastRead(buf []byte) (int, error)
- func (p *UserLoginRequest) FastReadField1(buf []byte) (int, error)
- func (p *UserLoginRequest) FastReadField2(buf []byte) (int, error)
- func (p *UserLoginRequest) FastWrite(buf []byte) int
- func (p *UserLoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserLoginRequest) Field1DeepEqual(src string) bool
- func (p *UserLoginRequest) Field2DeepEqual(src string) bool
- func (p *UserLoginRequest) GetPassword() (v string)
- func (p *UserLoginRequest) GetUsername() (v string)
- func (p *UserLoginRequest) InitDefault()
- func (p *UserLoginRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserLoginRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserLoginRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserLoginRequest) SetPassword(val string)
- func (p *UserLoginRequest) SetUsername(val string)
- func (p *UserLoginRequest) String() string
- func (p *UserLoginRequest) Write(oprot thrift.TProtocol) (err error)
- type UserLoginResponse
- func (p *UserLoginResponse) BLength() int
- func (p *UserLoginResponse) DeepEqual(ano *UserLoginResponse) bool
- func (p *UserLoginResponse) FastRead(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField1(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField2(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField3(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField4(buf []byte) (int, error)
- func (p *UserLoginResponse) FastWrite(buf []byte) int
- func (p *UserLoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserLoginResponse) Field1DeepEqual(src int32) bool
- func (p *UserLoginResponse) Field2DeepEqual(src *string) bool
- func (p *UserLoginResponse) Field3DeepEqual(src int64) bool
- func (p *UserLoginResponse) Field4DeepEqual(src string) bool
- func (p *UserLoginResponse) GetStatusCode() (v int32)
- func (p *UserLoginResponse) GetStatusMsg() (v string)
- func (p *UserLoginResponse) GetToken() (v string)
- func (p *UserLoginResponse) GetUserId() (v int64)
- func (p *UserLoginResponse) InitDefault()
- func (p *UserLoginResponse) IsSetStatusMsg() bool
- func (p *UserLoginResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserLoginResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) SetStatusCode(val int32)
- func (p *UserLoginResponse) SetStatusMsg(val *string)
- func (p *UserLoginResponse) SetToken(val string)
- func (p *UserLoginResponse) SetUserId(val int64)
- func (p *UserLoginResponse) String() string
- func (p *UserLoginResponse) Write(oprot thrift.TProtocol) (err error)
- type UserRegisterRequest
- func (p *UserRegisterRequest) BLength() int
- func (p *UserRegisterRequest) DeepEqual(ano *UserRegisterRequest) bool
- func (p *UserRegisterRequest) FastRead(buf []byte) (int, error)
- func (p *UserRegisterRequest) FastReadField1(buf []byte) (int, error)
- func (p *UserRegisterRequest) FastReadField2(buf []byte) (int, error)
- func (p *UserRegisterRequest) FastWrite(buf []byte) int
- func (p *UserRegisterRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserRegisterRequest) Field1DeepEqual(src string) bool
- func (p *UserRegisterRequest) Field2DeepEqual(src string) bool
- func (p *UserRegisterRequest) GetPassword() (v string)
- func (p *UserRegisterRequest) GetUsername() (v string)
- func (p *UserRegisterRequest) InitDefault()
- func (p *UserRegisterRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserRegisterRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserRegisterRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserRegisterRequest) SetPassword(val string)
- func (p *UserRegisterRequest) SetUsername(val string)
- func (p *UserRegisterRequest) String() string
- func (p *UserRegisterRequest) Write(oprot thrift.TProtocol) (err error)
- type UserRegisterResponse
- func (p *UserRegisterResponse) BLength() int
- func (p *UserRegisterResponse) DeepEqual(ano *UserRegisterResponse) bool
- func (p *UserRegisterResponse) FastRead(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField1(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField2(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField3(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField4(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastWrite(buf []byte) int
- func (p *UserRegisterResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserRegisterResponse) Field1DeepEqual(src int32) bool
- func (p *UserRegisterResponse) Field2DeepEqual(src *string) bool
- func (p *UserRegisterResponse) Field3DeepEqual(src int64) bool
- func (p *UserRegisterResponse) Field4DeepEqual(src string) bool
- func (p *UserRegisterResponse) GetStatusCode() (v int32)
- func (p *UserRegisterResponse) GetStatusMsg() (v string)
- func (p *UserRegisterResponse) GetToken() (v string)
- func (p *UserRegisterResponse) GetUserId() (v int64)
- func (p *UserRegisterResponse) InitDefault()
- func (p *UserRegisterResponse) IsSetStatusMsg() bool
- func (p *UserRegisterResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserRegisterResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) SetStatusCode(val int32)
- func (p *UserRegisterResponse) SetStatusMsg(val *string)
- func (p *UserRegisterResponse) SetToken(val string)
- func (p *UserRegisterResponse) SetUserId(val int64)
- func (p *UserRegisterResponse) String() string
- func (p *UserRegisterResponse) Write(oprot thrift.TProtocol) (err error)
- type UserService
- type UserServiceClient
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) UserInfo(ctx context.Context, req *UserInfoRequest) (r *UserInfoResponse, err error)
- func (p *UserServiceClient) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error)
- func (p *UserServiceClient) UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, 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
- type UserServiceUserInfoArgs
- func (p *UserServiceUserInfoArgs) BLength() int
- func (p *UserServiceUserInfoArgs) DeepEqual(ano *UserServiceUserInfoArgs) bool
- func (p *UserServiceUserInfoArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserInfoArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserInfoArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserInfoArgs) Field1DeepEqual(src *UserInfoRequest) bool
- func (p *UserServiceUserInfoArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserInfoArgs) GetReq() (v *UserInfoRequest)
- func (p *UserServiceUserInfoArgs) InitDefault()
- func (p *UserServiceUserInfoArgs) IsSetReq() bool
- func (p *UserServiceUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserInfoArgs) SetReq(val *UserInfoRequest)
- func (p *UserServiceUserInfoArgs) String() string
- func (p *UserServiceUserInfoArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserInfoResult
- func (p *UserServiceUserInfoResult) BLength() int
- func (p *UserServiceUserInfoResult) DeepEqual(ano *UserServiceUserInfoResult) bool
- func (p *UserServiceUserInfoResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserInfoResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserInfoResult) FastWrite(buf []byte) int
- func (p *UserServiceUserInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserInfoResult) Field0DeepEqual(src *UserInfoResponse) bool
- func (p *UserServiceUserInfoResult) GetResult() interface{}
- func (p *UserServiceUserInfoResult) GetSuccess() (v *UserInfoResponse)
- func (p *UserServiceUserInfoResult) InitDefault()
- func (p *UserServiceUserInfoResult) IsSetSuccess() bool
- func (p *UserServiceUserInfoResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserInfoResult) SetSuccess(x interface{})
- func (p *UserServiceUserInfoResult) String() string
- func (p *UserServiceUserInfoResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserLoginArgs
- func (p *UserServiceUserLoginArgs) BLength() int
- func (p *UserServiceUserLoginArgs) DeepEqual(ano *UserServiceUserLoginArgs) bool
- func (p *UserServiceUserLoginArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserLoginArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserLoginArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserLoginArgs) Field1DeepEqual(src *UserLoginRequest) bool
- func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserLoginArgs) GetReq() (v *UserLoginRequest)
- func (p *UserServiceUserLoginArgs) InitDefault()
- func (p *UserServiceUserLoginArgs) IsSetReq() bool
- func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginArgs) SetReq(val *UserLoginRequest)
- func (p *UserServiceUserLoginArgs) String() string
- func (p *UserServiceUserLoginArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserLoginResult
- func (p *UserServiceUserLoginResult) BLength() int
- func (p *UserServiceUserLoginResult) DeepEqual(ano *UserServiceUserLoginResult) bool
- func (p *UserServiceUserLoginResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserLoginResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserLoginResult) FastWrite(buf []byte) int
- func (p *UserServiceUserLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserLoginResult) Field0DeepEqual(src *UserLoginResponse) bool
- func (p *UserServiceUserLoginResult) GetResult() interface{}
- func (p *UserServiceUserLoginResult) GetSuccess() (v *UserLoginResponse)
- func (p *UserServiceUserLoginResult) InitDefault()
- func (p *UserServiceUserLoginResult) IsSetSuccess() bool
- func (p *UserServiceUserLoginResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginResult) SetSuccess(x interface{})
- func (p *UserServiceUserLoginResult) String() string
- func (p *UserServiceUserLoginResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserRegisterArgs
- func (p *UserServiceUserRegisterArgs) BLength() int
- func (p *UserServiceUserRegisterArgs) DeepEqual(ano *UserServiceUserRegisterArgs) bool
- func (p *UserServiceUserRegisterArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserRegisterArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserRegisterArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserRegisterArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserRegisterArgs) Field1DeepEqual(src *UserRegisterRequest) bool
- func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserRegisterArgs) GetReq() (v *UserRegisterRequest)
- func (p *UserServiceUserRegisterArgs) InitDefault()
- func (p *UserServiceUserRegisterArgs) IsSetReq() bool
- func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterArgs) SetReq(val *UserRegisterRequest)
- func (p *UserServiceUserRegisterArgs) String() string
- func (p *UserServiceUserRegisterArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserRegisterResult
- func (p *UserServiceUserRegisterResult) BLength() int
- func (p *UserServiceUserRegisterResult) DeepEqual(ano *UserServiceUserRegisterResult) bool
- func (p *UserServiceUserRegisterResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserRegisterResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserRegisterResult) FastWrite(buf []byte) int
- func (p *UserServiceUserRegisterResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserRegisterResult) Field0DeepEqual(src *UserRegisterResponse) bool
- func (p *UserServiceUserRegisterResult) GetResult() interface{}
- func (p *UserServiceUserRegisterResult) GetSuccess() (v *UserRegisterResponse)
- func (p *UserServiceUserRegisterResult) InitDefault()
- func (p *UserServiceUserRegisterResult) IsSetSuccess() bool
- func (p *UserServiceUserRegisterResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterResult) SetSuccess(x interface{})
- func (p *UserServiceUserRegisterResult) String() string
- func (p *UserServiceUserRegisterResult) 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.
View Source
var UserInfoResponse_StatusMsg_DEFAULT string
View Source
var UserLoginResponse_StatusMsg_DEFAULT string
View Source
var UserRegisterResponse_StatusMsg_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` FollowCount int64 `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"` IsFollow bool `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"` Avatar string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"` BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"` Signature string `thrift:"signature,8" frugal:"8,default,string" json:"signature"` TotalFavorited int64 `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"` WorkCount int64 `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"` FavoriteCount int64 `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"` }
var UserInfoResponse_User_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field10DeepEqual ¶
func (*User) Field11DeepEqual ¶
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) Field6DeepEqual ¶
func (*User) Field7DeepEqual ¶
func (*User) Field8DeepEqual ¶
func (*User) Field9DeepEqual ¶
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) SetBackgroundImage ¶
func (*User) SetFavoriteCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
func (*User) SetSignature ¶
func (*User) SetTotalFavorited ¶
func (*User) SetWorkCount ¶
type UserInfoRequest ¶
type UserInfoRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
var UserServiceUserInfoArgs_Req_DEFAULT *UserInfoRequest
func NewUserInfoRequest ¶
func NewUserInfoRequest() *UserInfoRequest
func (*UserInfoRequest) BLength ¶
func (p *UserInfoRequest) BLength() int
func (*UserInfoRequest) DeepEqual ¶
func (p *UserInfoRequest) DeepEqual(ano *UserInfoRequest) bool
func (*UserInfoRequest) FastReadField1 ¶
func (p *UserInfoRequest) FastReadField1(buf []byte) (int, error)
func (*UserInfoRequest) FastReadField2 ¶
func (p *UserInfoRequest) FastReadField2(buf []byte) (int, error)
func (*UserInfoRequest) FastWrite ¶
func (p *UserInfoRequest) FastWrite(buf []byte) int
for compatibility
func (*UserInfoRequest) FastWriteNocopy ¶
func (p *UserInfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserInfoRequest) Field1DeepEqual ¶
func (p *UserInfoRequest) Field1DeepEqual(src int64) bool
func (*UserInfoRequest) Field2DeepEqual ¶
func (p *UserInfoRequest) Field2DeepEqual(src string) bool
func (*UserInfoRequest) GetToken ¶
func (p *UserInfoRequest) GetToken() (v string)
func (*UserInfoRequest) GetUserId ¶
func (p *UserInfoRequest) GetUserId() (v int64)
func (*UserInfoRequest) InitDefault ¶
func (p *UserInfoRequest) InitDefault()
func (*UserInfoRequest) ReadField1 ¶
func (p *UserInfoRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserInfoRequest) ReadField2 ¶
func (p *UserInfoRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserInfoRequest) SetToken ¶
func (p *UserInfoRequest) SetToken(val string)
func (*UserInfoRequest) SetUserId ¶
func (p *UserInfoRequest) SetUserId(val int64)
func (*UserInfoRequest) String ¶
func (p *UserInfoRequest) String() string
type UserInfoResponse ¶
type UserInfoResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` User *User `thrift:"user,3" frugal:"3,default,User" json:"user"` }
var UserServiceUserInfoResult_Success_DEFAULT *UserInfoResponse
func NewUserInfoResponse ¶
func NewUserInfoResponse() *UserInfoResponse
func (*UserInfoResponse) BLength ¶
func (p *UserInfoResponse) BLength() int
func (*UserInfoResponse) DeepEqual ¶
func (p *UserInfoResponse) DeepEqual(ano *UserInfoResponse) bool
func (*UserInfoResponse) FastReadField1 ¶
func (p *UserInfoResponse) FastReadField1(buf []byte) (int, error)
func (*UserInfoResponse) FastReadField2 ¶
func (p *UserInfoResponse) FastReadField2(buf []byte) (int, error)
func (*UserInfoResponse) FastReadField3 ¶
func (p *UserInfoResponse) FastReadField3(buf []byte) (int, error)
func (*UserInfoResponse) FastWrite ¶
func (p *UserInfoResponse) FastWrite(buf []byte) int
for compatibility
func (*UserInfoResponse) FastWriteNocopy ¶
func (p *UserInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserInfoResponse) Field1DeepEqual ¶
func (p *UserInfoResponse) Field1DeepEqual(src int32) bool
func (*UserInfoResponse) Field2DeepEqual ¶
func (p *UserInfoResponse) Field2DeepEqual(src *string) bool
func (*UserInfoResponse) Field3DeepEqual ¶
func (p *UserInfoResponse) Field3DeepEqual(src *User) bool
func (*UserInfoResponse) GetStatusCode ¶
func (p *UserInfoResponse) GetStatusCode() (v int32)
func (*UserInfoResponse) GetStatusMsg ¶
func (p *UserInfoResponse) GetStatusMsg() (v string)
func (*UserInfoResponse) GetUser ¶
func (p *UserInfoResponse) GetUser() (v *User)
func (*UserInfoResponse) InitDefault ¶
func (p *UserInfoResponse) InitDefault()
func (*UserInfoResponse) IsSetStatusMsg ¶
func (p *UserInfoResponse) IsSetStatusMsg() bool
func (*UserInfoResponse) IsSetUser ¶
func (p *UserInfoResponse) IsSetUser() bool
func (*UserInfoResponse) ReadField1 ¶
func (p *UserInfoResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserInfoResponse) ReadField2 ¶
func (p *UserInfoResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserInfoResponse) ReadField3 ¶
func (p *UserInfoResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserInfoResponse) SetStatusCode ¶
func (p *UserInfoResponse) SetStatusCode(val int32)
func (*UserInfoResponse) SetStatusMsg ¶
func (p *UserInfoResponse) SetStatusMsg(val *string)
func (*UserInfoResponse) SetUser ¶
func (p *UserInfoResponse) SetUser(val *User)
func (*UserInfoResponse) String ¶
func (p *UserInfoResponse) String() string
type UserLoginRequest ¶
type UserLoginRequest struct { Username string `thrift:"username,1" frugal:"1,default,string" json:"username"` Password string `thrift:"password,2" frugal:"2,default,string" json:"password"` }
var UserServiceUserLoginArgs_Req_DEFAULT *UserLoginRequest
func NewUserLoginRequest ¶
func NewUserLoginRequest() *UserLoginRequest
func (*UserLoginRequest) BLength ¶
func (p *UserLoginRequest) BLength() int
func (*UserLoginRequest) DeepEqual ¶
func (p *UserLoginRequest) DeepEqual(ano *UserLoginRequest) bool
func (*UserLoginRequest) FastReadField1 ¶
func (p *UserLoginRequest) FastReadField1(buf []byte) (int, error)
func (*UserLoginRequest) FastReadField2 ¶
func (p *UserLoginRequest) FastReadField2(buf []byte) (int, error)
func (*UserLoginRequest) FastWrite ¶
func (p *UserLoginRequest) FastWrite(buf []byte) int
for compatibility
func (*UserLoginRequest) FastWriteNocopy ¶
func (p *UserLoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserLoginRequest) Field1DeepEqual ¶
func (p *UserLoginRequest) Field1DeepEqual(src string) bool
func (*UserLoginRequest) Field2DeepEqual ¶
func (p *UserLoginRequest) Field2DeepEqual(src string) bool
func (*UserLoginRequest) GetPassword ¶
func (p *UserLoginRequest) GetPassword() (v string)
func (*UserLoginRequest) GetUsername ¶
func (p *UserLoginRequest) GetUsername() (v string)
func (*UserLoginRequest) InitDefault ¶
func (p *UserLoginRequest) InitDefault()
func (*UserLoginRequest) ReadField1 ¶
func (p *UserLoginRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserLoginRequest) ReadField2 ¶
func (p *UserLoginRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserLoginRequest) SetPassword ¶
func (p *UserLoginRequest) SetPassword(val string)
func (*UserLoginRequest) SetUsername ¶
func (p *UserLoginRequest) SetUsername(val string)
func (*UserLoginRequest) String ¶
func (p *UserLoginRequest) String() string
type UserLoginResponse ¶
type UserLoginResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserId int64 `thrift:"user_id,3" frugal:"3,default,i64" json:"user_id"` Token string `thrift:"token,4" frugal:"4,default,string" json:"token"` }
var UserServiceUserLoginResult_Success_DEFAULT *UserLoginResponse
func NewUserLoginResponse ¶
func NewUserLoginResponse() *UserLoginResponse
func (*UserLoginResponse) BLength ¶
func (p *UserLoginResponse) BLength() int
func (*UserLoginResponse) DeepEqual ¶
func (p *UserLoginResponse) DeepEqual(ano *UserLoginResponse) bool
func (*UserLoginResponse) FastReadField1 ¶
func (p *UserLoginResponse) FastReadField1(buf []byte) (int, error)
func (*UserLoginResponse) FastReadField2 ¶
func (p *UserLoginResponse) FastReadField2(buf []byte) (int, error)
func (*UserLoginResponse) FastReadField3 ¶
func (p *UserLoginResponse) FastReadField3(buf []byte) (int, error)
func (*UserLoginResponse) FastReadField4 ¶
func (p *UserLoginResponse) FastReadField4(buf []byte) (int, error)
func (*UserLoginResponse) FastWrite ¶
func (p *UserLoginResponse) FastWrite(buf []byte) int
for compatibility
func (*UserLoginResponse) FastWriteNocopy ¶
func (p *UserLoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserLoginResponse) Field1DeepEqual ¶
func (p *UserLoginResponse) Field1DeepEqual(src int32) bool
func (*UserLoginResponse) Field2DeepEqual ¶
func (p *UserLoginResponse) Field2DeepEqual(src *string) bool
func (*UserLoginResponse) Field3DeepEqual ¶
func (p *UserLoginResponse) Field3DeepEqual(src int64) bool
func (*UserLoginResponse) Field4DeepEqual ¶
func (p *UserLoginResponse) Field4DeepEqual(src string) bool
func (*UserLoginResponse) GetStatusCode ¶
func (p *UserLoginResponse) GetStatusCode() (v int32)
func (*UserLoginResponse) GetStatusMsg ¶
func (p *UserLoginResponse) GetStatusMsg() (v string)
func (*UserLoginResponse) GetToken ¶
func (p *UserLoginResponse) GetToken() (v string)
func (*UserLoginResponse) GetUserId ¶
func (p *UserLoginResponse) GetUserId() (v int64)
func (*UserLoginResponse) InitDefault ¶
func (p *UserLoginResponse) InitDefault()
func (*UserLoginResponse) IsSetStatusMsg ¶
func (p *UserLoginResponse) IsSetStatusMsg() bool
func (*UserLoginResponse) Read ¶
func (p *UserLoginResponse) Read(iprot thrift.TProtocol) (err error)
func (*UserLoginResponse) ReadField1 ¶
func (p *UserLoginResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserLoginResponse) ReadField2 ¶
func (p *UserLoginResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserLoginResponse) ReadField3 ¶
func (p *UserLoginResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserLoginResponse) ReadField4 ¶
func (p *UserLoginResponse) ReadField4(iprot thrift.TProtocol) error
func (*UserLoginResponse) SetStatusCode ¶
func (p *UserLoginResponse) SetStatusCode(val int32)
func (*UserLoginResponse) SetStatusMsg ¶
func (p *UserLoginResponse) SetStatusMsg(val *string)
func (*UserLoginResponse) SetToken ¶
func (p *UserLoginResponse) SetToken(val string)
func (*UserLoginResponse) SetUserId ¶
func (p *UserLoginResponse) SetUserId(val int64)
func (*UserLoginResponse) String ¶
func (p *UserLoginResponse) String() string
type UserRegisterRequest ¶
type UserRegisterRequest struct { Username string `thrift:"username,1" frugal:"1,default,string" json:"username"` Password string `thrift:"password,2" frugal:"2,default,string" json:"password"` }
var UserServiceUserRegisterArgs_Req_DEFAULT *UserRegisterRequest
func NewUserRegisterRequest ¶
func NewUserRegisterRequest() *UserRegisterRequest
func (*UserRegisterRequest) BLength ¶
func (p *UserRegisterRequest) BLength() int
func (*UserRegisterRequest) DeepEqual ¶
func (p *UserRegisterRequest) DeepEqual(ano *UserRegisterRequest) bool
func (*UserRegisterRequest) FastRead ¶
func (p *UserRegisterRequest) FastRead(buf []byte) (int, error)
func (*UserRegisterRequest) FastReadField1 ¶
func (p *UserRegisterRequest) FastReadField1(buf []byte) (int, error)
func (*UserRegisterRequest) FastReadField2 ¶
func (p *UserRegisterRequest) FastReadField2(buf []byte) (int, error)
func (*UserRegisterRequest) FastWrite ¶
func (p *UserRegisterRequest) FastWrite(buf []byte) int
for compatibility
func (*UserRegisterRequest) FastWriteNocopy ¶
func (p *UserRegisterRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserRegisterRequest) Field1DeepEqual ¶
func (p *UserRegisterRequest) Field1DeepEqual(src string) bool
func (*UserRegisterRequest) Field2DeepEqual ¶
func (p *UserRegisterRequest) Field2DeepEqual(src string) bool
func (*UserRegisterRequest) GetPassword ¶
func (p *UserRegisterRequest) GetPassword() (v string)
func (*UserRegisterRequest) GetUsername ¶
func (p *UserRegisterRequest) GetUsername() (v string)
func (*UserRegisterRequest) InitDefault ¶
func (p *UserRegisterRequest) InitDefault()
func (*UserRegisterRequest) Read ¶
func (p *UserRegisterRequest) Read(iprot thrift.TProtocol) (err error)
func (*UserRegisterRequest) ReadField1 ¶
func (p *UserRegisterRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserRegisterRequest) ReadField2 ¶
func (p *UserRegisterRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserRegisterRequest) SetPassword ¶
func (p *UserRegisterRequest) SetPassword(val string)
func (*UserRegisterRequest) SetUsername ¶
func (p *UserRegisterRequest) SetUsername(val string)
func (*UserRegisterRequest) String ¶
func (p *UserRegisterRequest) String() string
type UserRegisterResponse ¶
type UserRegisterResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserId int64 `thrift:"user_id,3" frugal:"3,default,i64" json:"user_id"` Token string `thrift:"token,4" frugal:"4,default,string" json:"token"` }
var UserServiceUserRegisterResult_Success_DEFAULT *UserRegisterResponse
func NewUserRegisterResponse ¶
func NewUserRegisterResponse() *UserRegisterResponse
func (*UserRegisterResponse) BLength ¶
func (p *UserRegisterResponse) BLength() int
func (*UserRegisterResponse) DeepEqual ¶
func (p *UserRegisterResponse) DeepEqual(ano *UserRegisterResponse) bool
func (*UserRegisterResponse) FastRead ¶
func (p *UserRegisterResponse) FastRead(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField1 ¶
func (p *UserRegisterResponse) FastReadField1(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField2 ¶
func (p *UserRegisterResponse) FastReadField2(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField3 ¶
func (p *UserRegisterResponse) FastReadField3(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField4 ¶
func (p *UserRegisterResponse) FastReadField4(buf []byte) (int, error)
func (*UserRegisterResponse) FastWrite ¶
func (p *UserRegisterResponse) FastWrite(buf []byte) int
for compatibility
func (*UserRegisterResponse) FastWriteNocopy ¶
func (p *UserRegisterResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserRegisterResponse) Field1DeepEqual ¶
func (p *UserRegisterResponse) Field1DeepEqual(src int32) bool
func (*UserRegisterResponse) Field2DeepEqual ¶
func (p *UserRegisterResponse) Field2DeepEqual(src *string) bool
func (*UserRegisterResponse) Field3DeepEqual ¶
func (p *UserRegisterResponse) Field3DeepEqual(src int64) bool
func (*UserRegisterResponse) Field4DeepEqual ¶
func (p *UserRegisterResponse) Field4DeepEqual(src string) bool
func (*UserRegisterResponse) GetStatusCode ¶
func (p *UserRegisterResponse) GetStatusCode() (v int32)
func (*UserRegisterResponse) GetStatusMsg ¶
func (p *UserRegisterResponse) GetStatusMsg() (v string)
func (*UserRegisterResponse) GetToken ¶
func (p *UserRegisterResponse) GetToken() (v string)
func (*UserRegisterResponse) GetUserId ¶
func (p *UserRegisterResponse) GetUserId() (v int64)
func (*UserRegisterResponse) InitDefault ¶
func (p *UserRegisterResponse) InitDefault()
func (*UserRegisterResponse) IsSetStatusMsg ¶
func (p *UserRegisterResponse) IsSetStatusMsg() bool
func (*UserRegisterResponse) Read ¶
func (p *UserRegisterResponse) Read(iprot thrift.TProtocol) (err error)
func (*UserRegisterResponse) ReadField1 ¶
func (p *UserRegisterResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserRegisterResponse) ReadField2 ¶
func (p *UserRegisterResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserRegisterResponse) ReadField3 ¶
func (p *UserRegisterResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserRegisterResponse) ReadField4 ¶
func (p *UserRegisterResponse) ReadField4(iprot thrift.TProtocol) error
func (*UserRegisterResponse) SetStatusCode ¶
func (p *UserRegisterResponse) SetStatusCode(val int32)
func (*UserRegisterResponse) SetStatusMsg ¶
func (p *UserRegisterResponse) SetStatusMsg(val *string)
func (*UserRegisterResponse) SetToken ¶
func (p *UserRegisterResponse) SetToken(val string)
func (*UserRegisterResponse) SetUserId ¶
func (p *UserRegisterResponse) SetUserId(val int64)
func (*UserRegisterResponse) String ¶
func (p *UserRegisterResponse) String() string
type UserService ¶
type UserService interface { UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error) UserInfo(ctx context.Context, req *UserInfoRequest) (r *UserInfoResponse, err error) }
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) Client_ ¶
func (p *UserServiceClient) Client_() thrift.TClient
func (*UserServiceClient) UserInfo ¶
func (p *UserServiceClient) UserInfo(ctx context.Context, req *UserInfoRequest) (r *UserInfoResponse, err error)
func (*UserServiceClient) UserLogin ¶
func (p *UserServiceClient) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error)
func (*UserServiceClient) UserRegister ¶
func (p *UserServiceClient) UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error)
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
type UserServiceUserInfoArgs ¶
type UserServiceUserInfoArgs struct {
Req *UserInfoRequest `thrift:"req,1" frugal:"1,default,UserInfoRequest" json:"req"`
}
func NewUserServiceUserInfoArgs ¶
func NewUserServiceUserInfoArgs() *UserServiceUserInfoArgs
func (*UserServiceUserInfoArgs) BLength ¶
func (p *UserServiceUserInfoArgs) BLength() int
func (*UserServiceUserInfoArgs) DeepEqual ¶
func (p *UserServiceUserInfoArgs) DeepEqual(ano *UserServiceUserInfoArgs) bool
func (*UserServiceUserInfoArgs) FastRead ¶
func (p *UserServiceUserInfoArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserInfoArgs) FastReadField1 ¶
func (p *UserServiceUserInfoArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserInfoArgs) FastWrite ¶
func (p *UserServiceUserInfoArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserInfoArgs) FastWriteNocopy ¶
func (p *UserServiceUserInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserInfoArgs) Field1DeepEqual ¶
func (p *UserServiceUserInfoArgs) Field1DeepEqual(src *UserInfoRequest) bool
func (*UserServiceUserInfoArgs) GetFirstArgument ¶
func (p *UserServiceUserInfoArgs) GetFirstArgument() interface{}
func (*UserServiceUserInfoArgs) GetReq ¶
func (p *UserServiceUserInfoArgs) GetReq() (v *UserInfoRequest)
func (*UserServiceUserInfoArgs) InitDefault ¶
func (p *UserServiceUserInfoArgs) InitDefault()
func (*UserServiceUserInfoArgs) IsSetReq ¶
func (p *UserServiceUserInfoArgs) IsSetReq() bool
func (*UserServiceUserInfoArgs) Read ¶
func (p *UserServiceUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserInfoArgs) ReadField1 ¶
func (p *UserServiceUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserInfoArgs) SetReq ¶
func (p *UserServiceUserInfoArgs) SetReq(val *UserInfoRequest)
func (*UserServiceUserInfoArgs) String ¶
func (p *UserServiceUserInfoArgs) String() string
type UserServiceUserInfoResult ¶
type UserServiceUserInfoResult struct {
Success *UserInfoResponse `thrift:"success,0,optional" frugal:"0,optional,UserInfoResponse" json:"success,omitempty"`
}
func NewUserServiceUserInfoResult ¶
func NewUserServiceUserInfoResult() *UserServiceUserInfoResult
func (*UserServiceUserInfoResult) BLength ¶
func (p *UserServiceUserInfoResult) BLength() int
func (*UserServiceUserInfoResult) DeepEqual ¶
func (p *UserServiceUserInfoResult) DeepEqual(ano *UserServiceUserInfoResult) bool
func (*UserServiceUserInfoResult) FastRead ¶
func (p *UserServiceUserInfoResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserInfoResult) FastReadField0 ¶
func (p *UserServiceUserInfoResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserInfoResult) FastWrite ¶
func (p *UserServiceUserInfoResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserInfoResult) FastWriteNocopy ¶
func (p *UserServiceUserInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserInfoResult) Field0DeepEqual ¶
func (p *UserServiceUserInfoResult) Field0DeepEqual(src *UserInfoResponse) bool
func (*UserServiceUserInfoResult) GetResult ¶
func (p *UserServiceUserInfoResult) GetResult() interface{}
func (*UserServiceUserInfoResult) GetSuccess ¶
func (p *UserServiceUserInfoResult) GetSuccess() (v *UserInfoResponse)
func (*UserServiceUserInfoResult) InitDefault ¶
func (p *UserServiceUserInfoResult) InitDefault()
func (*UserServiceUserInfoResult) IsSetSuccess ¶
func (p *UserServiceUserInfoResult) IsSetSuccess() bool
func (*UserServiceUserInfoResult) Read ¶
func (p *UserServiceUserInfoResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserInfoResult) ReadField0 ¶
func (p *UserServiceUserInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserInfoResult) SetSuccess ¶
func (p *UserServiceUserInfoResult) SetSuccess(x interface{})
func (*UserServiceUserInfoResult) String ¶
func (p *UserServiceUserInfoResult) String() string
type UserServiceUserLoginArgs ¶
type UserServiceUserLoginArgs struct {
Req *UserLoginRequest `thrift:"req,1" frugal:"1,default,UserLoginRequest" json:"req"`
}
func NewUserServiceUserLoginArgs ¶
func NewUserServiceUserLoginArgs() *UserServiceUserLoginArgs
func (*UserServiceUserLoginArgs) BLength ¶
func (p *UserServiceUserLoginArgs) BLength() int
func (*UserServiceUserLoginArgs) DeepEqual ¶
func (p *UserServiceUserLoginArgs) DeepEqual(ano *UserServiceUserLoginArgs) bool
func (*UserServiceUserLoginArgs) FastRead ¶
func (p *UserServiceUserLoginArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserLoginArgs) FastReadField1 ¶
func (p *UserServiceUserLoginArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserLoginArgs) FastWrite ¶
func (p *UserServiceUserLoginArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserLoginArgs) FastWriteNocopy ¶
func (p *UserServiceUserLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserLoginArgs) Field1DeepEqual ¶
func (p *UserServiceUserLoginArgs) Field1DeepEqual(src *UserLoginRequest) bool
func (*UserServiceUserLoginArgs) GetFirstArgument ¶
func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}
func (*UserServiceUserLoginArgs) GetReq ¶
func (p *UserServiceUserLoginArgs) GetReq() (v *UserLoginRequest)
func (*UserServiceUserLoginArgs) InitDefault ¶
func (p *UserServiceUserLoginArgs) InitDefault()
func (*UserServiceUserLoginArgs) IsSetReq ¶
func (p *UserServiceUserLoginArgs) IsSetReq() bool
func (*UserServiceUserLoginArgs) Read ¶
func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserLoginArgs) ReadField1 ¶
func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserLoginArgs) SetReq ¶
func (p *UserServiceUserLoginArgs) SetReq(val *UserLoginRequest)
func (*UserServiceUserLoginArgs) String ¶
func (p *UserServiceUserLoginArgs) String() string
type UserServiceUserLoginResult ¶
type UserServiceUserLoginResult struct {
Success *UserLoginResponse `thrift:"success,0,optional" frugal:"0,optional,UserLoginResponse" json:"success,omitempty"`
}
func NewUserServiceUserLoginResult ¶
func NewUserServiceUserLoginResult() *UserServiceUserLoginResult
func (*UserServiceUserLoginResult) BLength ¶
func (p *UserServiceUserLoginResult) BLength() int
func (*UserServiceUserLoginResult) DeepEqual ¶
func (p *UserServiceUserLoginResult) DeepEqual(ano *UserServiceUserLoginResult) bool
func (*UserServiceUserLoginResult) FastRead ¶
func (p *UserServiceUserLoginResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserLoginResult) FastReadField0 ¶
func (p *UserServiceUserLoginResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserLoginResult) FastWrite ¶
func (p *UserServiceUserLoginResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserLoginResult) FastWriteNocopy ¶
func (p *UserServiceUserLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserLoginResult) Field0DeepEqual ¶
func (p *UserServiceUserLoginResult) Field0DeepEqual(src *UserLoginResponse) bool
func (*UserServiceUserLoginResult) GetResult ¶
func (p *UserServiceUserLoginResult) GetResult() interface{}
func (*UserServiceUserLoginResult) GetSuccess ¶
func (p *UserServiceUserLoginResult) GetSuccess() (v *UserLoginResponse)
func (*UserServiceUserLoginResult) InitDefault ¶
func (p *UserServiceUserLoginResult) InitDefault()
func (*UserServiceUserLoginResult) IsSetSuccess ¶
func (p *UserServiceUserLoginResult) IsSetSuccess() bool
func (*UserServiceUserLoginResult) Read ¶
func (p *UserServiceUserLoginResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserLoginResult) ReadField0 ¶
func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserLoginResult) SetSuccess ¶
func (p *UserServiceUserLoginResult) SetSuccess(x interface{})
func (*UserServiceUserLoginResult) String ¶
func (p *UserServiceUserLoginResult) String() string
type UserServiceUserRegisterArgs ¶
type UserServiceUserRegisterArgs struct {
Req *UserRegisterRequest `thrift:"req,1" frugal:"1,default,UserRegisterRequest" json:"req"`
}
func NewUserServiceUserRegisterArgs ¶
func NewUserServiceUserRegisterArgs() *UserServiceUserRegisterArgs
func (*UserServiceUserRegisterArgs) BLength ¶
func (p *UserServiceUserRegisterArgs) BLength() int
func (*UserServiceUserRegisterArgs) DeepEqual ¶
func (p *UserServiceUserRegisterArgs) DeepEqual(ano *UserServiceUserRegisterArgs) bool
func (*UserServiceUserRegisterArgs) FastRead ¶
func (p *UserServiceUserRegisterArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserRegisterArgs) FastReadField1 ¶
func (p *UserServiceUserRegisterArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserRegisterArgs) FastWrite ¶
func (p *UserServiceUserRegisterArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserRegisterArgs) FastWriteNocopy ¶
func (p *UserServiceUserRegisterArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserRegisterArgs) Field1DeepEqual ¶
func (p *UserServiceUserRegisterArgs) Field1DeepEqual(src *UserRegisterRequest) bool
func (*UserServiceUserRegisterArgs) GetFirstArgument ¶
func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}
func (*UserServiceUserRegisterArgs) GetReq ¶
func (p *UserServiceUserRegisterArgs) GetReq() (v *UserRegisterRequest)
func (*UserServiceUserRegisterArgs) InitDefault ¶
func (p *UserServiceUserRegisterArgs) InitDefault()
func (*UserServiceUserRegisterArgs) IsSetReq ¶
func (p *UserServiceUserRegisterArgs) IsSetReq() bool
func (*UserServiceUserRegisterArgs) Read ¶
func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserRegisterArgs) ReadField1 ¶
func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserRegisterArgs) SetReq ¶
func (p *UserServiceUserRegisterArgs) SetReq(val *UserRegisterRequest)
func (*UserServiceUserRegisterArgs) String ¶
func (p *UserServiceUserRegisterArgs) String() string
type UserServiceUserRegisterResult ¶
type UserServiceUserRegisterResult struct {
Success *UserRegisterResponse `thrift:"success,0,optional" frugal:"0,optional,UserRegisterResponse" json:"success,omitempty"`
}
func NewUserServiceUserRegisterResult ¶
func NewUserServiceUserRegisterResult() *UserServiceUserRegisterResult
func (*UserServiceUserRegisterResult) BLength ¶
func (p *UserServiceUserRegisterResult) BLength() int
func (*UserServiceUserRegisterResult) DeepEqual ¶
func (p *UserServiceUserRegisterResult) DeepEqual(ano *UserServiceUserRegisterResult) bool
func (*UserServiceUserRegisterResult) FastRead ¶
func (p *UserServiceUserRegisterResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserRegisterResult) FastReadField0 ¶
func (p *UserServiceUserRegisterResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserRegisterResult) FastWrite ¶
func (p *UserServiceUserRegisterResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserRegisterResult) FastWriteNocopy ¶
func (p *UserServiceUserRegisterResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserRegisterResult) Field0DeepEqual ¶
func (p *UserServiceUserRegisterResult) Field0DeepEqual(src *UserRegisterResponse) bool
func (*UserServiceUserRegisterResult) GetResult ¶
func (p *UserServiceUserRegisterResult) GetResult() interface{}
func (*UserServiceUserRegisterResult) GetSuccess ¶
func (p *UserServiceUserRegisterResult) GetSuccess() (v *UserRegisterResponse)
func (*UserServiceUserRegisterResult) InitDefault ¶
func (p *UserServiceUserRegisterResult) InitDefault()
func (*UserServiceUserRegisterResult) IsSetSuccess ¶
func (p *UserServiceUserRegisterResult) IsSetSuccess() bool
func (*UserServiceUserRegisterResult) Read ¶
func (p *UserServiceUserRegisterResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserRegisterResult) ReadField0 ¶
func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserRegisterResult) SetSuccess ¶
func (p *UserServiceUserRegisterResult) SetSuccess(x interface{})
func (*UserServiceUserRegisterResult) String ¶
func (p *UserServiceUserRegisterResult) String() string
Click to show internal directories.
Click to hide internal directories.