Documentation ¶
Index ¶
- Variables
- 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 int64) 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 int64)
- 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) IsSetToken() bool
- func (p *LoginResponse) IsSetUserId() 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 int64)
- 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 int64) 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 int64)
- 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) 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 int64)
- 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 UserInfo
- func (p *UserInfo) BLength() int
- func (p *UserInfo) DeepEqual(ano *UserInfo) bool
- func (p *UserInfo) FastRead(buf []byte) (int, error)
- func (p *UserInfo) FastReadField1(buf []byte) (int, error)
- func (p *UserInfo) FastReadField10(buf []byte) (int, error)
- func (p *UserInfo) FastReadField11(buf []byte) (int, error)
- func (p *UserInfo) FastReadField2(buf []byte) (int, error)
- func (p *UserInfo) FastReadField3(buf []byte) (int, error)
- func (p *UserInfo) FastReadField4(buf []byte) (int, error)
- func (p *UserInfo) FastReadField5(buf []byte) (int, error)
- func (p *UserInfo) FastReadField6(buf []byte) (int, error)
- func (p *UserInfo) FastReadField7(buf []byte) (int, error)
- func (p *UserInfo) FastReadField8(buf []byte) (int, error)
- func (p *UserInfo) FastReadField9(buf []byte) (int, error)
- func (p *UserInfo) FastWrite(buf []byte) int
- func (p *UserInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserInfo) Field10DeepEqual(src *string) bool
- func (p *UserInfo) Field11DeepEqual(src *string) bool
- func (p *UserInfo) Field1DeepEqual(src int64) bool
- func (p *UserInfo) Field2DeepEqual(src string) bool
- func (p *UserInfo) Field3DeepEqual(src int64) bool
- func (p *UserInfo) Field4DeepEqual(src int64) bool
- func (p *UserInfo) Field5DeepEqual(src bool) bool
- func (p *UserInfo) Field6DeepEqual(src *int64) bool
- func (p *UserInfo) Field7DeepEqual(src *int64) bool
- func (p *UserInfo) Field8DeepEqual(src *int64) bool
- func (p *UserInfo) Field9DeepEqual(src *string) bool
- func (p *UserInfo) GetAvatar() (v string)
- func (p *UserInfo) GetBackgroundImage() (v string)
- func (p *UserInfo) GetFavoriteCount() (v int64)
- func (p *UserInfo) GetFollowCount() (v int64)
- func (p *UserInfo) GetFollowerCount() (v int64)
- func (p *UserInfo) GetId() (v int64)
- func (p *UserInfo) GetIsFollow() (v bool)
- func (p *UserInfo) GetName() (v string)
- func (p *UserInfo) GetSignature() (v string)
- func (p *UserInfo) GetTotalFavorited() (v int64)
- func (p *UserInfo) GetWorkCount() (v int64)
- func (p *UserInfo) InitDefault()
- func (p *UserInfo) IsSetAvatar() bool
- func (p *UserInfo) IsSetBackgroundImage() bool
- func (p *UserInfo) IsSetFavoriteCount() bool
- func (p *UserInfo) IsSetSignature() bool
- func (p *UserInfo) IsSetTotalFavorited() bool
- func (p *UserInfo) IsSetWorkCount() bool
- func (p *UserInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField10(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField11(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField9(iprot thrift.TProtocol) error
- func (p *UserInfo) SetAvatar(val *string)
- func (p *UserInfo) SetBackgroundImage(val *string)
- func (p *UserInfo) SetFavoriteCount(val *int64)
- func (p *UserInfo) SetFollowCount(val int64)
- func (p *UserInfo) SetFollowerCount(val int64)
- func (p *UserInfo) SetId(val int64)
- func (p *UserInfo) SetIsFollow(val bool)
- func (p *UserInfo) SetName(val string)
- func (p *UserInfo) SetSignature(val *string)
- func (p *UserInfo) SetTotalFavorited(val *int64)
- func (p *UserInfo) SetWorkCount(val *int64)
- func (p *UserInfo) String() string
- func (p *UserInfo) 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 int64) bool
- func (p *UserInfoRequest) GetQueryId() (v int64)
- 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) SetQueryId(val int64)
- 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 int64) bool
- func (p *UserInfoResponse) Field2DeepEqual(src *string) bool
- func (p *UserInfoResponse) Field3DeepEqual(src *UserInfo) bool
- func (p *UserInfoResponse) GetStatusCode() (v int64)
- func (p *UserInfoResponse) GetStatusMsg() (v string)
- func (p *UserInfoResponse) GetUser() (v *UserInfo)
- 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 int64)
- func (p *UserInfoResponse) SetStatusMsg(val *string)
- func (p *UserInfoResponse) SetUser(val *UserInfo)
- func (p *UserInfoResponse) String() string
- func (p *UserInfoResponse) Write(oprot thrift.TProtocol) (err error)
- type UserService
- type UserServiceClient
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) GetUserInfo(ctx context.Context, request *UserInfoRequest) (r *UserInfoResponse, err error)
- func (p *UserServiceClient) UserLogin(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error)
- func (p *UserServiceClient) UserRegister(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error)
- type UserServiceGetUserInfoArgs
- func (p *UserServiceGetUserInfoArgs) BLength() int
- func (p *UserServiceGetUserInfoArgs) DeepEqual(ano *UserServiceGetUserInfoArgs) bool
- func (p *UserServiceGetUserInfoArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetUserInfoArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceGetUserInfoArgs) FastWrite(buf []byte) int
- func (p *UserServiceGetUserInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetUserInfoArgs) Field1DeepEqual(src *UserInfoRequest) bool
- func (p *UserServiceGetUserInfoArgs) GetFirstArgument() interface{}
- func (p *UserServiceGetUserInfoArgs) GetRequest() (v *UserInfoRequest)
- func (p *UserServiceGetUserInfoArgs) InitDefault()
- func (p *UserServiceGetUserInfoArgs) IsSetRequest() bool
- func (p *UserServiceGetUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceGetUserInfoArgs) SetRequest(val *UserInfoRequest)
- func (p *UserServiceGetUserInfoArgs) String() string
- func (p *UserServiceGetUserInfoArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetUserInfoResult
- func (p *UserServiceGetUserInfoResult) BLength() int
- func (p *UserServiceGetUserInfoResult) DeepEqual(ano *UserServiceGetUserInfoResult) bool
- func (p *UserServiceGetUserInfoResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetUserInfoResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceGetUserInfoResult) FastWrite(buf []byte) int
- func (p *UserServiceGetUserInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetUserInfoResult) Field0DeepEqual(src *UserInfoResponse) bool
- func (p *UserServiceGetUserInfoResult) GetResult() interface{}
- func (p *UserServiceGetUserInfoResult) GetSuccess() (v *UserInfoResponse)
- func (p *UserServiceGetUserInfoResult) InitDefault()
- func (p *UserServiceGetUserInfoResult) IsSetSuccess() bool
- func (p *UserServiceGetUserInfoResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetUserInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceGetUserInfoResult) SetSuccess(x interface{})
- func (p *UserServiceGetUserInfoResult) String() string
- func (p *UserServiceGetUserInfoResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceProcessor
- func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- 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) GetRequest() (v *LoginRequest)
- func (p *UserServiceUserLoginArgs) InitDefault()
- func (p *UserServiceUserLoginArgs) IsSetRequest() bool
- func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginArgs) SetRequest(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) GetRequest() (v *RegisterRequest)
- func (p *UserServiceUserRegisterArgs) InitDefault()
- func (p *UserServiceUserRegisterArgs) IsSetRequest() bool
- func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterArgs) SetRequest(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 KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var LoginResponse_StatusMsg_DEFAULT string
View Source
var LoginResponse_Token_DEFAULT string
View Source
var LoginResponse_UserId_DEFAULT int64
View Source
var UserInfoResponse_StatusMsg_DEFAULT string
View Source
var UserInfo_Avatar_DEFAULT string
View Source
var UserInfo_BackgroundImage_DEFAULT string
View Source
var UserInfo_FavoriteCount_DEFAULT int64
View Source
var UserInfo_Signature_DEFAULT string
View Source
var UserInfo_TotalFavorited_DEFAULT int64
View Source
var UserInfo_WorkCount_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type LoginRequest ¶
type LoginRequest 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_Request_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 int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserId *int64 `thrift:"user_id,3,optional" frugal:"3,optional,i64" json:"user_id,omitempty"` Token *string `thrift:"token,4,optional" frugal:"4,optional,string" json:"token,omitempty"` }
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 int64) 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 int64)
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) IsSetToken ¶
func (p *LoginResponse) IsSetToken() bool
func (*LoginResponse) IsSetUserId ¶
func (p *LoginResponse) IsSetUserId() 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 int64)
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" frugal:"1,default,string" json:"username"` Password string `thrift:"password,2" frugal:"2,default,string" json:"password"` }
var UserServiceUserRegisterArgs_Request_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 int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` 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 *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 int64) 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 int64)
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) 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 int64)
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 UserInfo ¶
type UserInfo 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"` WorkCount *int64 `thrift:"work_count,6,optional" frugal:"6,optional,i64" json:"work_count,omitempty"` FavoriteCount *int64 `thrift:"favorite_count,7,optional" frugal:"7,optional,i64" json:"favorite_count,omitempty"` TotalFavorited *int64 `thrift:"total_favorited,8,optional" frugal:"8,optional,i64" json:"total_favorited,omitempty"` Signature *string `thrift:"signature,9,optional" frugal:"9,optional,string" json:"signature,omitempty"` Avatar *string `thrift:"avatar,10,optional" frugal:"10,optional,string" json:"avatar,omitempty"` BackgroundImage *string `thrift:"background_image,11,optional" frugal:"11,optional,string" json:"background_image,omitempty"` }
var UserInfoResponse_User_DEFAULT *UserInfo
func NewUserInfo ¶
func NewUserInfo() *UserInfo
func (*UserInfo) FastWriteNocopy ¶
func (p *UserInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserInfo) Field10DeepEqual ¶
func (*UserInfo) Field11DeepEqual ¶
func (*UserInfo) Field1DeepEqual ¶
func (*UserInfo) Field2DeepEqual ¶
func (*UserInfo) Field3DeepEqual ¶
func (*UserInfo) Field4DeepEqual ¶
func (*UserInfo) Field5DeepEqual ¶
func (*UserInfo) Field6DeepEqual ¶
func (*UserInfo) Field7DeepEqual ¶
func (*UserInfo) Field8DeepEqual ¶
func (*UserInfo) Field9DeepEqual ¶
func (*UserInfo) GetBackgroundImage ¶
func (*UserInfo) GetFavoriteCount ¶
func (*UserInfo) GetFollowCount ¶
func (*UserInfo) GetFollowerCount ¶
func (*UserInfo) GetIsFollow ¶
func (*UserInfo) GetSignature ¶
func (*UserInfo) GetTotalFavorited ¶
func (*UserInfo) GetWorkCount ¶
func (*UserInfo) InitDefault ¶
func (p *UserInfo) InitDefault()
func (*UserInfo) IsSetAvatar ¶
func (*UserInfo) IsSetBackgroundImage ¶
func (*UserInfo) IsSetFavoriteCount ¶
func (*UserInfo) IsSetSignature ¶
func (*UserInfo) IsSetTotalFavorited ¶
func (*UserInfo) IsSetWorkCount ¶
func (*UserInfo) SetBackgroundImage ¶
func (*UserInfo) SetFavoriteCount ¶
func (*UserInfo) SetFollowCount ¶
func (*UserInfo) SetFollowerCount ¶
func (*UserInfo) SetIsFollow ¶
func (*UserInfo) SetSignature ¶
func (*UserInfo) SetTotalFavorited ¶
func (*UserInfo) SetWorkCount ¶
type UserInfoRequest ¶
type UserInfoRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` QueryId int64 `thrift:"query_id,2" frugal:"2,default,i64" json:"query_id"` }
var UserServiceGetUserInfoArgs_Request_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 int64) bool
func (*UserInfoRequest) GetQueryId ¶
func (p *UserInfoRequest) GetQueryId() (v int64)
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) SetQueryId ¶
func (p *UserInfoRequest) SetQueryId(val int64)
func (*UserInfoRequest) SetUserId ¶
func (p *UserInfoRequest) SetUserId(val int64)
func (*UserInfoRequest) String ¶
func (p *UserInfoRequest) String() string
type UserInfoResponse ¶
type UserInfoResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` User *UserInfo `thrift:"user,3,optional" frugal:"3,optional,UserInfo" json:"user,omitempty"` }
var UserServiceGetUserInfoResult_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 int64) bool
func (*UserInfoResponse) Field2DeepEqual ¶
func (p *UserInfoResponse) Field2DeepEqual(src *string) bool
func (*UserInfoResponse) Field3DeepEqual ¶
func (p *UserInfoResponse) Field3DeepEqual(src *UserInfo) bool
func (*UserInfoResponse) GetStatusCode ¶
func (p *UserInfoResponse) GetStatusCode() (v int64)
func (*UserInfoResponse) GetStatusMsg ¶
func (p *UserInfoResponse) GetStatusMsg() (v string)
func (*UserInfoResponse) GetUser ¶
func (p *UserInfoResponse) GetUser() (v *UserInfo)
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 int64)
func (*UserInfoResponse) SetStatusMsg ¶
func (p *UserInfoResponse) SetStatusMsg(val *string)
func (*UserInfoResponse) SetUser ¶
func (p *UserInfoResponse) SetUser(val *UserInfo)
func (*UserInfoResponse) String ¶
func (p *UserInfoResponse) String() string
type UserService ¶
type UserService interface { UserRegister(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error) UserLogin(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error) GetUserInfo(ctx context.Context, request *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) GetUserInfo ¶
func (p *UserServiceClient) GetUserInfo(ctx context.Context, request *UserInfoRequest) (r *UserInfoResponse, err error)
func (*UserServiceClient) UserLogin ¶
func (p *UserServiceClient) UserLogin(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error)
func (*UserServiceClient) UserRegister ¶
func (p *UserServiceClient) UserRegister(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error)
type UserServiceGetUserInfoArgs ¶
type UserServiceGetUserInfoArgs struct {
Request *UserInfoRequest `thrift:"request,1" frugal:"1,default,UserInfoRequest" json:"request"`
}
func NewUserServiceGetUserInfoArgs ¶
func NewUserServiceGetUserInfoArgs() *UserServiceGetUserInfoArgs
func (*UserServiceGetUserInfoArgs) BLength ¶
func (p *UserServiceGetUserInfoArgs) BLength() int
func (*UserServiceGetUserInfoArgs) DeepEqual ¶
func (p *UserServiceGetUserInfoArgs) DeepEqual(ano *UserServiceGetUserInfoArgs) bool
func (*UserServiceGetUserInfoArgs) FastRead ¶
func (p *UserServiceGetUserInfoArgs) FastRead(buf []byte) (int, error)
func (*UserServiceGetUserInfoArgs) FastReadField1 ¶
func (p *UserServiceGetUserInfoArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceGetUserInfoArgs) FastWrite ¶
func (p *UserServiceGetUserInfoArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetUserInfoArgs) FastWriteNocopy ¶
func (p *UserServiceGetUserInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetUserInfoArgs) Field1DeepEqual ¶
func (p *UserServiceGetUserInfoArgs) Field1DeepEqual(src *UserInfoRequest) bool
func (*UserServiceGetUserInfoArgs) GetFirstArgument ¶
func (p *UserServiceGetUserInfoArgs) GetFirstArgument() interface{}
func (*UserServiceGetUserInfoArgs) GetRequest ¶
func (p *UserServiceGetUserInfoArgs) GetRequest() (v *UserInfoRequest)
func (*UserServiceGetUserInfoArgs) InitDefault ¶
func (p *UserServiceGetUserInfoArgs) InitDefault()
func (*UserServiceGetUserInfoArgs) IsSetRequest ¶
func (p *UserServiceGetUserInfoArgs) IsSetRequest() bool
func (*UserServiceGetUserInfoArgs) Read ¶
func (p *UserServiceGetUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetUserInfoArgs) ReadField1 ¶
func (p *UserServiceGetUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceGetUserInfoArgs) SetRequest ¶
func (p *UserServiceGetUserInfoArgs) SetRequest(val *UserInfoRequest)
func (*UserServiceGetUserInfoArgs) String ¶
func (p *UserServiceGetUserInfoArgs) String() string
type UserServiceGetUserInfoResult ¶
type UserServiceGetUserInfoResult struct {
Success *UserInfoResponse `thrift:"success,0,optional" frugal:"0,optional,UserInfoResponse" json:"success,omitempty"`
}
func NewUserServiceGetUserInfoResult ¶
func NewUserServiceGetUserInfoResult() *UserServiceGetUserInfoResult
func (*UserServiceGetUserInfoResult) BLength ¶
func (p *UserServiceGetUserInfoResult) BLength() int
func (*UserServiceGetUserInfoResult) DeepEqual ¶
func (p *UserServiceGetUserInfoResult) DeepEqual(ano *UserServiceGetUserInfoResult) bool
func (*UserServiceGetUserInfoResult) FastRead ¶
func (p *UserServiceGetUserInfoResult) FastRead(buf []byte) (int, error)
func (*UserServiceGetUserInfoResult) FastReadField0 ¶
func (p *UserServiceGetUserInfoResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceGetUserInfoResult) FastWrite ¶
func (p *UserServiceGetUserInfoResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetUserInfoResult) FastWriteNocopy ¶
func (p *UserServiceGetUserInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetUserInfoResult) Field0DeepEqual ¶
func (p *UserServiceGetUserInfoResult) Field0DeepEqual(src *UserInfoResponse) bool
func (*UserServiceGetUserInfoResult) GetResult ¶
func (p *UserServiceGetUserInfoResult) GetResult() interface{}
func (*UserServiceGetUserInfoResult) GetSuccess ¶
func (p *UserServiceGetUserInfoResult) GetSuccess() (v *UserInfoResponse)
func (*UserServiceGetUserInfoResult) InitDefault ¶
func (p *UserServiceGetUserInfoResult) InitDefault()
func (*UserServiceGetUserInfoResult) IsSetSuccess ¶
func (p *UserServiceGetUserInfoResult) IsSetSuccess() bool
func (*UserServiceGetUserInfoResult) Read ¶
func (p *UserServiceGetUserInfoResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetUserInfoResult) ReadField0 ¶
func (p *UserServiceGetUserInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceGetUserInfoResult) SetSuccess ¶
func (p *UserServiceGetUserInfoResult) SetSuccess(x interface{})
func (*UserServiceGetUserInfoResult) String ¶
func (p *UserServiceGetUserInfoResult) String() string
type UserServiceProcessor ¶
type UserServiceProcessor struct {
// contains filtered or unexported fields
}
func NewUserServiceProcessor ¶
func NewUserServiceProcessor(handler UserService) *UserServiceProcessor
func (*UserServiceProcessor) AddToProcessorMap ¶
func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*UserServiceProcessor) GetProcessorFunction ¶
func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*UserServiceProcessor) Process ¶
func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*UserServiceProcessor) ProcessorMap ¶
func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type UserServiceUserLoginArgs ¶
type UserServiceUserLoginArgs struct {
Request *LoginRequest `thrift:"request,1" frugal:"1,default,LoginRequest" json:"request"`
}
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) GetRequest ¶
func (p *UserServiceUserLoginArgs) GetRequest() (v *LoginRequest)
func (*UserServiceUserLoginArgs) InitDefault ¶
func (p *UserServiceUserLoginArgs) InitDefault()
func (*UserServiceUserLoginArgs) IsSetRequest ¶
func (p *UserServiceUserLoginArgs) IsSetRequest() 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) SetRequest ¶
func (p *UserServiceUserLoginArgs) SetRequest(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 {
Request *RegisterRequest `thrift:"request,1" frugal:"1,default,RegisterRequest" json:"request"`
}
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) GetRequest ¶
func (p *UserServiceUserRegisterArgs) GetRequest() (v *RegisterRequest)
func (*UserServiceUserRegisterArgs) InitDefault ¶
func (p *UserServiceUserRegisterArgs) InitDefault()
func (*UserServiceUserRegisterArgs) IsSetRequest ¶
func (p *UserServiceUserRegisterArgs) IsSetRequest() 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) SetRequest ¶
func (p *UserServiceUserRegisterArgs) SetRequest(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.