Documentation ¶
Index ¶
- Variables
- type InfoRequest
- func (p *InfoRequest) BLength() int
- func (p *InfoRequest) DeepEqual(ano *InfoRequest) bool
- func (p *InfoRequest) FastRead(buf []byte) (int, error)
- func (p *InfoRequest) FastReadField1(buf []byte) (int, error)
- func (p *InfoRequest) FastReadField2(buf []byte) (int, error)
- func (p *InfoRequest) FastWrite(buf []byte) int
- func (p *InfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InfoRequest) Field1DeepEqual(src int64) bool
- func (p *InfoRequest) Field2DeepEqual(src string) bool
- func (p *InfoRequest) GetToken() (v string)
- func (p *InfoRequest) GetUserId() (v int64)
- func (p *InfoRequest) InitDefault()
- func (p *InfoRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *InfoRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *InfoRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *InfoRequest) SetToken(val string)
- func (p *InfoRequest) SetUserId(val int64)
- func (p *InfoRequest) String() string
- func (p *InfoRequest) Write(oprot thrift.TProtocol) (err error)
- type InfoResponse
- func (p *InfoResponse) BLength() int
- func (p *InfoResponse) DeepEqual(ano *InfoResponse) bool
- func (p *InfoResponse) FastRead(buf []byte) (int, error)
- func (p *InfoResponse) FastReadField1(buf []byte) (int, error)
- func (p *InfoResponse) FastReadField2(buf []byte) (int, error)
- func (p *InfoResponse) FastReadField3(buf []byte) (int, error)
- func (p *InfoResponse) FastWrite(buf []byte) int
- func (p *InfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InfoResponse) Field1DeepEqual(src int32) bool
- func (p *InfoResponse) Field2DeepEqual(src *string) bool
- func (p *InfoResponse) Field3DeepEqual(src *User) bool
- func (p *InfoResponse) GetStatusCode() (v int32)
- func (p *InfoResponse) GetStatusMsg() (v string)
- func (p *InfoResponse) GetUser() (v *User)
- func (p *InfoResponse) InitDefault()
- func (p *InfoResponse) IsSetStatusMsg() bool
- func (p *InfoResponse) IsSetUser() bool
- func (p *InfoResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *InfoResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *InfoResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *InfoResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *InfoResponse) SetStatusCode(val int32)
- func (p *InfoResponse) SetStatusMsg(val *string)
- func (p *InfoResponse) SetUser(val *User)
- func (p *InfoResponse) String() string
- func (p *InfoResponse) Write(oprot thrift.TProtocol) (err error)
- type LoginRequest
- func (p *LoginRequest) BLength() int
- func (p *LoginRequest) DeepEqual(ano *LoginRequest) bool
- func (p *LoginRequest) FastRead(buf []byte) (int, error)
- func (p *LoginRequest) FastReadField1(buf []byte) (int, error)
- func (p *LoginRequest) FastReadField2(buf []byte) (int, error)
- func (p *LoginRequest) FastWrite(buf []byte) int
- func (p *LoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LoginRequest) Field1DeepEqual(src string) bool
- func (p *LoginRequest) Field2DeepEqual(src string) bool
- func (p *LoginRequest) GetPassword() (v string)
- func (p *LoginRequest) GetUsername() (v string)
- func (p *LoginRequest) InitDefault()
- func (p *LoginRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LoginRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LoginRequest) SetPassword(val string)
- func (p *LoginRequest) SetUsername(val string)
- func (p *LoginRequest) String() string
- func (p *LoginRequest) Write(oprot thrift.TProtocol) (err error)
- type LoginResponse
- func (p *LoginResponse) BLength() int
- func (p *LoginResponse) DeepEqual(ano *LoginResponse) bool
- func (p *LoginResponse) FastRead(buf []byte) (int, error)
- func (p *LoginResponse) FastReadField1(buf []byte) (int, error)
- func (p *LoginResponse) FastReadField2(buf []byte) (int, error)
- func (p *LoginResponse) FastReadField3(buf []byte) (int, error)
- func (p *LoginResponse) FastReadField4(buf []byte) (int, error)
- func (p *LoginResponse) FastWrite(buf []byte) int
- func (p *LoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LoginResponse) Field1DeepEqual(src int32) bool
- func (p *LoginResponse) Field2DeepEqual(src *string) bool
- func (p *LoginResponse) Field3DeepEqual(src int64) bool
- func (p *LoginResponse) Field4DeepEqual(src string) bool
- func (p *LoginResponse) GetStatusCode() (v int32)
- func (p *LoginResponse) GetStatusMsg() (v string)
- func (p *LoginResponse) GetToken() (v string)
- func (p *LoginResponse) GetUserId() (v int64)
- func (p *LoginResponse) InitDefault()
- func (p *LoginResponse) IsSetStatusMsg() bool
- func (p *LoginResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LoginResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *LoginResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *LoginResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *LoginResponse) SetStatusCode(val int32)
- func (p *LoginResponse) SetStatusMsg(val *string)
- func (p *LoginResponse) SetToken(val string)
- func (p *LoginResponse) SetUserId(val int64)
- func (p *LoginResponse) String() string
- func (p *LoginResponse) Write(oprot thrift.TProtocol) (err error)
- type RegisterRequest
- func (p *RegisterRequest) BLength() int
- func (p *RegisterRequest) DeepEqual(ano *RegisterRequest) bool
- func (p *RegisterRequest) FastRead(buf []byte) (int, error)
- func (p *RegisterRequest) FastReadField1(buf []byte) (int, error)
- func (p *RegisterRequest) FastReadField2(buf []byte) (int, error)
- func (p *RegisterRequest) FastWrite(buf []byte) int
- func (p *RegisterRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RegisterRequest) Field1DeepEqual(src string) bool
- func (p *RegisterRequest) Field2DeepEqual(src string) bool
- func (p *RegisterRequest) GetPassword() (v string)
- func (p *RegisterRequest) GetUsername() (v string)
- func (p *RegisterRequest) InitDefault()
- func (p *RegisterRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RegisterRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RegisterRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RegisterRequest) SetPassword(val string)
- func (p *RegisterRequest) SetUsername(val string)
- func (p *RegisterRequest) String() string
- func (p *RegisterRequest) Write(oprot thrift.TProtocol) (err error)
- type RegisterResponse
- func (p *RegisterResponse) BLength() int
- func (p *RegisterResponse) DeepEqual(ano *RegisterResponse) bool
- func (p *RegisterResponse) FastRead(buf []byte) (int, error)
- func (p *RegisterResponse) FastReadField1(buf []byte) (int, error)
- func (p *RegisterResponse) FastReadField2(buf []byte) (int, error)
- func (p *RegisterResponse) FastReadField3(buf []byte) (int, error)
- func (p *RegisterResponse) FastReadField4(buf []byte) (int, error)
- func (p *RegisterResponse) FastWrite(buf []byte) int
- func (p *RegisterResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RegisterResponse) Field1DeepEqual(src int32) bool
- func (p *RegisterResponse) Field2DeepEqual(src *string) bool
- func (p *RegisterResponse) Field3DeepEqual(src int64) bool
- func (p *RegisterResponse) Field4DeepEqual(src string) bool
- func (p *RegisterResponse) GetStatusCode() (v int32)
- func (p *RegisterResponse) GetStatusMsg() (v string)
- func (p *RegisterResponse) GetToken() (v string)
- func (p *RegisterResponse) GetUserId() (v int64)
- func (p *RegisterResponse) InitDefault()
- func (p *RegisterResponse) IsSetStatusMsg() bool
- func (p *RegisterResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RegisterResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RegisterResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RegisterResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RegisterResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *RegisterResponse) SetStatusCode(val int32)
- func (p *RegisterResponse) SetStatusMsg(val *string)
- func (p *RegisterResponse) SetToken(val string)
- func (p *RegisterResponse) SetUserId(val int64)
- func (p *RegisterResponse) String() string
- func (p *RegisterResponse) 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) 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) IsSetAvatar() bool
- func (p *User) IsSetBackgroundImage() bool
- func (p *User) IsSetFavoriteCount() bool
- func (p *User) IsSetFollowCount() bool
- func (p *User) IsSetFollowerCount() bool
- func (p *User) IsSetSignature() bool
- func (p *User) IsSetTotalFavorited() bool
- func (p *User) IsSetWorkCount() bool
- 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 UserService
- type UserServiceClient
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) UserInfo(ctx context.Context, req *InfoRequest) (r *InfoResponse, err error)
- func (p *UserServiceClient) UserLogin(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)
- func (p *UserServiceClient) UserRegister(ctx context.Context, req *RegisterRequest) (r *RegisterResponse, 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 *InfoRequest) bool
- func (p *UserServiceUserInfoArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserInfoArgs) GetReq() (v *InfoRequest)
- 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 *InfoRequest)
- 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 *InfoResponse) bool
- func (p *UserServiceUserInfoResult) GetResult() interface{}
- func (p *UserServiceUserInfoResult) GetSuccess() (v *InfoResponse)
- 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 *LoginRequest) bool
- func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserLoginArgs) GetReq() (v *LoginRequest)
- 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 *LoginRequest)
- 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 *LoginResponse) bool
- func (p *UserServiceUserLoginResult) GetResult() interface{}
- func (p *UserServiceUserLoginResult) GetSuccess() (v *LoginResponse)
- 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 *RegisterRequest) bool
- func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserRegisterArgs) GetReq() (v *RegisterRequest)
- 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 *RegisterRequest)
- 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 *RegisterResponse) bool
- func (p *UserServiceUserRegisterResult) GetResult() interface{}
- func (p *UserServiceUserRegisterResult) GetSuccess() (v *RegisterResponse)
- 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 InfoResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var LoginResponse_StatusMsg_DEFAULT string
View Source
var RegisterResponse_StatusMsg_DEFAULT string
View Source
var User_Avatar_DEFAULT string
View Source
var User_BackgroundImage_DEFAULT string
View Source
var User_FavoriteCount_DEFAULT int64
View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64
View Source
var User_Signature_DEFAULT string
View Source
var User_TotalFavorited_DEFAULT int64
View Source
var User_WorkCount_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type InfoRequest ¶
type InfoRequest struct { UserId int64 `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"` Token string `thrift:"token,2,required" frugal:"2,required,string" json:"token"` }
var UserServiceUserInfoArgs_Req_DEFAULT *InfoRequest
func NewInfoRequest ¶
func NewInfoRequest() *InfoRequest
func (*InfoRequest) BLength ¶
func (p *InfoRequest) BLength() int
func (*InfoRequest) DeepEqual ¶
func (p *InfoRequest) DeepEqual(ano *InfoRequest) bool
func (*InfoRequest) FastReadField1 ¶
func (p *InfoRequest) FastReadField1(buf []byte) (int, error)
func (*InfoRequest) FastReadField2 ¶
func (p *InfoRequest) FastReadField2(buf []byte) (int, error)
func (*InfoRequest) FastWriteNocopy ¶
func (p *InfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InfoRequest) Field1DeepEqual ¶
func (p *InfoRequest) Field1DeepEqual(src int64) bool
func (*InfoRequest) Field2DeepEqual ¶
func (p *InfoRequest) Field2DeepEqual(src string) bool
func (*InfoRequest) GetToken ¶
func (p *InfoRequest) GetToken() (v string)
func (*InfoRequest) GetUserId ¶
func (p *InfoRequest) GetUserId() (v int64)
func (*InfoRequest) InitDefault ¶
func (p *InfoRequest) InitDefault()
func (*InfoRequest) ReadField1 ¶
func (p *InfoRequest) ReadField1(iprot thrift.TProtocol) error
func (*InfoRequest) ReadField2 ¶
func (p *InfoRequest) ReadField2(iprot thrift.TProtocol) error
func (*InfoRequest) SetToken ¶
func (p *InfoRequest) SetToken(val string)
func (*InfoRequest) SetUserId ¶
func (p *InfoRequest) SetUserId(val int64)
func (*InfoRequest) String ¶
func (p *InfoRequest) String() string
type InfoResponse ¶
type InfoResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` User *User `thrift:"user,3,required" frugal:"3,required,User" json:"user"` }
var UserServiceUserInfoResult_Success_DEFAULT *InfoResponse
func NewInfoResponse ¶
func NewInfoResponse() *InfoResponse
func (*InfoResponse) BLength ¶
func (p *InfoResponse) BLength() int
func (*InfoResponse) DeepEqual ¶
func (p *InfoResponse) DeepEqual(ano *InfoResponse) bool
func (*InfoResponse) FastReadField1 ¶
func (p *InfoResponse) FastReadField1(buf []byte) (int, error)
func (*InfoResponse) FastReadField2 ¶
func (p *InfoResponse) FastReadField2(buf []byte) (int, error)
func (*InfoResponse) FastReadField3 ¶
func (p *InfoResponse) FastReadField3(buf []byte) (int, error)
func (*InfoResponse) FastWriteNocopy ¶
func (p *InfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InfoResponse) Field1DeepEqual ¶
func (p *InfoResponse) Field1DeepEqual(src int32) bool
func (*InfoResponse) Field2DeepEqual ¶
func (p *InfoResponse) Field2DeepEqual(src *string) bool
func (*InfoResponse) Field3DeepEqual ¶
func (p *InfoResponse) Field3DeepEqual(src *User) bool
func (*InfoResponse) GetStatusCode ¶
func (p *InfoResponse) GetStatusCode() (v int32)
func (*InfoResponse) GetStatusMsg ¶
func (p *InfoResponse) GetStatusMsg() (v string)
func (*InfoResponse) GetUser ¶
func (p *InfoResponse) GetUser() (v *User)
func (*InfoResponse) InitDefault ¶
func (p *InfoResponse) InitDefault()
func (*InfoResponse) IsSetStatusMsg ¶
func (p *InfoResponse) IsSetStatusMsg() bool
func (*InfoResponse) IsSetUser ¶
func (p *InfoResponse) IsSetUser() bool
func (*InfoResponse) ReadField1 ¶
func (p *InfoResponse) ReadField1(iprot thrift.TProtocol) error
func (*InfoResponse) ReadField2 ¶
func (p *InfoResponse) ReadField2(iprot thrift.TProtocol) error
func (*InfoResponse) ReadField3 ¶
func (p *InfoResponse) ReadField3(iprot thrift.TProtocol) error
func (*InfoResponse) SetStatusCode ¶
func (p *InfoResponse) SetStatusCode(val int32)
func (*InfoResponse) SetStatusMsg ¶
func (p *InfoResponse) SetStatusMsg(val *string)
func (*InfoResponse) SetUser ¶
func (p *InfoResponse) SetUser(val *User)
func (*InfoResponse) String ¶
func (p *InfoResponse) String() string
type LoginRequest ¶
type LoginRequest struct { Username string `thrift:"username,1,required" frugal:"1,required,string" json:"username"` Password string `thrift:"password,2,required" frugal:"2,required,string" json:"password"` }
var UserServiceUserLoginArgs_Req_DEFAULT *LoginRequest
func NewLoginRequest ¶
func NewLoginRequest() *LoginRequest
func (*LoginRequest) BLength ¶
func (p *LoginRequest) BLength() int
func (*LoginRequest) DeepEqual ¶
func (p *LoginRequest) DeepEqual(ano *LoginRequest) bool
func (*LoginRequest) FastReadField1 ¶
func (p *LoginRequest) FastReadField1(buf []byte) (int, error)
func (*LoginRequest) FastReadField2 ¶
func (p *LoginRequest) FastReadField2(buf []byte) (int, error)
func (*LoginRequest) FastWriteNocopy ¶
func (p *LoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LoginRequest) Field1DeepEqual ¶
func (p *LoginRequest) Field1DeepEqual(src string) bool
func (*LoginRequest) Field2DeepEqual ¶
func (p *LoginRequest) Field2DeepEqual(src string) bool
func (*LoginRequest) GetPassword ¶
func (p *LoginRequest) GetPassword() (v string)
func (*LoginRequest) GetUsername ¶
func (p *LoginRequest) GetUsername() (v string)
func (*LoginRequest) InitDefault ¶
func (p *LoginRequest) InitDefault()
func (*LoginRequest) ReadField1 ¶
func (p *LoginRequest) ReadField1(iprot thrift.TProtocol) error
func (*LoginRequest) ReadField2 ¶
func (p *LoginRequest) ReadField2(iprot thrift.TProtocol) error
func (*LoginRequest) SetPassword ¶
func (p *LoginRequest) SetPassword(val string)
func (*LoginRequest) SetUsername ¶
func (p *LoginRequest) SetUsername(val string)
func (*LoginRequest) String ¶
func (p *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,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,required" frugal:"3,required,i64" json:"user_id"` Token string `thrift:"token,4,required" frugal:"4,required,string" json:"token"` }
var UserServiceUserLoginResult_Success_DEFAULT *LoginResponse
func NewLoginResponse ¶
func NewLoginResponse() *LoginResponse
func (*LoginResponse) BLength ¶
func (p *LoginResponse) BLength() int
func (*LoginResponse) DeepEqual ¶
func (p *LoginResponse) DeepEqual(ano *LoginResponse) bool
func (*LoginResponse) FastReadField1 ¶
func (p *LoginResponse) FastReadField1(buf []byte) (int, error)
func (*LoginResponse) FastReadField2 ¶
func (p *LoginResponse) FastReadField2(buf []byte) (int, error)
func (*LoginResponse) FastReadField3 ¶
func (p *LoginResponse) FastReadField3(buf []byte) (int, error)
func (*LoginResponse) FastReadField4 ¶
func (p *LoginResponse) FastReadField4(buf []byte) (int, error)
func (*LoginResponse) FastWrite ¶
func (p *LoginResponse) FastWrite(buf []byte) int
for compatibility
func (*LoginResponse) FastWriteNocopy ¶
func (p *LoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LoginResponse) Field1DeepEqual ¶
func (p *LoginResponse) Field1DeepEqual(src int32) bool
func (*LoginResponse) Field2DeepEqual ¶
func (p *LoginResponse) Field2DeepEqual(src *string) bool
func (*LoginResponse) Field3DeepEqual ¶
func (p *LoginResponse) Field3DeepEqual(src int64) bool
func (*LoginResponse) Field4DeepEqual ¶
func (p *LoginResponse) Field4DeepEqual(src string) bool
func (*LoginResponse) GetStatusCode ¶
func (p *LoginResponse) GetStatusCode() (v int32)
func (*LoginResponse) GetStatusMsg ¶
func (p *LoginResponse) GetStatusMsg() (v string)
func (*LoginResponse) GetToken ¶
func (p *LoginResponse) GetToken() (v string)
func (*LoginResponse) GetUserId ¶
func (p *LoginResponse) GetUserId() (v int64)
func (*LoginResponse) InitDefault ¶
func (p *LoginResponse) InitDefault()
func (*LoginResponse) IsSetStatusMsg ¶
func (p *LoginResponse) IsSetStatusMsg() bool
func (*LoginResponse) ReadField1 ¶
func (p *LoginResponse) ReadField1(iprot thrift.TProtocol) error
func (*LoginResponse) ReadField2 ¶
func (p *LoginResponse) ReadField2(iprot thrift.TProtocol) error
func (*LoginResponse) ReadField3 ¶
func (p *LoginResponse) ReadField3(iprot thrift.TProtocol) error
func (*LoginResponse) ReadField4 ¶
func (p *LoginResponse) ReadField4(iprot thrift.TProtocol) error
func (*LoginResponse) SetStatusCode ¶
func (p *LoginResponse) SetStatusCode(val int32)
func (*LoginResponse) SetStatusMsg ¶
func (p *LoginResponse) SetStatusMsg(val *string)
func (*LoginResponse) SetToken ¶
func (p *LoginResponse) SetToken(val string)
func (*LoginResponse) SetUserId ¶
func (p *LoginResponse) SetUserId(val int64)
func (*LoginResponse) String ¶
func (p *LoginResponse) String() string
type RegisterRequest ¶
type RegisterRequest struct { Username string `thrift:"username,1,required" frugal:"1,required,string" json:"username"` Password string `thrift:"password,2,required" frugal:"2,required,string" json:"password"` }
var UserServiceUserRegisterArgs_Req_DEFAULT *RegisterRequest
func NewRegisterRequest ¶
func NewRegisterRequest() *RegisterRequest
func (*RegisterRequest) BLength ¶
func (p *RegisterRequest) BLength() int
func (*RegisterRequest) DeepEqual ¶
func (p *RegisterRequest) DeepEqual(ano *RegisterRequest) bool
func (*RegisterRequest) FastReadField1 ¶
func (p *RegisterRequest) FastReadField1(buf []byte) (int, error)
func (*RegisterRequest) FastReadField2 ¶
func (p *RegisterRequest) FastReadField2(buf []byte) (int, error)
func (*RegisterRequest) FastWrite ¶
func (p *RegisterRequest) FastWrite(buf []byte) int
for compatibility
func (*RegisterRequest) FastWriteNocopy ¶
func (p *RegisterRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RegisterRequest) Field1DeepEqual ¶
func (p *RegisterRequest) Field1DeepEqual(src string) bool
func (*RegisterRequest) Field2DeepEqual ¶
func (p *RegisterRequest) Field2DeepEqual(src string) bool
func (*RegisterRequest) GetPassword ¶
func (p *RegisterRequest) GetPassword() (v string)
func (*RegisterRequest) GetUsername ¶
func (p *RegisterRequest) GetUsername() (v string)
func (*RegisterRequest) InitDefault ¶
func (p *RegisterRequest) InitDefault()
func (*RegisterRequest) ReadField1 ¶
func (p *RegisterRequest) ReadField1(iprot thrift.TProtocol) error
func (*RegisterRequest) ReadField2 ¶
func (p *RegisterRequest) ReadField2(iprot thrift.TProtocol) error
func (*RegisterRequest) SetPassword ¶
func (p *RegisterRequest) SetPassword(val string)
func (*RegisterRequest) SetUsername ¶
func (p *RegisterRequest) SetUsername(val string)
func (*RegisterRequest) String ¶
func (p *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,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,required" frugal:"3,required,i64" json:"user_id"` Token string `thrift:"token,4,required" frugal:"4,required,string" json:"token"` }
var UserServiceUserRegisterResult_Success_DEFAULT *RegisterResponse
func NewRegisterResponse ¶
func NewRegisterResponse() *RegisterResponse
func (*RegisterResponse) BLength ¶
func (p *RegisterResponse) BLength() int
func (*RegisterResponse) DeepEqual ¶
func (p *RegisterResponse) DeepEqual(ano *RegisterResponse) bool
func (*RegisterResponse) FastReadField1 ¶
func (p *RegisterResponse) FastReadField1(buf []byte) (int, error)
func (*RegisterResponse) FastReadField2 ¶
func (p *RegisterResponse) FastReadField2(buf []byte) (int, error)
func (*RegisterResponse) FastReadField3 ¶
func (p *RegisterResponse) FastReadField3(buf []byte) (int, error)
func (*RegisterResponse) FastReadField4 ¶
func (p *RegisterResponse) FastReadField4(buf []byte) (int, error)
func (*RegisterResponse) FastWrite ¶
func (p *RegisterResponse) FastWrite(buf []byte) int
for compatibility
func (*RegisterResponse) FastWriteNocopy ¶
func (p *RegisterResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RegisterResponse) Field1DeepEqual ¶
func (p *RegisterResponse) Field1DeepEqual(src int32) bool
func (*RegisterResponse) Field2DeepEqual ¶
func (p *RegisterResponse) Field2DeepEqual(src *string) bool
func (*RegisterResponse) Field3DeepEqual ¶
func (p *RegisterResponse) Field3DeepEqual(src int64) bool
func (*RegisterResponse) Field4DeepEqual ¶
func (p *RegisterResponse) Field4DeepEqual(src string) bool
func (*RegisterResponse) GetStatusCode ¶
func (p *RegisterResponse) GetStatusCode() (v int32)
func (*RegisterResponse) GetStatusMsg ¶
func (p *RegisterResponse) GetStatusMsg() (v string)
func (*RegisterResponse) GetToken ¶
func (p *RegisterResponse) GetToken() (v string)
func (*RegisterResponse) GetUserId ¶
func (p *RegisterResponse) GetUserId() (v int64)
func (*RegisterResponse) InitDefault ¶
func (p *RegisterResponse) InitDefault()
func (*RegisterResponse) IsSetStatusMsg ¶
func (p *RegisterResponse) IsSetStatusMsg() bool
func (*RegisterResponse) ReadField1 ¶
func (p *RegisterResponse) ReadField1(iprot thrift.TProtocol) error
func (*RegisterResponse) ReadField2 ¶
func (p *RegisterResponse) ReadField2(iprot thrift.TProtocol) error
func (*RegisterResponse) ReadField3 ¶
func (p *RegisterResponse) ReadField3(iprot thrift.TProtocol) error
func (*RegisterResponse) ReadField4 ¶
func (p *RegisterResponse) ReadField4(iprot thrift.TProtocol) error
func (*RegisterResponse) SetStatusCode ¶
func (p *RegisterResponse) SetStatusCode(val int32)
func (*RegisterResponse) SetStatusMsg ¶
func (p *RegisterResponse) SetStatusMsg(val *string)
func (*RegisterResponse) SetToken ¶
func (p *RegisterResponse) SetToken(val string)
func (*RegisterResponse) SetUserId ¶
func (p *RegisterResponse) SetUserId(val int64)
func (*RegisterResponse) String ¶
func (p *RegisterResponse) String() string
type User ¶
type User struct { Id int64 `thrift:"id,1,required" frugal:"1,required,i64" json:"id"` Name string `thrift:"name,2,required" frugal:"2,required,string" json:"name"` FollowCount *int64 `thrift:"follow_count,3,optional" frugal:"3,optional,i64" json:"follow_count,omitempty"` FollowerCount *int64 `thrift:"follower_count,4,optional" frugal:"4,optional,i64" json:"follower_count,omitempty"` IsFollow bool `thrift:"is_follow,5,required" frugal:"5,required,bool" json:"is_follow"` Avatar *string `thrift:"avatar,6,optional" frugal:"6,optional,string" json:"avatar,omitempty"` BackgroundImage *string `thrift:"background_image,7,optional" frugal:"7,optional,string" json:"background_image,omitempty"` Signature *string `thrift:"signature,8,optional" frugal:"8,optional,string" json:"signature,omitempty"` TotalFavorited *int64 `thrift:"total_favorited,9,optional" frugal:"9,optional,i64" json:"total_favorited,omitempty"` WorkCount *int64 `thrift:"work_count,10,optional" frugal:"10,optional,i64" json:"work_count,omitempty"` FavoriteCount *int64 `thrift:"favorite_count,11,optional" frugal:"11,optional,i64" json:"favorite_count,omitempty"` }
var InfoResponse_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) IsSetAvatar ¶
func (*User) IsSetBackgroundImage ¶
func (*User) IsSetFavoriteCount ¶
func (*User) IsSetFollowCount ¶
func (*User) IsSetFollowerCount ¶
func (*User) IsSetSignature ¶
func (*User) IsSetTotalFavorited ¶
func (*User) IsSetWorkCount ¶
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 UserService ¶
type UserService interface { UserRegister(ctx context.Context, req *RegisterRequest) (r *RegisterResponse, err error) UserLogin(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error) UserInfo(ctx context.Context, req *InfoRequest) (r *InfoResponse, 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 *InfoRequest) (r *InfoResponse, err error)
func (*UserServiceClient) UserLogin ¶
func (p *UserServiceClient) UserLogin(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)
func (*UserServiceClient) UserRegister ¶
func (p *UserServiceClient) UserRegister(ctx context.Context, req *RegisterRequest) (r *RegisterResponse, 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 *InfoRequest `thrift:"req,1" frugal:"1,default,InfoRequest" 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 *InfoRequest) bool
func (*UserServiceUserInfoArgs) GetFirstArgument ¶
func (p *UserServiceUserInfoArgs) GetFirstArgument() interface{}
func (*UserServiceUserInfoArgs) GetReq ¶
func (p *UserServiceUserInfoArgs) GetReq() (v *InfoRequest)
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 *InfoRequest)
func (*UserServiceUserInfoArgs) String ¶
func (p *UserServiceUserInfoArgs) String() string
type UserServiceUserInfoResult ¶
type UserServiceUserInfoResult struct {
Success *InfoResponse `thrift:"success,0,optional" frugal:"0,optional,InfoResponse" 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 *InfoResponse) bool
func (*UserServiceUserInfoResult) GetResult ¶
func (p *UserServiceUserInfoResult) GetResult() interface{}
func (*UserServiceUserInfoResult) GetSuccess ¶
func (p *UserServiceUserInfoResult) GetSuccess() (v *InfoResponse)
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 *LoginRequest `thrift:"req,1" frugal:"1,default,LoginRequest" 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 *LoginRequest) bool
func (*UserServiceUserLoginArgs) GetFirstArgument ¶
func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}
func (*UserServiceUserLoginArgs) GetReq ¶
func (p *UserServiceUserLoginArgs) GetReq() (v *LoginRequest)
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 *LoginRequest)
func (*UserServiceUserLoginArgs) String ¶
func (p *UserServiceUserLoginArgs) String() string
type UserServiceUserLoginResult ¶
type UserServiceUserLoginResult struct {
Success *LoginResponse `thrift:"success,0,optional" frugal:"0,optional,LoginResponse" 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 *LoginResponse) bool
func (*UserServiceUserLoginResult) GetResult ¶
func (p *UserServiceUserLoginResult) GetResult() interface{}
func (*UserServiceUserLoginResult) GetSuccess ¶
func (p *UserServiceUserLoginResult) GetSuccess() (v *LoginResponse)
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 *RegisterRequest `thrift:"req,1" frugal:"1,default,RegisterRequest" 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 *RegisterRequest) bool
func (*UserServiceUserRegisterArgs) GetFirstArgument ¶
func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}
func (*UserServiceUserRegisterArgs) GetReq ¶
func (p *UserServiceUserRegisterArgs) GetReq() (v *RegisterRequest)
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 *RegisterRequest)
func (*UserServiceUserRegisterArgs) String ¶
func (p *UserServiceUserRegisterArgs) String() string
type UserServiceUserRegisterResult ¶
type UserServiceUserRegisterResult struct {
Success *RegisterResponse `thrift:"success,0,optional" frugal:"0,optional,RegisterResponse" 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 *RegisterResponse) bool
func (*UserServiceUserRegisterResult) GetResult ¶
func (p *UserServiceUserRegisterResult) GetResult() interface{}
func (*UserServiceUserRegisterResult) GetSuccess ¶
func (p *UserServiceUserRegisterResult) GetSuccess() (v *RegisterResponse)
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.