Documentation ¶
Index ¶
- Variables
- type AuthService
- type AuthServiceClient
- func (p *AuthServiceClient) Client_() thrift.TClient
- func (p *AuthServiceClient) GetUser(ctx context.Context, req *GetUserRequest) (r *UserInfo, err error)
- func (p *AuthServiceClient) Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)
- func (p *AuthServiceClient) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)
- func (p *AuthServiceClient) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error)
- type AuthServiceGetUserArgs
- func (p *AuthServiceGetUserArgs) BLength() int
- func (p *AuthServiceGetUserArgs) DeepEqual(ano *AuthServiceGetUserArgs) bool
- func (p *AuthServiceGetUserArgs) FastRead(buf []byte) (int, error)
- func (p *AuthServiceGetUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *AuthServiceGetUserArgs) FastWrite(buf []byte) int
- func (p *AuthServiceGetUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceGetUserArgs) Field1DeepEqual(src *GetUserRequest) bool
- func (p *AuthServiceGetUserArgs) GetFirstArgument() interface{}
- func (p *AuthServiceGetUserArgs) GetReq() (v *GetUserRequest)
- func (p *AuthServiceGetUserArgs) InitDefault()
- func (p *AuthServiceGetUserArgs) IsSetReq() bool
- func (p *AuthServiceGetUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceGetUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AuthServiceGetUserArgs) SetReq(val *GetUserRequest)
- func (p *AuthServiceGetUserArgs) String() string
- func (p *AuthServiceGetUserArgs) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceGetUserResult
- func (p *AuthServiceGetUserResult) BLength() int
- func (p *AuthServiceGetUserResult) DeepEqual(ano *AuthServiceGetUserResult) bool
- func (p *AuthServiceGetUserResult) FastRead(buf []byte) (int, error)
- func (p *AuthServiceGetUserResult) FastReadField0(buf []byte) (int, error)
- func (p *AuthServiceGetUserResult) FastWrite(buf []byte) int
- func (p *AuthServiceGetUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceGetUserResult) Field0DeepEqual(src *UserInfo) bool
- func (p *AuthServiceGetUserResult) GetResult() interface{}
- func (p *AuthServiceGetUserResult) GetSuccess() (v *UserInfo)
- func (p *AuthServiceGetUserResult) InitDefault()
- func (p *AuthServiceGetUserResult) IsSetSuccess() bool
- func (p *AuthServiceGetUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceGetUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AuthServiceGetUserResult) SetSuccess(x interface{})
- func (p *AuthServiceGetUserResult) String() string
- func (p *AuthServiceGetUserResult) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceLoginArgs
- func (p *AuthServiceLoginArgs) BLength() int
- func (p *AuthServiceLoginArgs) DeepEqual(ano *AuthServiceLoginArgs) bool
- func (p *AuthServiceLoginArgs) FastRead(buf []byte) (int, error)
- func (p *AuthServiceLoginArgs) FastReadField1(buf []byte) (int, error)
- func (p *AuthServiceLoginArgs) FastWrite(buf []byte) int
- func (p *AuthServiceLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceLoginArgs) Field1DeepEqual(src *LoginRequest) bool
- func (p *AuthServiceLoginArgs) GetFirstArgument() interface{}
- func (p *AuthServiceLoginArgs) GetReq() (v *LoginRequest)
- func (p *AuthServiceLoginArgs) InitDefault()
- func (p *AuthServiceLoginArgs) IsSetReq() bool
- func (p *AuthServiceLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AuthServiceLoginArgs) SetReq(val *LoginRequest)
- func (p *AuthServiceLoginArgs) String() string
- func (p *AuthServiceLoginArgs) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceLoginResult
- func (p *AuthServiceLoginResult) BLength() int
- func (p *AuthServiceLoginResult) DeepEqual(ano *AuthServiceLoginResult) bool
- func (p *AuthServiceLoginResult) FastRead(buf []byte) (int, error)
- func (p *AuthServiceLoginResult) FastReadField0(buf []byte) (int, error)
- func (p *AuthServiceLoginResult) FastWrite(buf []byte) int
- func (p *AuthServiceLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceLoginResult) Field0DeepEqual(src *LoginResponse) bool
- func (p *AuthServiceLoginResult) GetResult() interface{}
- func (p *AuthServiceLoginResult) GetSuccess() (v *LoginResponse)
- func (p *AuthServiceLoginResult) InitDefault()
- func (p *AuthServiceLoginResult) IsSetSuccess() bool
- func (p *AuthServiceLoginResult) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceLoginResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AuthServiceLoginResult) SetSuccess(x interface{})
- func (p *AuthServiceLoginResult) String() string
- func (p *AuthServiceLoginResult) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceProcessor
- func (p *AuthServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AuthServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AuthServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AuthServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type AuthServiceUpdateUserArgs
- func (p *AuthServiceUpdateUserArgs) BLength() int
- func (p *AuthServiceUpdateUserArgs) DeepEqual(ano *AuthServiceUpdateUserArgs) bool
- func (p *AuthServiceUpdateUserArgs) FastRead(buf []byte) (int, error)
- func (p *AuthServiceUpdateUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *AuthServiceUpdateUserArgs) FastWrite(buf []byte) int
- func (p *AuthServiceUpdateUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceUpdateUserArgs) Field1DeepEqual(src *UpdateUserRequest) bool
- func (p *AuthServiceUpdateUserArgs) GetFirstArgument() interface{}
- func (p *AuthServiceUpdateUserArgs) GetReq() (v *UpdateUserRequest)
- func (p *AuthServiceUpdateUserArgs) InitDefault()
- func (p *AuthServiceUpdateUserArgs) IsSetReq() bool
- func (p *AuthServiceUpdateUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceUpdateUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AuthServiceUpdateUserArgs) SetReq(val *UpdateUserRequest)
- func (p *AuthServiceUpdateUserArgs) String() string
- func (p *AuthServiceUpdateUserArgs) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceUpdateUserResult
- func (p *AuthServiceUpdateUserResult) BLength() int
- func (p *AuthServiceUpdateUserResult) DeepEqual(ano *AuthServiceUpdateUserResult) bool
- func (p *AuthServiceUpdateUserResult) FastRead(buf []byte) (int, error)
- func (p *AuthServiceUpdateUserResult) FastReadField0(buf []byte) (int, error)
- func (p *AuthServiceUpdateUserResult) FastWrite(buf []byte) int
- func (p *AuthServiceUpdateUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceUpdateUserResult) Field0DeepEqual(src *UpdateUserResponse) bool
- func (p *AuthServiceUpdateUserResult) GetResult() interface{}
- func (p *AuthServiceUpdateUserResult) GetSuccess() (v *UpdateUserResponse)
- func (p *AuthServiceUpdateUserResult) InitDefault()
- func (p *AuthServiceUpdateUserResult) IsSetSuccess() bool
- func (p *AuthServiceUpdateUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceUpdateUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AuthServiceUpdateUserResult) SetSuccess(x interface{})
- func (p *AuthServiceUpdateUserResult) String() string
- func (p *AuthServiceUpdateUserResult) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceUploadAvatarArgs
- func (p *AuthServiceUploadAvatarArgs) BLength() int
- func (p *AuthServiceUploadAvatarArgs) DeepEqual(ano *AuthServiceUploadAvatarArgs) bool
- func (p *AuthServiceUploadAvatarArgs) FastRead(buf []byte) (int, error)
- func (p *AuthServiceUploadAvatarArgs) FastReadField1(buf []byte) (int, error)
- func (p *AuthServiceUploadAvatarArgs) FastWrite(buf []byte) int
- func (p *AuthServiceUploadAvatarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceUploadAvatarArgs) Field1DeepEqual(src *UploadAvatarRequset) bool
- func (p *AuthServiceUploadAvatarArgs) GetFirstArgument() interface{}
- func (p *AuthServiceUploadAvatarArgs) GetReq() (v *UploadAvatarRequset)
- func (p *AuthServiceUploadAvatarArgs) InitDefault()
- func (p *AuthServiceUploadAvatarArgs) IsSetReq() bool
- func (p *AuthServiceUploadAvatarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceUploadAvatarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AuthServiceUploadAvatarArgs) SetReq(val *UploadAvatarRequset)
- func (p *AuthServiceUploadAvatarArgs) String() string
- func (p *AuthServiceUploadAvatarArgs) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceUploadAvatarResult
- func (p *AuthServiceUploadAvatarResult) BLength() int
- func (p *AuthServiceUploadAvatarResult) DeepEqual(ano *AuthServiceUploadAvatarResult) bool
- func (p *AuthServiceUploadAvatarResult) FastRead(buf []byte) (int, error)
- func (p *AuthServiceUploadAvatarResult) FastReadField0(buf []byte) (int, error)
- func (p *AuthServiceUploadAvatarResult) FastWrite(buf []byte) int
- func (p *AuthServiceUploadAvatarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceUploadAvatarResult) Field0DeepEqual(src *UploadAvatarResponse) bool
- func (p *AuthServiceUploadAvatarResult) GetResult() interface{}
- func (p *AuthServiceUploadAvatarResult) GetSuccess() (v *UploadAvatarResponse)
- func (p *AuthServiceUploadAvatarResult) InitDefault()
- func (p *AuthServiceUploadAvatarResult) IsSetSuccess() bool
- func (p *AuthServiceUploadAvatarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceUploadAvatarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AuthServiceUploadAvatarResult) SetSuccess(x interface{})
- func (p *AuthServiceUploadAvatarResult) String() string
- func (p *AuthServiceUploadAvatarResult) Write(oprot thrift.TProtocol) (err error)
- type GetUserRequest
- func (p *GetUserRequest) BLength() int
- func (p *GetUserRequest) DeepEqual(ano *GetUserRequest) bool
- func (p *GetUserRequest) FastRead(buf []byte) (int, error)
- func (p *GetUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetUserRequest) FastWrite(buf []byte) int
- func (p *GetUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetUserRequest) Field1DeepEqual(src int64) bool
- func (p *GetUserRequest) GetAccontId() (v int64)
- func (p *GetUserRequest) InitDefault()
- func (p *GetUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetUserRequest) SetAccontId(val int64)
- func (p *GetUserRequest) String() string
- func (p *GetUserRequest) 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) FastWrite(buf []byte) int
- func (p *LoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LoginRequest) Field1DeepEqual(src string) bool
- func (p *LoginRequest) GetCode() (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) SetCode(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) FastWrite(buf []byte) int
- func (p *LoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LoginResponse) Field1DeepEqual(src int64) bool
- func (p *LoginResponse) GetAccountId() (v int64)
- func (p *LoginResponse) InitDefault()
- func (p *LoginResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LoginResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginResponse) SetAccountId(val int64)
- func (p *LoginResponse) String() string
- func (p *LoginResponse) Write(oprot thrift.TProtocol) (err error)
- type UpdateUserRequest
- func (p *UpdateUserRequest) BLength() int
- func (p *UpdateUserRequest) DeepEqual(ano *UpdateUserRequest) bool
- func (p *UpdateUserRequest) FastRead(buf []byte) (int, error)
- func (p *UpdateUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *UpdateUserRequest) FastReadField2(buf []byte) (int, error)
- func (p *UpdateUserRequest) FastReadField3(buf []byte) (int, error)
- func (p *UpdateUserRequest) FastReadField4(buf []byte) (int, error)
- func (p *UpdateUserRequest) FastWrite(buf []byte) int
- func (p *UpdateUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateUserRequest) Field1DeepEqual(src int64) bool
- func (p *UpdateUserRequest) Field2DeepEqual(src string) bool
- func (p *UpdateUserRequest) Field3DeepEqual(src int64) bool
- func (p *UpdateUserRequest) Field4DeepEqual(src string) bool
- func (p *UpdateUserRequest) GetAccountId() (v int64)
- func (p *UpdateUserRequest) GetAvatarUrl() (v string)
- func (p *UpdateUserRequest) GetPhoneNumber() (v int64)
- func (p *UpdateUserRequest) GetUsername() (v string)
- func (p *UpdateUserRequest) InitDefault()
- func (p *UpdateUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateUserRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateUserRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *UpdateUserRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *UpdateUserRequest) SetAccountId(val int64)
- func (p *UpdateUserRequest) SetAvatarUrl(val string)
- func (p *UpdateUserRequest) SetPhoneNumber(val int64)
- func (p *UpdateUserRequest) SetUsername(val string)
- func (p *UpdateUserRequest) String() string
- func (p *UpdateUserRequest) Write(oprot thrift.TProtocol) (err error)
- type UpdateUserResponse
- func (p *UpdateUserResponse) BLength() int
- func (p *UpdateUserResponse) DeepEqual(ano *UpdateUserResponse) bool
- func (p *UpdateUserResponse) FastRead(buf []byte) (int, error)
- func (p *UpdateUserResponse) FastWrite(buf []byte) int
- func (p *UpdateUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateUserResponse) InitDefault()
- func (p *UpdateUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateUserResponse) String() string
- func (p *UpdateUserResponse) Write(oprot thrift.TProtocol) (err error)
- type UploadAvatarRequset
- func (p *UploadAvatarRequset) BLength() int
- func (p *UploadAvatarRequset) DeepEqual(ano *UploadAvatarRequset) bool
- func (p *UploadAvatarRequset) FastRead(buf []byte) (int, error)
- func (p *UploadAvatarRequset) FastReadField1(buf []byte) (int, error)
- func (p *UploadAvatarRequset) FastWrite(buf []byte) int
- func (p *UploadAvatarRequset) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UploadAvatarRequset) Field1DeepEqual(src int64) bool
- func (p *UploadAvatarRequset) GetAccountId() (v int64)
- func (p *UploadAvatarRequset) InitDefault()
- func (p *UploadAvatarRequset) Read(iprot thrift.TProtocol) (err error)
- func (p *UploadAvatarRequset) ReadField1(iprot thrift.TProtocol) error
- func (p *UploadAvatarRequset) SetAccountId(val int64)
- func (p *UploadAvatarRequset) String() string
- func (p *UploadAvatarRequset) Write(oprot thrift.TProtocol) (err error)
- type UploadAvatarResponse
- func (p *UploadAvatarResponse) BLength() int
- func (p *UploadAvatarResponse) DeepEqual(ano *UploadAvatarResponse) bool
- func (p *UploadAvatarResponse) FastRead(buf []byte) (int, error)
- func (p *UploadAvatarResponse) FastReadField1(buf []byte) (int, error)
- func (p *UploadAvatarResponse) FastWrite(buf []byte) int
- func (p *UploadAvatarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UploadAvatarResponse) Field1DeepEqual(src string) bool
- func (p *UploadAvatarResponse) GetUploadUrl() (v string)
- func (p *UploadAvatarResponse) InitDefault()
- func (p *UploadAvatarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UploadAvatarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UploadAvatarResponse) SetUploadUrl(val string)
- func (p *UploadAvatarResponse) String() string
- func (p *UploadAvatarResponse) 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) FastReadField2(buf []byte) (int, error)
- func (p *UserInfo) FastReadField3(buf []byte) (int, error)
- func (p *UserInfo) FastReadField4(buf []byte) (int, error)
- func (p *UserInfo) FastWrite(buf []byte) int
- func (p *UserInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- 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 string) bool
- func (p *UserInfo) GetAccountId() (v int64)
- func (p *UserInfo) GetAvatarUrl() (v string)
- func (p *UserInfo) GetPhoneNumber() (v int64)
- func (p *UserInfo) GetUsername() (v string)
- func (p *UserInfo) InitDefault()
- func (p *UserInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfo) ReadField1(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) SetAccountId(val int64)
- func (p *UserInfo) SetAvatarUrl(val string)
- func (p *UserInfo) SetPhoneNumber(val int64)
- func (p *UserInfo) SetUsername(val string)
- func (p *UserInfo) String() string
- func (p *UserInfo) 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.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error) GetUser(ctx context.Context, req *GetUserRequest) (r *UserInfo, err error) }
type AuthServiceClient ¶
type AuthServiceClient struct {
// contains filtered or unexported fields
}
func NewAuthServiceClient ¶
func NewAuthServiceClient(c thrift.TClient) *AuthServiceClient
func NewAuthServiceClientFactory ¶
func NewAuthServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AuthServiceClient
func NewAuthServiceClientProtocol ¶
func NewAuthServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AuthServiceClient
func (*AuthServiceClient) Client_ ¶
func (p *AuthServiceClient) Client_() thrift.TClient
func (*AuthServiceClient) GetUser ¶
func (p *AuthServiceClient) GetUser(ctx context.Context, req *GetUserRequest) (r *UserInfo, err error)
func (*AuthServiceClient) Login ¶
func (p *AuthServiceClient) Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)
func (*AuthServiceClient) UpdateUser ¶
func (p *AuthServiceClient) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)
func (*AuthServiceClient) UploadAvatar ¶
func (p *AuthServiceClient) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error)
type AuthServiceGetUserArgs ¶
type AuthServiceGetUserArgs struct {
Req *GetUserRequest `thrift:"req,1" frugal:"1,default,GetUserRequest" json:"req"`
}
func NewAuthServiceGetUserArgs ¶
func NewAuthServiceGetUserArgs() *AuthServiceGetUserArgs
func (*AuthServiceGetUserArgs) BLength ¶
func (p *AuthServiceGetUserArgs) BLength() int
func (*AuthServiceGetUserArgs) DeepEqual ¶
func (p *AuthServiceGetUserArgs) DeepEqual(ano *AuthServiceGetUserArgs) bool
func (*AuthServiceGetUserArgs) FastRead ¶
func (p *AuthServiceGetUserArgs) FastRead(buf []byte) (int, error)
func (*AuthServiceGetUserArgs) FastReadField1 ¶
func (p *AuthServiceGetUserArgs) FastReadField1(buf []byte) (int, error)
func (*AuthServiceGetUserArgs) FastWrite ¶
func (p *AuthServiceGetUserArgs) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceGetUserArgs) FastWriteNocopy ¶
func (p *AuthServiceGetUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceGetUserArgs) Field1DeepEqual ¶
func (p *AuthServiceGetUserArgs) Field1DeepEqual(src *GetUserRequest) bool
func (*AuthServiceGetUserArgs) GetFirstArgument ¶
func (p *AuthServiceGetUserArgs) GetFirstArgument() interface{}
func (*AuthServiceGetUserArgs) GetReq ¶
func (p *AuthServiceGetUserArgs) GetReq() (v *GetUserRequest)
func (*AuthServiceGetUserArgs) InitDefault ¶
func (p *AuthServiceGetUserArgs) InitDefault()
func (*AuthServiceGetUserArgs) IsSetReq ¶
func (p *AuthServiceGetUserArgs) IsSetReq() bool
func (*AuthServiceGetUserArgs) Read ¶
func (p *AuthServiceGetUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceGetUserArgs) ReadField1 ¶
func (p *AuthServiceGetUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*AuthServiceGetUserArgs) SetReq ¶
func (p *AuthServiceGetUserArgs) SetReq(val *GetUserRequest)
func (*AuthServiceGetUserArgs) String ¶
func (p *AuthServiceGetUserArgs) String() string
type AuthServiceGetUserResult ¶
type AuthServiceGetUserResult struct {
Success *UserInfo `thrift:"success,0,optional" frugal:"0,optional,UserInfo" json:"success,omitempty"`
}
func NewAuthServiceGetUserResult ¶
func NewAuthServiceGetUserResult() *AuthServiceGetUserResult
func (*AuthServiceGetUserResult) BLength ¶
func (p *AuthServiceGetUserResult) BLength() int
func (*AuthServiceGetUserResult) DeepEqual ¶
func (p *AuthServiceGetUserResult) DeepEqual(ano *AuthServiceGetUserResult) bool
func (*AuthServiceGetUserResult) FastRead ¶
func (p *AuthServiceGetUserResult) FastRead(buf []byte) (int, error)
func (*AuthServiceGetUserResult) FastReadField0 ¶
func (p *AuthServiceGetUserResult) FastReadField0(buf []byte) (int, error)
func (*AuthServiceGetUserResult) FastWrite ¶
func (p *AuthServiceGetUserResult) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceGetUserResult) FastWriteNocopy ¶
func (p *AuthServiceGetUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceGetUserResult) Field0DeepEqual ¶
func (p *AuthServiceGetUserResult) Field0DeepEqual(src *UserInfo) bool
func (*AuthServiceGetUserResult) GetResult ¶
func (p *AuthServiceGetUserResult) GetResult() interface{}
func (*AuthServiceGetUserResult) GetSuccess ¶
func (p *AuthServiceGetUserResult) GetSuccess() (v *UserInfo)
func (*AuthServiceGetUserResult) InitDefault ¶
func (p *AuthServiceGetUserResult) InitDefault()
func (*AuthServiceGetUserResult) IsSetSuccess ¶
func (p *AuthServiceGetUserResult) IsSetSuccess() bool
func (*AuthServiceGetUserResult) Read ¶
func (p *AuthServiceGetUserResult) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceGetUserResult) ReadField0 ¶
func (p *AuthServiceGetUserResult) ReadField0(iprot thrift.TProtocol) error
func (*AuthServiceGetUserResult) SetSuccess ¶
func (p *AuthServiceGetUserResult) SetSuccess(x interface{})
func (*AuthServiceGetUserResult) String ¶
func (p *AuthServiceGetUserResult) String() string
type AuthServiceLoginArgs ¶
type AuthServiceLoginArgs struct {
Req *LoginRequest `thrift:"req,1" frugal:"1,default,LoginRequest" json:"req"`
}
func NewAuthServiceLoginArgs ¶
func NewAuthServiceLoginArgs() *AuthServiceLoginArgs
func (*AuthServiceLoginArgs) BLength ¶
func (p *AuthServiceLoginArgs) BLength() int
func (*AuthServiceLoginArgs) DeepEqual ¶
func (p *AuthServiceLoginArgs) DeepEqual(ano *AuthServiceLoginArgs) bool
func (*AuthServiceLoginArgs) FastRead ¶
func (p *AuthServiceLoginArgs) FastRead(buf []byte) (int, error)
func (*AuthServiceLoginArgs) FastReadField1 ¶
func (p *AuthServiceLoginArgs) FastReadField1(buf []byte) (int, error)
func (*AuthServiceLoginArgs) FastWrite ¶
func (p *AuthServiceLoginArgs) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceLoginArgs) FastWriteNocopy ¶
func (p *AuthServiceLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceLoginArgs) Field1DeepEqual ¶
func (p *AuthServiceLoginArgs) Field1DeepEqual(src *LoginRequest) bool
func (*AuthServiceLoginArgs) GetFirstArgument ¶
func (p *AuthServiceLoginArgs) GetFirstArgument() interface{}
func (*AuthServiceLoginArgs) GetReq ¶
func (p *AuthServiceLoginArgs) GetReq() (v *LoginRequest)
func (*AuthServiceLoginArgs) InitDefault ¶
func (p *AuthServiceLoginArgs) InitDefault()
func (*AuthServiceLoginArgs) IsSetReq ¶
func (p *AuthServiceLoginArgs) IsSetReq() bool
func (*AuthServiceLoginArgs) Read ¶
func (p *AuthServiceLoginArgs) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceLoginArgs) ReadField1 ¶
func (p *AuthServiceLoginArgs) ReadField1(iprot thrift.TProtocol) error
func (*AuthServiceLoginArgs) SetReq ¶
func (p *AuthServiceLoginArgs) SetReq(val *LoginRequest)
func (*AuthServiceLoginArgs) String ¶
func (p *AuthServiceLoginArgs) String() string
type AuthServiceLoginResult ¶
type AuthServiceLoginResult struct {
Success *LoginResponse `thrift:"success,0,optional" frugal:"0,optional,LoginResponse" json:"success,omitempty"`
}
func NewAuthServiceLoginResult ¶
func NewAuthServiceLoginResult() *AuthServiceLoginResult
func (*AuthServiceLoginResult) BLength ¶
func (p *AuthServiceLoginResult) BLength() int
func (*AuthServiceLoginResult) DeepEqual ¶
func (p *AuthServiceLoginResult) DeepEqual(ano *AuthServiceLoginResult) bool
func (*AuthServiceLoginResult) FastRead ¶
func (p *AuthServiceLoginResult) FastRead(buf []byte) (int, error)
func (*AuthServiceLoginResult) FastReadField0 ¶
func (p *AuthServiceLoginResult) FastReadField0(buf []byte) (int, error)
func (*AuthServiceLoginResult) FastWrite ¶
func (p *AuthServiceLoginResult) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceLoginResult) FastWriteNocopy ¶
func (p *AuthServiceLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceLoginResult) Field0DeepEqual ¶
func (p *AuthServiceLoginResult) Field0DeepEqual(src *LoginResponse) bool
func (*AuthServiceLoginResult) GetResult ¶
func (p *AuthServiceLoginResult) GetResult() interface{}
func (*AuthServiceLoginResult) GetSuccess ¶
func (p *AuthServiceLoginResult) GetSuccess() (v *LoginResponse)
func (*AuthServiceLoginResult) InitDefault ¶
func (p *AuthServiceLoginResult) InitDefault()
func (*AuthServiceLoginResult) IsSetSuccess ¶
func (p *AuthServiceLoginResult) IsSetSuccess() bool
func (*AuthServiceLoginResult) Read ¶
func (p *AuthServiceLoginResult) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceLoginResult) ReadField0 ¶
func (p *AuthServiceLoginResult) ReadField0(iprot thrift.TProtocol) error
func (*AuthServiceLoginResult) SetSuccess ¶
func (p *AuthServiceLoginResult) SetSuccess(x interface{})
func (*AuthServiceLoginResult) String ¶
func (p *AuthServiceLoginResult) String() string
type AuthServiceProcessor ¶
type AuthServiceProcessor struct {
// contains filtered or unexported fields
}
func NewAuthServiceProcessor ¶
func NewAuthServiceProcessor(handler AuthService) *AuthServiceProcessor
func (*AuthServiceProcessor) AddToProcessorMap ¶
func (p *AuthServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AuthServiceProcessor) GetProcessorFunction ¶
func (p *AuthServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AuthServiceProcessor) Process ¶
func (p *AuthServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AuthServiceProcessor) ProcessorMap ¶
func (p *AuthServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type AuthServiceUpdateUserArgs ¶
type AuthServiceUpdateUserArgs struct {
Req *UpdateUserRequest `thrift:"req,1" frugal:"1,default,UpdateUserRequest" json:"req"`
}
func NewAuthServiceUpdateUserArgs ¶
func NewAuthServiceUpdateUserArgs() *AuthServiceUpdateUserArgs
func (*AuthServiceUpdateUserArgs) BLength ¶
func (p *AuthServiceUpdateUserArgs) BLength() int
func (*AuthServiceUpdateUserArgs) DeepEqual ¶
func (p *AuthServiceUpdateUserArgs) DeepEqual(ano *AuthServiceUpdateUserArgs) bool
func (*AuthServiceUpdateUserArgs) FastRead ¶
func (p *AuthServiceUpdateUserArgs) FastRead(buf []byte) (int, error)
func (*AuthServiceUpdateUserArgs) FastReadField1 ¶
func (p *AuthServiceUpdateUserArgs) FastReadField1(buf []byte) (int, error)
func (*AuthServiceUpdateUserArgs) FastWrite ¶
func (p *AuthServiceUpdateUserArgs) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceUpdateUserArgs) FastWriteNocopy ¶
func (p *AuthServiceUpdateUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceUpdateUserArgs) Field1DeepEqual ¶
func (p *AuthServiceUpdateUserArgs) Field1DeepEqual(src *UpdateUserRequest) bool
func (*AuthServiceUpdateUserArgs) GetFirstArgument ¶
func (p *AuthServiceUpdateUserArgs) GetFirstArgument() interface{}
func (*AuthServiceUpdateUserArgs) GetReq ¶
func (p *AuthServiceUpdateUserArgs) GetReq() (v *UpdateUserRequest)
func (*AuthServiceUpdateUserArgs) InitDefault ¶
func (p *AuthServiceUpdateUserArgs) InitDefault()
func (*AuthServiceUpdateUserArgs) IsSetReq ¶
func (p *AuthServiceUpdateUserArgs) IsSetReq() bool
func (*AuthServiceUpdateUserArgs) Read ¶
func (p *AuthServiceUpdateUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceUpdateUserArgs) ReadField1 ¶
func (p *AuthServiceUpdateUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*AuthServiceUpdateUserArgs) SetReq ¶
func (p *AuthServiceUpdateUserArgs) SetReq(val *UpdateUserRequest)
func (*AuthServiceUpdateUserArgs) String ¶
func (p *AuthServiceUpdateUserArgs) String() string
type AuthServiceUpdateUserResult ¶
type AuthServiceUpdateUserResult struct {
Success *UpdateUserResponse `thrift:"success,0,optional" frugal:"0,optional,UpdateUserResponse" json:"success,omitempty"`
}
func NewAuthServiceUpdateUserResult ¶
func NewAuthServiceUpdateUserResult() *AuthServiceUpdateUserResult
func (*AuthServiceUpdateUserResult) BLength ¶
func (p *AuthServiceUpdateUserResult) BLength() int
func (*AuthServiceUpdateUserResult) DeepEqual ¶
func (p *AuthServiceUpdateUserResult) DeepEqual(ano *AuthServiceUpdateUserResult) bool
func (*AuthServiceUpdateUserResult) FastRead ¶
func (p *AuthServiceUpdateUserResult) FastRead(buf []byte) (int, error)
func (*AuthServiceUpdateUserResult) FastReadField0 ¶
func (p *AuthServiceUpdateUserResult) FastReadField0(buf []byte) (int, error)
func (*AuthServiceUpdateUserResult) FastWrite ¶
func (p *AuthServiceUpdateUserResult) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceUpdateUserResult) FastWriteNocopy ¶
func (p *AuthServiceUpdateUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceUpdateUserResult) Field0DeepEqual ¶
func (p *AuthServiceUpdateUserResult) Field0DeepEqual(src *UpdateUserResponse) bool
func (*AuthServiceUpdateUserResult) GetResult ¶
func (p *AuthServiceUpdateUserResult) GetResult() interface{}
func (*AuthServiceUpdateUserResult) GetSuccess ¶
func (p *AuthServiceUpdateUserResult) GetSuccess() (v *UpdateUserResponse)
func (*AuthServiceUpdateUserResult) InitDefault ¶
func (p *AuthServiceUpdateUserResult) InitDefault()
func (*AuthServiceUpdateUserResult) IsSetSuccess ¶
func (p *AuthServiceUpdateUserResult) IsSetSuccess() bool
func (*AuthServiceUpdateUserResult) Read ¶
func (p *AuthServiceUpdateUserResult) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceUpdateUserResult) ReadField0 ¶
func (p *AuthServiceUpdateUserResult) ReadField0(iprot thrift.TProtocol) error
func (*AuthServiceUpdateUserResult) SetSuccess ¶
func (p *AuthServiceUpdateUserResult) SetSuccess(x interface{})
func (*AuthServiceUpdateUserResult) String ¶
func (p *AuthServiceUpdateUserResult) String() string
type AuthServiceUploadAvatarArgs ¶
type AuthServiceUploadAvatarArgs struct {
Req *UploadAvatarRequset `thrift:"req,1" frugal:"1,default,UploadAvatarRequset" json:"req"`
}
func NewAuthServiceUploadAvatarArgs ¶
func NewAuthServiceUploadAvatarArgs() *AuthServiceUploadAvatarArgs
func (*AuthServiceUploadAvatarArgs) BLength ¶
func (p *AuthServiceUploadAvatarArgs) BLength() int
func (*AuthServiceUploadAvatarArgs) DeepEqual ¶
func (p *AuthServiceUploadAvatarArgs) DeepEqual(ano *AuthServiceUploadAvatarArgs) bool
func (*AuthServiceUploadAvatarArgs) FastRead ¶
func (p *AuthServiceUploadAvatarArgs) FastRead(buf []byte) (int, error)
func (*AuthServiceUploadAvatarArgs) FastReadField1 ¶
func (p *AuthServiceUploadAvatarArgs) FastReadField1(buf []byte) (int, error)
func (*AuthServiceUploadAvatarArgs) FastWrite ¶
func (p *AuthServiceUploadAvatarArgs) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceUploadAvatarArgs) FastWriteNocopy ¶
func (p *AuthServiceUploadAvatarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceUploadAvatarArgs) Field1DeepEqual ¶
func (p *AuthServiceUploadAvatarArgs) Field1DeepEqual(src *UploadAvatarRequset) bool
func (*AuthServiceUploadAvatarArgs) GetFirstArgument ¶
func (p *AuthServiceUploadAvatarArgs) GetFirstArgument() interface{}
func (*AuthServiceUploadAvatarArgs) GetReq ¶
func (p *AuthServiceUploadAvatarArgs) GetReq() (v *UploadAvatarRequset)
func (*AuthServiceUploadAvatarArgs) InitDefault ¶
func (p *AuthServiceUploadAvatarArgs) InitDefault()
func (*AuthServiceUploadAvatarArgs) IsSetReq ¶
func (p *AuthServiceUploadAvatarArgs) IsSetReq() bool
func (*AuthServiceUploadAvatarArgs) Read ¶
func (p *AuthServiceUploadAvatarArgs) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceUploadAvatarArgs) ReadField1 ¶
func (p *AuthServiceUploadAvatarArgs) ReadField1(iprot thrift.TProtocol) error
func (*AuthServiceUploadAvatarArgs) SetReq ¶
func (p *AuthServiceUploadAvatarArgs) SetReq(val *UploadAvatarRequset)
func (*AuthServiceUploadAvatarArgs) String ¶
func (p *AuthServiceUploadAvatarArgs) String() string
type AuthServiceUploadAvatarResult ¶
type AuthServiceUploadAvatarResult struct {
Success *UploadAvatarResponse `thrift:"success,0,optional" frugal:"0,optional,UploadAvatarResponse" json:"success,omitempty"`
}
func NewAuthServiceUploadAvatarResult ¶
func NewAuthServiceUploadAvatarResult() *AuthServiceUploadAvatarResult
func (*AuthServiceUploadAvatarResult) BLength ¶
func (p *AuthServiceUploadAvatarResult) BLength() int
func (*AuthServiceUploadAvatarResult) DeepEqual ¶
func (p *AuthServiceUploadAvatarResult) DeepEqual(ano *AuthServiceUploadAvatarResult) bool
func (*AuthServiceUploadAvatarResult) FastRead ¶
func (p *AuthServiceUploadAvatarResult) FastRead(buf []byte) (int, error)
func (*AuthServiceUploadAvatarResult) FastReadField0 ¶
func (p *AuthServiceUploadAvatarResult) FastReadField0(buf []byte) (int, error)
func (*AuthServiceUploadAvatarResult) FastWrite ¶
func (p *AuthServiceUploadAvatarResult) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceUploadAvatarResult) FastWriteNocopy ¶
func (p *AuthServiceUploadAvatarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceUploadAvatarResult) Field0DeepEqual ¶
func (p *AuthServiceUploadAvatarResult) Field0DeepEqual(src *UploadAvatarResponse) bool
func (*AuthServiceUploadAvatarResult) GetResult ¶
func (p *AuthServiceUploadAvatarResult) GetResult() interface{}
func (*AuthServiceUploadAvatarResult) GetSuccess ¶
func (p *AuthServiceUploadAvatarResult) GetSuccess() (v *UploadAvatarResponse)
func (*AuthServiceUploadAvatarResult) InitDefault ¶
func (p *AuthServiceUploadAvatarResult) InitDefault()
func (*AuthServiceUploadAvatarResult) IsSetSuccess ¶
func (p *AuthServiceUploadAvatarResult) IsSetSuccess() bool
func (*AuthServiceUploadAvatarResult) Read ¶
func (p *AuthServiceUploadAvatarResult) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceUploadAvatarResult) ReadField0 ¶
func (p *AuthServiceUploadAvatarResult) ReadField0(iprot thrift.TProtocol) error
func (*AuthServiceUploadAvatarResult) SetSuccess ¶
func (p *AuthServiceUploadAvatarResult) SetSuccess(x interface{})
func (*AuthServiceUploadAvatarResult) String ¶
func (p *AuthServiceUploadAvatarResult) String() string
type GetUserRequest ¶
type GetUserRequest struct {
AccontId int64 `thrift:"accont_id,1" frugal:"1,default,i64" json:"accont_id"`
}
var AuthServiceGetUserArgs_Req_DEFAULT *GetUserRequest
func NewGetUserRequest ¶
func NewGetUserRequest() *GetUserRequest
func (*GetUserRequest) BLength ¶
func (p *GetUserRequest) BLength() int
func (*GetUserRequest) DeepEqual ¶
func (p *GetUserRequest) DeepEqual(ano *GetUserRequest) bool
func (*GetUserRequest) FastReadField1 ¶
func (p *GetUserRequest) FastReadField1(buf []byte) (int, error)
func (*GetUserRequest) FastWrite ¶
func (p *GetUserRequest) FastWrite(buf []byte) int
for compatibility
func (*GetUserRequest) FastWriteNocopy ¶
func (p *GetUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetUserRequest) Field1DeepEqual ¶
func (p *GetUserRequest) Field1DeepEqual(src int64) bool
func (*GetUserRequest) GetAccontId ¶
func (p *GetUserRequest) GetAccontId() (v int64)
func (*GetUserRequest) InitDefault ¶
func (p *GetUserRequest) InitDefault()
func (*GetUserRequest) ReadField1 ¶
func (p *GetUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetUserRequest) SetAccontId ¶
func (p *GetUserRequest) SetAccontId(val int64)
func (*GetUserRequest) String ¶
func (p *GetUserRequest) String() string
type LoginRequest ¶
type LoginRequest struct {
Code string `thrift:"code,1" frugal:"1,default,string" json:"code"`
}
var AuthServiceLoginArgs_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) FastWriteNocopy ¶
func (p *LoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LoginRequest) Field1DeepEqual ¶
func (p *LoginRequest) Field1DeepEqual(src string) bool
func (*LoginRequest) GetCode ¶
func (p *LoginRequest) GetCode() (v string)
func (*LoginRequest) InitDefault ¶
func (p *LoginRequest) InitDefault()
func (*LoginRequest) ReadField1 ¶
func (p *LoginRequest) ReadField1(iprot thrift.TProtocol) error
func (*LoginRequest) SetCode ¶
func (p *LoginRequest) SetCode(val string)
func (*LoginRequest) String ¶
func (p *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct {
AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var AuthServiceLoginResult_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) 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) GetAccountId ¶
func (p *LoginResponse) GetAccountId() (v int64)
func (*LoginResponse) InitDefault ¶
func (p *LoginResponse) InitDefault()
func (*LoginResponse) ReadField1 ¶
func (p *LoginResponse) ReadField1(iprot thrift.TProtocol) error
func (*LoginResponse) SetAccountId ¶
func (p *LoginResponse) SetAccountId(val int64)
func (*LoginResponse) String ¶
func (p *LoginResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"` Username string `thrift:"username,2" frugal:"2,default,string" json:"username"` PhoneNumber int64 `thrift:"phone_number,3" frugal:"3,default,i64" json:"phone_number"` AvatarUrl string `thrift:"avatar_url,4" frugal:"4,default,string" json:"avatar_url"` }
var AuthServiceUpdateUserArgs_Req_DEFAULT *UpdateUserRequest
func NewUpdateUserRequest ¶
func NewUpdateUserRequest() *UpdateUserRequest
func (*UpdateUserRequest) BLength ¶
func (p *UpdateUserRequest) BLength() int
func (*UpdateUserRequest) DeepEqual ¶
func (p *UpdateUserRequest) DeepEqual(ano *UpdateUserRequest) bool
func (*UpdateUserRequest) FastReadField1 ¶
func (p *UpdateUserRequest) FastReadField1(buf []byte) (int, error)
func (*UpdateUserRequest) FastReadField2 ¶
func (p *UpdateUserRequest) FastReadField2(buf []byte) (int, error)
func (*UpdateUserRequest) FastReadField3 ¶
func (p *UpdateUserRequest) FastReadField3(buf []byte) (int, error)
func (*UpdateUserRequest) FastReadField4 ¶
func (p *UpdateUserRequest) FastReadField4(buf []byte) (int, error)
func (*UpdateUserRequest) FastWrite ¶
func (p *UpdateUserRequest) FastWrite(buf []byte) int
for compatibility
func (*UpdateUserRequest) FastWriteNocopy ¶
func (p *UpdateUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UpdateUserRequest) Field1DeepEqual ¶
func (p *UpdateUserRequest) Field1DeepEqual(src int64) bool
func (*UpdateUserRequest) Field2DeepEqual ¶
func (p *UpdateUserRequest) Field2DeepEqual(src string) bool
func (*UpdateUserRequest) Field3DeepEqual ¶
func (p *UpdateUserRequest) Field3DeepEqual(src int64) bool
func (*UpdateUserRequest) Field4DeepEqual ¶
func (p *UpdateUserRequest) Field4DeepEqual(src string) bool
func (*UpdateUserRequest) GetAccountId ¶
func (p *UpdateUserRequest) GetAccountId() (v int64)
func (*UpdateUserRequest) GetAvatarUrl ¶
func (p *UpdateUserRequest) GetAvatarUrl() (v string)
func (*UpdateUserRequest) GetPhoneNumber ¶
func (p *UpdateUserRequest) GetPhoneNumber() (v int64)
func (*UpdateUserRequest) GetUsername ¶
func (p *UpdateUserRequest) GetUsername() (v string)
func (*UpdateUserRequest) InitDefault ¶
func (p *UpdateUserRequest) InitDefault()
func (*UpdateUserRequest) Read ¶
func (p *UpdateUserRequest) Read(iprot thrift.TProtocol) (err error)
func (*UpdateUserRequest) ReadField1 ¶
func (p *UpdateUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*UpdateUserRequest) ReadField2 ¶
func (p *UpdateUserRequest) ReadField2(iprot thrift.TProtocol) error
func (*UpdateUserRequest) ReadField3 ¶
func (p *UpdateUserRequest) ReadField3(iprot thrift.TProtocol) error
func (*UpdateUserRequest) ReadField4 ¶
func (p *UpdateUserRequest) ReadField4(iprot thrift.TProtocol) error
func (*UpdateUserRequest) SetAccountId ¶
func (p *UpdateUserRequest) SetAccountId(val int64)
func (*UpdateUserRequest) SetAvatarUrl ¶
func (p *UpdateUserRequest) SetAvatarUrl(val string)
func (*UpdateUserRequest) SetPhoneNumber ¶
func (p *UpdateUserRequest) SetPhoneNumber(val int64)
func (*UpdateUserRequest) SetUsername ¶
func (p *UpdateUserRequest) SetUsername(val string)
func (*UpdateUserRequest) String ¶
func (p *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { }
var AuthServiceUpdateUserResult_Success_DEFAULT *UpdateUserResponse
func NewUpdateUserResponse ¶
func NewUpdateUserResponse() *UpdateUserResponse
func (*UpdateUserResponse) BLength ¶
func (p *UpdateUserResponse) BLength() int
func (*UpdateUserResponse) DeepEqual ¶
func (p *UpdateUserResponse) DeepEqual(ano *UpdateUserResponse) bool
func (*UpdateUserResponse) FastRead ¶
func (p *UpdateUserResponse) FastRead(buf []byte) (int, error)
func (*UpdateUserResponse) FastWrite ¶
func (p *UpdateUserResponse) FastWrite(buf []byte) int
for compatibility
func (*UpdateUserResponse) FastWriteNocopy ¶
func (p *UpdateUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UpdateUserResponse) InitDefault ¶
func (p *UpdateUserResponse) InitDefault()
func (*UpdateUserResponse) Read ¶
func (p *UpdateUserResponse) Read(iprot thrift.TProtocol) (err error)
func (*UpdateUserResponse) String ¶
func (p *UpdateUserResponse) String() string
type UploadAvatarRequset ¶
type UploadAvatarRequset struct {
AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var AuthServiceUploadAvatarArgs_Req_DEFAULT *UploadAvatarRequset
func NewUploadAvatarRequset ¶
func NewUploadAvatarRequset() *UploadAvatarRequset
func (*UploadAvatarRequset) BLength ¶
func (p *UploadAvatarRequset) BLength() int
func (*UploadAvatarRequset) DeepEqual ¶
func (p *UploadAvatarRequset) DeepEqual(ano *UploadAvatarRequset) bool
func (*UploadAvatarRequset) FastRead ¶
func (p *UploadAvatarRequset) FastRead(buf []byte) (int, error)
func (*UploadAvatarRequset) FastReadField1 ¶
func (p *UploadAvatarRequset) FastReadField1(buf []byte) (int, error)
func (*UploadAvatarRequset) FastWrite ¶
func (p *UploadAvatarRequset) FastWrite(buf []byte) int
for compatibility
func (*UploadAvatarRequset) FastWriteNocopy ¶
func (p *UploadAvatarRequset) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UploadAvatarRequset) Field1DeepEqual ¶
func (p *UploadAvatarRequset) Field1DeepEqual(src int64) bool
func (*UploadAvatarRequset) GetAccountId ¶
func (p *UploadAvatarRequset) GetAccountId() (v int64)
func (*UploadAvatarRequset) InitDefault ¶
func (p *UploadAvatarRequset) InitDefault()
func (*UploadAvatarRequset) Read ¶
func (p *UploadAvatarRequset) Read(iprot thrift.TProtocol) (err error)
func (*UploadAvatarRequset) ReadField1 ¶
func (p *UploadAvatarRequset) ReadField1(iprot thrift.TProtocol) error
func (*UploadAvatarRequset) SetAccountId ¶
func (p *UploadAvatarRequset) SetAccountId(val int64)
func (*UploadAvatarRequset) String ¶
func (p *UploadAvatarRequset) String() string
type UploadAvatarResponse ¶
type UploadAvatarResponse struct {
UploadUrl string `thrift:"upload_url,1" frugal:"1,default,string" json:"upload_url"`
}
var AuthServiceUploadAvatarResult_Success_DEFAULT *UploadAvatarResponse
func NewUploadAvatarResponse ¶
func NewUploadAvatarResponse() *UploadAvatarResponse
func (*UploadAvatarResponse) BLength ¶
func (p *UploadAvatarResponse) BLength() int
func (*UploadAvatarResponse) DeepEqual ¶
func (p *UploadAvatarResponse) DeepEqual(ano *UploadAvatarResponse) bool
func (*UploadAvatarResponse) FastRead ¶
func (p *UploadAvatarResponse) FastRead(buf []byte) (int, error)
func (*UploadAvatarResponse) FastReadField1 ¶
func (p *UploadAvatarResponse) FastReadField1(buf []byte) (int, error)
func (*UploadAvatarResponse) FastWrite ¶
func (p *UploadAvatarResponse) FastWrite(buf []byte) int
for compatibility
func (*UploadAvatarResponse) FastWriteNocopy ¶
func (p *UploadAvatarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UploadAvatarResponse) Field1DeepEqual ¶
func (p *UploadAvatarResponse) Field1DeepEqual(src string) bool
func (*UploadAvatarResponse) GetUploadUrl ¶
func (p *UploadAvatarResponse) GetUploadUrl() (v string)
func (*UploadAvatarResponse) InitDefault ¶
func (p *UploadAvatarResponse) InitDefault()
func (*UploadAvatarResponse) Read ¶
func (p *UploadAvatarResponse) Read(iprot thrift.TProtocol) (err error)
func (*UploadAvatarResponse) ReadField1 ¶
func (p *UploadAvatarResponse) ReadField1(iprot thrift.TProtocol) error
func (*UploadAvatarResponse) SetUploadUrl ¶
func (p *UploadAvatarResponse) SetUploadUrl(val string)
func (*UploadAvatarResponse) String ¶
func (p *UploadAvatarResponse) String() string
type UserInfo ¶
type UserInfo struct { AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"` Username string `thrift:"username,2" frugal:"2,default,string" json:"username"` PhoneNumber int64 `thrift:"phone_number,3" frugal:"3,default,i64" json:"phone_number"` AvatarUrl string `thrift:"avatar_url,4" frugal:"4,default,string" json:"avatar_url"` }
var AuthServiceGetUserResult_Success_DEFAULT *UserInfo
func NewUserInfo ¶
func NewUserInfo() *UserInfo
func (*UserInfo) FastWriteNocopy ¶
func (p *UserInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserInfo) Field1DeepEqual ¶
func (*UserInfo) Field2DeepEqual ¶
func (*UserInfo) Field3DeepEqual ¶
func (*UserInfo) Field4DeepEqual ¶
func (*UserInfo) GetAccountId ¶
func (*UserInfo) GetAvatarUrl ¶
func (*UserInfo) GetPhoneNumber ¶
func (*UserInfo) GetUsername ¶
func (*UserInfo) InitDefault ¶
func (p *UserInfo) InitDefault()
func (*UserInfo) SetAccountId ¶
func (*UserInfo) SetAvatarUrl ¶
func (*UserInfo) SetPhoneNumber ¶
func (*UserInfo) SetUsername ¶
Click to show internal directories.
Click to hide internal directories.