Documentation ¶
Index ¶
- Variables
- type AddUserRequest
- func (p *AddUserRequest) BLength() int
- func (p *AddUserRequest) DeepEqual(ano *AddUserRequest) bool
- func (p *AddUserRequest) FastRead(buf []byte) (int, error)
- func (p *AddUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *AddUserRequest) FastReadField2(buf []byte) (int, error)
- func (p *AddUserRequest) FastReadField3(buf []byte) (int, error)
- func (p *AddUserRequest) FastReadField4(buf []byte) (int, error)
- func (p *AddUserRequest) FastReadField5(buf []byte) (int, error)
- func (p *AddUserRequest) FastWrite(buf []byte) int
- func (p *AddUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AddUserRequest) Field1DeepEqual(src int64) bool
- func (p *AddUserRequest) Field2DeepEqual(src string) bool
- func (p *AddUserRequest) Field3DeepEqual(src int64) bool
- func (p *AddUserRequest) Field4DeepEqual(src int64) bool
- func (p *AddUserRequest) Field5DeepEqual(src string) bool
- func (p *AddUserRequest) GetAccountId() (v int64)
- func (p *AddUserRequest) GetAvatarBlobId() (v int64)
- func (p *AddUserRequest) GetOpenId() (v string)
- func (p *AddUserRequest) GetPhoneNumber() (v int64)
- func (p *AddUserRequest) GetUsername() (v string)
- func (p *AddUserRequest) InitDefault()
- func (p *AddUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *AddUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *AddUserRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *AddUserRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *AddUserRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *AddUserRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *AddUserRequest) SetAccountId(val int64)
- func (p *AddUserRequest) SetAvatarBlobId(val int64)
- func (p *AddUserRequest) SetOpenId(val string)
- func (p *AddUserRequest) SetPhoneNumber(val int64)
- func (p *AddUserRequest) SetUsername(val string)
- func (p *AddUserRequest) String() string
- func (p *AddUserRequest) Write(oprot thrift.TProtocol) (err error)
- type AddUserResponse
- func (p *AddUserResponse) BLength() int
- func (p *AddUserResponse) DeepEqual(ano *AddUserResponse) bool
- func (p *AddUserResponse) FastRead(buf []byte) (int, error)
- func (p *AddUserResponse) FastReadField1(buf []byte) (int, error)
- func (p *AddUserResponse) FastWrite(buf []byte) int
- func (p *AddUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AddUserResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *AddUserResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *AddUserResponse) InitDefault()
- func (p *AddUserResponse) IsSetBaseResp() bool
- func (p *AddUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *AddUserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *AddUserResponse) SetBaseResp(val *base.BaseResponse)
- func (p *AddUserResponse) String() string
- func (p *AddUserResponse) Write(oprot thrift.TProtocol) (err error)
- type AdminLoginRequest
- func (p *AdminLoginRequest) BLength() int
- func (p *AdminLoginRequest) DeepEqual(ano *AdminLoginRequest) bool
- func (p *AdminLoginRequest) FastRead(buf []byte) (int, error)
- func (p *AdminLoginRequest) FastReadField1(buf []byte) (int, error)
- func (p *AdminLoginRequest) FastReadField2(buf []byte) (int, error)
- func (p *AdminLoginRequest) FastWrite(buf []byte) int
- func (p *AdminLoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdminLoginRequest) Field1DeepEqual(src string) bool
- func (p *AdminLoginRequest) Field2DeepEqual(src string) bool
- func (p *AdminLoginRequest) GetPassword() (v string)
- func (p *AdminLoginRequest) GetUsername() (v string)
- func (p *AdminLoginRequest) InitDefault()
- func (p *AdminLoginRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *AdminLoginRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *AdminLoginRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *AdminLoginRequest) SetPassword(val string)
- func (p *AdminLoginRequest) SetUsername(val string)
- func (p *AdminLoginRequest) String() string
- func (p *AdminLoginRequest) Write(oprot thrift.TProtocol) (err error)
- type AdminLoginResponse
- func (p *AdminLoginResponse) BLength() int
- func (p *AdminLoginResponse) DeepEqual(ano *AdminLoginResponse) bool
- func (p *AdminLoginResponse) FastRead(buf []byte) (int, error)
- func (p *AdminLoginResponse) FastReadField1(buf []byte) (int, error)
- func (p *AdminLoginResponse) FastReadField2(buf []byte) (int, error)
- func (p *AdminLoginResponse) FastWrite(buf []byte) int
- func (p *AdminLoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdminLoginResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *AdminLoginResponse) Field2DeepEqual(src string) bool
- func (p *AdminLoginResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *AdminLoginResponse) GetToken() (v string)
- func (p *AdminLoginResponse) InitDefault()
- func (p *AdminLoginResponse) IsSetBaseResp() bool
- func (p *AdminLoginResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *AdminLoginResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *AdminLoginResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *AdminLoginResponse) SetBaseResp(val *base.BaseResponse)
- func (p *AdminLoginResponse) SetToken(val string)
- func (p *AdminLoginResponse) String() string
- func (p *AdminLoginResponse) Write(oprot thrift.TProtocol) (err error)
- type ChangeAdminPasswordRequest
- func (p *ChangeAdminPasswordRequest) BLength() int
- func (p *ChangeAdminPasswordRequest) DeepEqual(ano *ChangeAdminPasswordRequest) bool
- func (p *ChangeAdminPasswordRequest) FastRead(buf []byte) (int, error)
- func (p *ChangeAdminPasswordRequest) FastReadField1(buf []byte) (int, error)
- func (p *ChangeAdminPasswordRequest) FastReadField2(buf []byte) (int, error)
- func (p *ChangeAdminPasswordRequest) FastReadField3(buf []byte) (int, error)
- func (p *ChangeAdminPasswordRequest) FastWrite(buf []byte) int
- func (p *ChangeAdminPasswordRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChangeAdminPasswordRequest) Field1DeepEqual(src int64) bool
- func (p *ChangeAdminPasswordRequest) Field2DeepEqual(src string) bool
- func (p *ChangeAdminPasswordRequest) Field3DeepEqual(src string) bool
- func (p *ChangeAdminPasswordRequest) GetAccountId() (v int64)
- func (p *ChangeAdminPasswordRequest) GetNewPassword_() (v string)
- func (p *ChangeAdminPasswordRequest) GetOldPassword() (v string)
- func (p *ChangeAdminPasswordRequest) InitDefault()
- func (p *ChangeAdminPasswordRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *ChangeAdminPasswordRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *ChangeAdminPasswordRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *ChangeAdminPasswordRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *ChangeAdminPasswordRequest) SetAccountId(val int64)
- func (p *ChangeAdminPasswordRequest) SetNewPassword_(val string)
- func (p *ChangeAdminPasswordRequest) SetOldPassword(val string)
- func (p *ChangeAdminPasswordRequest) String() string
- func (p *ChangeAdminPasswordRequest) Write(oprot thrift.TProtocol) (err error)
- type ChangeAdminPasswordResponse
- func (p *ChangeAdminPasswordResponse) BLength() int
- func (p *ChangeAdminPasswordResponse) DeepEqual(ano *ChangeAdminPasswordResponse) bool
- func (p *ChangeAdminPasswordResponse) FastRead(buf []byte) (int, error)
- func (p *ChangeAdminPasswordResponse) FastReadField1(buf []byte) (int, error)
- func (p *ChangeAdminPasswordResponse) FastWrite(buf []byte) int
- func (p *ChangeAdminPasswordResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChangeAdminPasswordResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *ChangeAdminPasswordResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *ChangeAdminPasswordResponse) InitDefault()
- func (p *ChangeAdminPasswordResponse) IsSetBaseResp() bool
- func (p *ChangeAdminPasswordResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *ChangeAdminPasswordResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *ChangeAdminPasswordResponse) SetBaseResp(val *base.BaseResponse)
- func (p *ChangeAdminPasswordResponse) String() string
- func (p *ChangeAdminPasswordResponse) Write(oprot thrift.TProtocol) (err error)
- type DeleteUserRequest
- func (p *DeleteUserRequest) BLength() int
- func (p *DeleteUserRequest) DeepEqual(ano *DeleteUserRequest) bool
- func (p *DeleteUserRequest) FastRead(buf []byte) (int, error)
- func (p *DeleteUserRequest) FastReadField1(buf []byte) (int, error)
- func (p *DeleteUserRequest) FastWrite(buf []byte) int
- func (p *DeleteUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteUserRequest) Field1DeepEqual(src int64) bool
- func (p *DeleteUserRequest) GetAccountId() (v int64)
- func (p *DeleteUserRequest) InitDefault()
- func (p *DeleteUserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteUserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteUserRequest) SetAccountId(val int64)
- func (p *DeleteUserRequest) String() string
- func (p *DeleteUserRequest) Write(oprot thrift.TProtocol) (err error)
- type DeleteUserResponse
- func (p *DeleteUserResponse) BLength() int
- func (p *DeleteUserResponse) DeepEqual(ano *DeleteUserResponse) bool
- func (p *DeleteUserResponse) FastRead(buf []byte) (int, error)
- func (p *DeleteUserResponse) FastReadField1(buf []byte) (int, error)
- func (p *DeleteUserResponse) FastWrite(buf []byte) int
- func (p *DeleteUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteUserResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *DeleteUserResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *DeleteUserResponse) InitDefault()
- func (p *DeleteUserResponse) IsSetBaseResp() bool
- func (p *DeleteUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteUserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteUserResponse) SetBaseResp(val *base.BaseResponse)
- func (p *DeleteUserResponse) String() string
- func (p *DeleteUserResponse) Write(oprot thrift.TProtocol) (err error)
- type GetAllUsersRequest
- func (p *GetAllUsersRequest) BLength() int
- func (p *GetAllUsersRequest) DeepEqual(ano *GetAllUsersRequest) bool
- func (p *GetAllUsersRequest) FastRead(buf []byte) (int, error)
- func (p *GetAllUsersRequest) FastWrite(buf []byte) int
- func (p *GetAllUsersRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAllUsersRequest) InitDefault()
- func (p *GetAllUsersRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAllUsersRequest) String() string
- func (p *GetAllUsersRequest) Write(oprot thrift.TProtocol) (err error)
- type GetAllUsersResponse
- func (p *GetAllUsersResponse) BLength() int
- func (p *GetAllUsersResponse) DeepEqual(ano *GetAllUsersResponse) bool
- func (p *GetAllUsersResponse) FastRead(buf []byte) (int, error)
- func (p *GetAllUsersResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetAllUsersResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetAllUsersResponse) FastWrite(buf []byte) int
- func (p *GetAllUsersResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAllUsersResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetAllUsersResponse) Field2DeepEqual(src []*base.User) bool
- func (p *GetAllUsersResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetAllUsersResponse) GetUsers() (v []*base.User)
- func (p *GetAllUsersResponse) InitDefault()
- func (p *GetAllUsersResponse) IsSetBaseResp() bool
- func (p *GetAllUsersResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAllUsersResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAllUsersResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetAllUsersResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetAllUsersResponse) SetUsers(val []*base.User)
- func (p *GetAllUsersResponse) String() string
- func (p *GetAllUsersResponse) Write(oprot thrift.TProtocol) (err error)
- type GetSomeUsersRequest
- func (p *GetSomeUsersRequest) BLength() int
- func (p *GetSomeUsersRequest) DeepEqual(ano *GetSomeUsersRequest) bool
- func (p *GetSomeUsersRequest) FastRead(buf []byte) (int, error)
- func (p *GetSomeUsersRequest) FastWrite(buf []byte) int
- func (p *GetSomeUsersRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetSomeUsersRequest) InitDefault()
- func (p *GetSomeUsersRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetSomeUsersRequest) String() string
- func (p *GetSomeUsersRequest) Write(oprot thrift.TProtocol) (err error)
- type GetSomeUsersResponse
- func (p *GetSomeUsersResponse) BLength() int
- func (p *GetSomeUsersResponse) DeepEqual(ano *GetSomeUsersResponse) bool
- func (p *GetSomeUsersResponse) FastRead(buf []byte) (int, error)
- func (p *GetSomeUsersResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetSomeUsersResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetSomeUsersResponse) FastWrite(buf []byte) int
- func (p *GetSomeUsersResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetSomeUsersResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetSomeUsersResponse) Field2DeepEqual(src []*base.User) bool
- func (p *GetSomeUsersResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetSomeUsersResponse) GetUsers() (v []*base.User)
- func (p *GetSomeUsersResponse) InitDefault()
- func (p *GetSomeUsersResponse) IsSetBaseResp() bool
- func (p *GetSomeUsersResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetSomeUsersResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetSomeUsersResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetSomeUsersResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetSomeUsersResponse) SetUsers(val []*base.User)
- func (p *GetSomeUsersResponse) String() string
- func (p *GetSomeUsersResponse) Write(oprot thrift.TProtocol) (err error)
- type GetUserInfoResponse
- func (p *GetUserInfoResponse) BLength() int
- func (p *GetUserInfoResponse) DeepEqual(ano *GetUserInfoResponse) bool
- func (p *GetUserInfoResponse) FastRead(buf []byte) (int, error)
- func (p *GetUserInfoResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetUserInfoResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetUserInfoResponse) FastWrite(buf []byte) int
- func (p *GetUserInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetUserInfoResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetUserInfoResponse) Field2DeepEqual(src *base.UserInfo) bool
- func (p *GetUserInfoResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetUserInfoResponse) GetUserInfo() (v *base.UserInfo)
- func (p *GetUserInfoResponse) InitDefault()
- func (p *GetUserInfoResponse) IsSetBaseResp() bool
- func (p *GetUserInfoResponse) IsSetUserInfo() bool
- func (p *GetUserInfoResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetUserInfoResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetUserInfoResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetUserInfoResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetUserInfoResponse) SetUserInfo(val *base.UserInfo)
- func (p *GetUserInfoResponse) String() string
- func (p *GetUserInfoResponse) 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) FastReadField2(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 *base.BaseResponse) bool
- func (p *LoginResponse) Field2DeepEqual(src string) bool
- func (p *LoginResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *LoginResponse) GetToken() (v string)
- func (p *LoginResponse) InitDefault()
- func (p *LoginResponse) IsSetBaseResp() 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) SetBaseResp(val *base.BaseResponse)
- func (p *LoginResponse) SetToken(val string)
- 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) FastReadField1(buf []byte) (int, error)
- func (p *UpdateUserResponse) FastWrite(buf []byte) int
- func (p *UpdateUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateUserResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *UpdateUserResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *UpdateUserResponse) InitDefault()
- func (p *UpdateUserResponse) IsSetBaseResp() bool
- func (p *UpdateUserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateUserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateUserResponse) SetBaseResp(val *base.BaseResponse)
- 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) FastReadField2(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 *base.BaseResponse) bool
- func (p *UploadAvatarResponse) Field2DeepEqual(src string) bool
- func (p *UploadAvatarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *UploadAvatarResponse) GetUploadUrl() (v string)
- func (p *UploadAvatarResponse) InitDefault()
- func (p *UploadAvatarResponse) IsSetBaseResp() bool
- func (p *UploadAvatarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UploadAvatarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UploadAvatarResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UploadAvatarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *UploadAvatarResponse) SetUploadUrl(val string)
- func (p *UploadAvatarResponse) String() string
- func (p *UploadAvatarResponse) Write(oprot thrift.TProtocol) (err error)
- type UserService
- type UserServiceAddUserArgs
- func (p *UserServiceAddUserArgs) BLength() int
- func (p *UserServiceAddUserArgs) DeepEqual(ano *UserServiceAddUserArgs) bool
- func (p *UserServiceAddUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceAddUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceAddUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceAddUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceAddUserArgs) Field1DeepEqual(src *AddUserRequest) bool
- func (p *UserServiceAddUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceAddUserArgs) GetReq() (v *AddUserRequest)
- func (p *UserServiceAddUserArgs) InitDefault()
- func (p *UserServiceAddUserArgs) IsSetReq() bool
- func (p *UserServiceAddUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceAddUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceAddUserArgs) SetReq(val *AddUserRequest)
- func (p *UserServiceAddUserArgs) String() string
- func (p *UserServiceAddUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceAddUserResult
- func (p *UserServiceAddUserResult) BLength() int
- func (p *UserServiceAddUserResult) DeepEqual(ano *UserServiceAddUserResult) bool
- func (p *UserServiceAddUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceAddUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceAddUserResult) FastWrite(buf []byte) int
- func (p *UserServiceAddUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceAddUserResult) Field0DeepEqual(src *AddUserResponse) bool
- func (p *UserServiceAddUserResult) GetResult() interface{}
- func (p *UserServiceAddUserResult) GetSuccess() (v *AddUserResponse)
- func (p *UserServiceAddUserResult) InitDefault()
- func (p *UserServiceAddUserResult) IsSetSuccess() bool
- func (p *UserServiceAddUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceAddUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceAddUserResult) SetSuccess(x interface{})
- func (p *UserServiceAddUserResult) String() string
- func (p *UserServiceAddUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceAdminLoginArgs
- func (p *UserServiceAdminLoginArgs) BLength() int
- func (p *UserServiceAdminLoginArgs) DeepEqual(ano *UserServiceAdminLoginArgs) bool
- func (p *UserServiceAdminLoginArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceAdminLoginArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceAdminLoginArgs) FastWrite(buf []byte) int
- func (p *UserServiceAdminLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceAdminLoginArgs) Field1DeepEqual(src *AdminLoginRequest) bool
- func (p *UserServiceAdminLoginArgs) GetFirstArgument() interface{}
- func (p *UserServiceAdminLoginArgs) GetReq() (v *AdminLoginRequest)
- func (p *UserServiceAdminLoginArgs) InitDefault()
- func (p *UserServiceAdminLoginArgs) IsSetReq() bool
- func (p *UserServiceAdminLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceAdminLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceAdminLoginArgs) SetReq(val *AdminLoginRequest)
- func (p *UserServiceAdminLoginArgs) String() string
- func (p *UserServiceAdminLoginArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceAdminLoginResult
- func (p *UserServiceAdminLoginResult) BLength() int
- func (p *UserServiceAdminLoginResult) DeepEqual(ano *UserServiceAdminLoginResult) bool
- func (p *UserServiceAdminLoginResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceAdminLoginResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceAdminLoginResult) FastWrite(buf []byte) int
- func (p *UserServiceAdminLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceAdminLoginResult) Field0DeepEqual(src *AdminLoginResponse) bool
- func (p *UserServiceAdminLoginResult) GetResult() interface{}
- func (p *UserServiceAdminLoginResult) GetSuccess() (v *AdminLoginResponse)
- func (p *UserServiceAdminLoginResult) InitDefault()
- func (p *UserServiceAdminLoginResult) IsSetSuccess() bool
- func (p *UserServiceAdminLoginResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceAdminLoginResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceAdminLoginResult) SetSuccess(x interface{})
- func (p *UserServiceAdminLoginResult) String() string
- func (p *UserServiceAdminLoginResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceChangeAdminPasswordArgs
- func (p *UserServiceChangeAdminPasswordArgs) BLength() int
- func (p *UserServiceChangeAdminPasswordArgs) DeepEqual(ano *UserServiceChangeAdminPasswordArgs) bool
- func (p *UserServiceChangeAdminPasswordArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceChangeAdminPasswordArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceChangeAdminPasswordArgs) FastWrite(buf []byte) int
- func (p *UserServiceChangeAdminPasswordArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceChangeAdminPasswordArgs) Field1DeepEqual(src *ChangeAdminPasswordRequest) bool
- func (p *UserServiceChangeAdminPasswordArgs) GetFirstArgument() interface{}
- func (p *UserServiceChangeAdminPasswordArgs) GetReq() (v *ChangeAdminPasswordRequest)
- func (p *UserServiceChangeAdminPasswordArgs) InitDefault()
- func (p *UserServiceChangeAdminPasswordArgs) IsSetReq() bool
- func (p *UserServiceChangeAdminPasswordArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceChangeAdminPasswordArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceChangeAdminPasswordArgs) SetReq(val *ChangeAdminPasswordRequest)
- func (p *UserServiceChangeAdminPasswordArgs) String() string
- func (p *UserServiceChangeAdminPasswordArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceChangeAdminPasswordResult
- func (p *UserServiceChangeAdminPasswordResult) BLength() int
- func (p *UserServiceChangeAdminPasswordResult) DeepEqual(ano *UserServiceChangeAdminPasswordResult) bool
- func (p *UserServiceChangeAdminPasswordResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceChangeAdminPasswordResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceChangeAdminPasswordResult) FastWrite(buf []byte) int
- func (p *UserServiceChangeAdminPasswordResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceChangeAdminPasswordResult) Field0DeepEqual(src *ChangeAdminPasswordResponse) bool
- func (p *UserServiceChangeAdminPasswordResult) GetResult() interface{}
- func (p *UserServiceChangeAdminPasswordResult) GetSuccess() (v *ChangeAdminPasswordResponse)
- func (p *UserServiceChangeAdminPasswordResult) InitDefault()
- func (p *UserServiceChangeAdminPasswordResult) IsSetSuccess() bool
- func (p *UserServiceChangeAdminPasswordResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceChangeAdminPasswordResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceChangeAdminPasswordResult) SetSuccess(x interface{})
- func (p *UserServiceChangeAdminPasswordResult) String() string
- func (p *UserServiceChangeAdminPasswordResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceClient
- func (p *UserServiceClient) AddUser(ctx context.Context, req *AddUserRequest) (r *AddUserResponse, err error)
- func (p *UserServiceClient) AdminLogin(ctx context.Context, req *AdminLoginRequest) (r *AdminLoginResponse, err error)
- func (p *UserServiceClient) ChangeAdminPassword(ctx context.Context, req *ChangeAdminPasswordRequest) (r *ChangeAdminPasswordResponse, err error)
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) DeleteUser(ctx context.Context, req *DeleteUserRequest) (r *DeleteUserResponse, err error)
- func (p *UserServiceClient) GetAllUsers(ctx context.Context, req *GetAllUsersRequest) (r *GetAllUsersResponse, err error)
- func (p *UserServiceClient) GetSomeUsers(ctx context.Context, req *GetSomeUsersRequest) (r *GetSomeUsersResponse, err error)
- func (p *UserServiceClient) GetUser(ctx context.Context, req *GetUserRequest) (r *GetUserInfoResponse, err error)
- func (p *UserServiceClient) Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)
- func (p *UserServiceClient) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)
- func (p *UserServiceClient) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error)
- type UserServiceDeleteUserArgs
- func (p *UserServiceDeleteUserArgs) BLength() int
- func (p *UserServiceDeleteUserArgs) DeepEqual(ano *UserServiceDeleteUserArgs) bool
- func (p *UserServiceDeleteUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceDeleteUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceDeleteUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceDeleteUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceDeleteUserArgs) Field1DeepEqual(src *DeleteUserRequest) bool
- func (p *UserServiceDeleteUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceDeleteUserArgs) GetReq() (v *DeleteUserRequest)
- func (p *UserServiceDeleteUserArgs) InitDefault()
- func (p *UserServiceDeleteUserArgs) IsSetReq() bool
- func (p *UserServiceDeleteUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceDeleteUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceDeleteUserArgs) SetReq(val *DeleteUserRequest)
- func (p *UserServiceDeleteUserArgs) String() string
- func (p *UserServiceDeleteUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceDeleteUserResult
- func (p *UserServiceDeleteUserResult) BLength() int
- func (p *UserServiceDeleteUserResult) DeepEqual(ano *UserServiceDeleteUserResult) bool
- func (p *UserServiceDeleteUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceDeleteUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceDeleteUserResult) FastWrite(buf []byte) int
- func (p *UserServiceDeleteUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceDeleteUserResult) Field0DeepEqual(src *DeleteUserResponse) bool
- func (p *UserServiceDeleteUserResult) GetResult() interface{}
- func (p *UserServiceDeleteUserResult) GetSuccess() (v *DeleteUserResponse)
- func (p *UserServiceDeleteUserResult) InitDefault()
- func (p *UserServiceDeleteUserResult) IsSetSuccess() bool
- func (p *UserServiceDeleteUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceDeleteUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceDeleteUserResult) SetSuccess(x interface{})
- func (p *UserServiceDeleteUserResult) String() string
- func (p *UserServiceDeleteUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetAllUsersArgs
- func (p *UserServiceGetAllUsersArgs) BLength() int
- func (p *UserServiceGetAllUsersArgs) DeepEqual(ano *UserServiceGetAllUsersArgs) bool
- func (p *UserServiceGetAllUsersArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetAllUsersArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceGetAllUsersArgs) FastWrite(buf []byte) int
- func (p *UserServiceGetAllUsersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetAllUsersArgs) Field1DeepEqual(src *GetAllUsersRequest) bool
- func (p *UserServiceGetAllUsersArgs) GetFirstArgument() interface{}
- func (p *UserServiceGetAllUsersArgs) GetReq() (v *GetAllUsersRequest)
- func (p *UserServiceGetAllUsersArgs) InitDefault()
- func (p *UserServiceGetAllUsersArgs) IsSetReq() bool
- func (p *UserServiceGetAllUsersArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetAllUsersArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceGetAllUsersArgs) SetReq(val *GetAllUsersRequest)
- func (p *UserServiceGetAllUsersArgs) String() string
- func (p *UserServiceGetAllUsersArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetAllUsersResult
- func (p *UserServiceGetAllUsersResult) BLength() int
- func (p *UserServiceGetAllUsersResult) DeepEqual(ano *UserServiceGetAllUsersResult) bool
- func (p *UserServiceGetAllUsersResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetAllUsersResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceGetAllUsersResult) FastWrite(buf []byte) int
- func (p *UserServiceGetAllUsersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetAllUsersResult) Field0DeepEqual(src *GetAllUsersResponse) bool
- func (p *UserServiceGetAllUsersResult) GetResult() interface{}
- func (p *UserServiceGetAllUsersResult) GetSuccess() (v *GetAllUsersResponse)
- func (p *UserServiceGetAllUsersResult) InitDefault()
- func (p *UserServiceGetAllUsersResult) IsSetSuccess() bool
- func (p *UserServiceGetAllUsersResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetAllUsersResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceGetAllUsersResult) SetSuccess(x interface{})
- func (p *UserServiceGetAllUsersResult) String() string
- func (p *UserServiceGetAllUsersResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetSomeUsersArgs
- func (p *UserServiceGetSomeUsersArgs) BLength() int
- func (p *UserServiceGetSomeUsersArgs) DeepEqual(ano *UserServiceGetSomeUsersArgs) bool
- func (p *UserServiceGetSomeUsersArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetSomeUsersArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceGetSomeUsersArgs) FastWrite(buf []byte) int
- func (p *UserServiceGetSomeUsersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetSomeUsersArgs) Field1DeepEqual(src *GetSomeUsersRequest) bool
- func (p *UserServiceGetSomeUsersArgs) GetFirstArgument() interface{}
- func (p *UserServiceGetSomeUsersArgs) GetReq() (v *GetSomeUsersRequest)
- func (p *UserServiceGetSomeUsersArgs) InitDefault()
- func (p *UserServiceGetSomeUsersArgs) IsSetReq() bool
- func (p *UserServiceGetSomeUsersArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetSomeUsersArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceGetSomeUsersArgs) SetReq(val *GetSomeUsersRequest)
- func (p *UserServiceGetSomeUsersArgs) String() string
- func (p *UserServiceGetSomeUsersArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetSomeUsersResult
- func (p *UserServiceGetSomeUsersResult) BLength() int
- func (p *UserServiceGetSomeUsersResult) DeepEqual(ano *UserServiceGetSomeUsersResult) bool
- func (p *UserServiceGetSomeUsersResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetSomeUsersResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceGetSomeUsersResult) FastWrite(buf []byte) int
- func (p *UserServiceGetSomeUsersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetSomeUsersResult) Field0DeepEqual(src *GetSomeUsersResponse) bool
- func (p *UserServiceGetSomeUsersResult) GetResult() interface{}
- func (p *UserServiceGetSomeUsersResult) GetSuccess() (v *GetSomeUsersResponse)
- func (p *UserServiceGetSomeUsersResult) InitDefault()
- func (p *UserServiceGetSomeUsersResult) IsSetSuccess() bool
- func (p *UserServiceGetSomeUsersResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetSomeUsersResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceGetSomeUsersResult) SetSuccess(x interface{})
- func (p *UserServiceGetSomeUsersResult) String() string
- func (p *UserServiceGetSomeUsersResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetUserArgs
- func (p *UserServiceGetUserArgs) BLength() int
- func (p *UserServiceGetUserArgs) DeepEqual(ano *UserServiceGetUserArgs) bool
- func (p *UserServiceGetUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceGetUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceGetUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetUserArgs) Field1DeepEqual(src *GetUserRequest) bool
- func (p *UserServiceGetUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceGetUserArgs) GetReq() (v *GetUserRequest)
- func (p *UserServiceGetUserArgs) InitDefault()
- func (p *UserServiceGetUserArgs) IsSetReq() bool
- func (p *UserServiceGetUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceGetUserArgs) SetReq(val *GetUserRequest)
- func (p *UserServiceGetUserArgs) String() string
- func (p *UserServiceGetUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetUserResult
- func (p *UserServiceGetUserResult) BLength() int
- func (p *UserServiceGetUserResult) DeepEqual(ano *UserServiceGetUserResult) bool
- func (p *UserServiceGetUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceGetUserResult) FastWrite(buf []byte) int
- func (p *UserServiceGetUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceGetUserResult) Field0DeepEqual(src *GetUserInfoResponse) bool
- func (p *UserServiceGetUserResult) GetResult() interface{}
- func (p *UserServiceGetUserResult) GetSuccess() (v *GetUserInfoResponse)
- func (p *UserServiceGetUserResult) InitDefault()
- func (p *UserServiceGetUserResult) IsSetSuccess() bool
- func (p *UserServiceGetUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceGetUserResult) SetSuccess(x interface{})
- func (p *UserServiceGetUserResult) String() string
- func (p *UserServiceGetUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceLoginArgs
- func (p *UserServiceLoginArgs) BLength() int
- func (p *UserServiceLoginArgs) DeepEqual(ano *UserServiceLoginArgs) bool
- func (p *UserServiceLoginArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceLoginArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceLoginArgs) FastWrite(buf []byte) int
- func (p *UserServiceLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceLoginArgs) Field1DeepEqual(src *LoginRequest) bool
- func (p *UserServiceLoginArgs) GetFirstArgument() interface{}
- func (p *UserServiceLoginArgs) GetReq() (v *LoginRequest)
- func (p *UserServiceLoginArgs) InitDefault()
- func (p *UserServiceLoginArgs) IsSetReq() bool
- func (p *UserServiceLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceLoginArgs) SetReq(val *LoginRequest)
- func (p *UserServiceLoginArgs) String() string
- func (p *UserServiceLoginArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceLoginResult
- func (p *UserServiceLoginResult) BLength() int
- func (p *UserServiceLoginResult) DeepEqual(ano *UserServiceLoginResult) bool
- func (p *UserServiceLoginResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceLoginResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceLoginResult) FastWrite(buf []byte) int
- func (p *UserServiceLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceLoginResult) Field0DeepEqual(src *LoginResponse) bool
- func (p *UserServiceLoginResult) GetResult() interface{}
- func (p *UserServiceLoginResult) GetSuccess() (v *LoginResponse)
- func (p *UserServiceLoginResult) InitDefault()
- func (p *UserServiceLoginResult) IsSetSuccess() bool
- func (p *UserServiceLoginResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceLoginResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceLoginResult) SetSuccess(x interface{})
- func (p *UserServiceLoginResult) String() string
- func (p *UserServiceLoginResult) 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 UserServiceUpdateUserArgs
- func (p *UserServiceUpdateUserArgs) BLength() int
- func (p *UserServiceUpdateUserArgs) DeepEqual(ano *UserServiceUpdateUserArgs) bool
- func (p *UserServiceUpdateUserArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUpdateUserArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUpdateUserArgs) FastWrite(buf []byte) int
- func (p *UserServiceUpdateUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUpdateUserArgs) Field1DeepEqual(src *UpdateUserRequest) bool
- func (p *UserServiceUpdateUserArgs) GetFirstArgument() interface{}
- func (p *UserServiceUpdateUserArgs) GetReq() (v *UpdateUserRequest)
- func (p *UserServiceUpdateUserArgs) InitDefault()
- func (p *UserServiceUpdateUserArgs) IsSetReq() bool
- func (p *UserServiceUpdateUserArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUpdateUserArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUpdateUserArgs) SetReq(val *UpdateUserRequest)
- func (p *UserServiceUpdateUserArgs) String() string
- func (p *UserServiceUpdateUserArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUpdateUserResult
- func (p *UserServiceUpdateUserResult) BLength() int
- func (p *UserServiceUpdateUserResult) DeepEqual(ano *UserServiceUpdateUserResult) bool
- func (p *UserServiceUpdateUserResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUpdateUserResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUpdateUserResult) FastWrite(buf []byte) int
- func (p *UserServiceUpdateUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUpdateUserResult) Field0DeepEqual(src *UpdateUserResponse) bool
- func (p *UserServiceUpdateUserResult) GetResult() interface{}
- func (p *UserServiceUpdateUserResult) GetSuccess() (v *UpdateUserResponse)
- func (p *UserServiceUpdateUserResult) InitDefault()
- func (p *UserServiceUpdateUserResult) IsSetSuccess() bool
- func (p *UserServiceUpdateUserResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUpdateUserResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUpdateUserResult) SetSuccess(x interface{})
- func (p *UserServiceUpdateUserResult) String() string
- func (p *UserServiceUpdateUserResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUploadAvatarArgs
- func (p *UserServiceUploadAvatarArgs) BLength() int
- func (p *UserServiceUploadAvatarArgs) DeepEqual(ano *UserServiceUploadAvatarArgs) bool
- func (p *UserServiceUploadAvatarArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUploadAvatarArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUploadAvatarArgs) FastWrite(buf []byte) int
- func (p *UserServiceUploadAvatarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUploadAvatarArgs) Field1DeepEqual(src *UploadAvatarRequset) bool
- func (p *UserServiceUploadAvatarArgs) GetFirstArgument() interface{}
- func (p *UserServiceUploadAvatarArgs) GetReq() (v *UploadAvatarRequset)
- func (p *UserServiceUploadAvatarArgs) InitDefault()
- func (p *UserServiceUploadAvatarArgs) IsSetReq() bool
- func (p *UserServiceUploadAvatarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUploadAvatarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUploadAvatarArgs) SetReq(val *UploadAvatarRequset)
- func (p *UserServiceUploadAvatarArgs) String() string
- func (p *UserServiceUploadAvatarArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUploadAvatarResult
- func (p *UserServiceUploadAvatarResult) BLength() int
- func (p *UserServiceUploadAvatarResult) DeepEqual(ano *UserServiceUploadAvatarResult) bool
- func (p *UserServiceUploadAvatarResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUploadAvatarResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUploadAvatarResult) FastWrite(buf []byte) int
- func (p *UserServiceUploadAvatarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUploadAvatarResult) Field0DeepEqual(src *UploadAvatarResponse) bool
- func (p *UserServiceUploadAvatarResult) GetResult() interface{}
- func (p *UserServiceUploadAvatarResult) GetSuccess() (v *UploadAvatarResponse)
- func (p *UserServiceUploadAvatarResult) InitDefault()
- func (p *UserServiceUploadAvatarResult) IsSetSuccess() bool
- func (p *UserServiceUploadAvatarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUploadAvatarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUploadAvatarResult) SetSuccess(x interface{})
- func (p *UserServiceUploadAvatarResult) String() string
- func (p *UserServiceUploadAvatarResult) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
var AddUserResponse_BaseResp_DEFAULT *base.BaseResponse
var AdminLoginResponse_BaseResp_DEFAULT *base.BaseResponse
var ChangeAdminPasswordResponse_BaseResp_DEFAULT *base.BaseResponse
var DeleteUserResponse_BaseResp_DEFAULT *base.BaseResponse
var GetAllUsersResponse_BaseResp_DEFAULT *base.BaseResponse
var GetSomeUsersResponse_BaseResp_DEFAULT *base.BaseResponse
var GetUserInfoResponse_BaseResp_DEFAULT *base.BaseResponse
var GetUserInfoResponse_UserInfo_DEFAULT *base.UserInfo
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
var LoginResponse_BaseResp_DEFAULT *base.BaseResponse
var UpdateUserResponse_BaseResp_DEFAULT *base.BaseResponse
var UploadAvatarResponse_BaseResp_DEFAULT *base.BaseResponse
Functions ¶
This section is empty.
Types ¶
type AddUserRequest ¶
type AddUserRequest 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"` AvatarBlobId int64 `thrift:"avatar_blob_id,4" frugal:"4,default,i64" json:"avatar_blob_id"` OpenId string `thrift:"open_id,5" frugal:"5,default,string" json:"open_id"` }
var UserServiceAddUserArgs_Req_DEFAULT *AddUserRequest
func NewAddUserRequest ¶
func NewAddUserRequest() *AddUserRequest
func (*AddUserRequest) BLength ¶
func (p *AddUserRequest) BLength() int
func (*AddUserRequest) DeepEqual ¶
func (p *AddUserRequest) DeepEqual(ano *AddUserRequest) bool
func (*AddUserRequest) FastReadField1 ¶
func (p *AddUserRequest) FastReadField1(buf []byte) (int, error)
func (*AddUserRequest) FastReadField2 ¶
func (p *AddUserRequest) FastReadField2(buf []byte) (int, error)
func (*AddUserRequest) FastReadField3 ¶
func (p *AddUserRequest) FastReadField3(buf []byte) (int, error)
func (*AddUserRequest) FastReadField4 ¶
func (p *AddUserRequest) FastReadField4(buf []byte) (int, error)
func (*AddUserRequest) FastReadField5 ¶
func (p *AddUserRequest) FastReadField5(buf []byte) (int, error)
func (*AddUserRequest) FastWrite ¶
func (p *AddUserRequest) FastWrite(buf []byte) int
for compatibility
func (*AddUserRequest) FastWriteNocopy ¶
func (p *AddUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AddUserRequest) Field1DeepEqual ¶
func (p *AddUserRequest) Field1DeepEqual(src int64) bool
func (*AddUserRequest) Field2DeepEqual ¶
func (p *AddUserRequest) Field2DeepEqual(src string) bool
func (*AddUserRequest) Field3DeepEqual ¶
func (p *AddUserRequest) Field3DeepEqual(src int64) bool
func (*AddUserRequest) Field4DeepEqual ¶
func (p *AddUserRequest) Field4DeepEqual(src int64) bool
func (*AddUserRequest) Field5DeepEqual ¶
func (p *AddUserRequest) Field5DeepEqual(src string) bool
func (*AddUserRequest) GetAccountId ¶
func (p *AddUserRequest) GetAccountId() (v int64)
func (*AddUserRequest) GetAvatarBlobId ¶
func (p *AddUserRequest) GetAvatarBlobId() (v int64)
func (*AddUserRequest) GetOpenId ¶
func (p *AddUserRequest) GetOpenId() (v string)
func (*AddUserRequest) GetPhoneNumber ¶
func (p *AddUserRequest) GetPhoneNumber() (v int64)
func (*AddUserRequest) GetUsername ¶
func (p *AddUserRequest) GetUsername() (v string)
func (*AddUserRequest) InitDefault ¶
func (p *AddUserRequest) InitDefault()
func (*AddUserRequest) ReadField1 ¶
func (p *AddUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*AddUserRequest) ReadField2 ¶
func (p *AddUserRequest) ReadField2(iprot thrift.TProtocol) error
func (*AddUserRequest) ReadField3 ¶
func (p *AddUserRequest) ReadField3(iprot thrift.TProtocol) error
func (*AddUserRequest) ReadField4 ¶
func (p *AddUserRequest) ReadField4(iprot thrift.TProtocol) error
func (*AddUserRequest) ReadField5 ¶
func (p *AddUserRequest) ReadField5(iprot thrift.TProtocol) error
func (*AddUserRequest) SetAccountId ¶
func (p *AddUserRequest) SetAccountId(val int64)
func (*AddUserRequest) SetAvatarBlobId ¶
func (p *AddUserRequest) SetAvatarBlobId(val int64)
func (*AddUserRequest) SetOpenId ¶
func (p *AddUserRequest) SetOpenId(val string)
func (*AddUserRequest) SetPhoneNumber ¶
func (p *AddUserRequest) SetPhoneNumber(val int64)
func (*AddUserRequest) SetUsername ¶
func (p *AddUserRequest) SetUsername(val string)
func (*AddUserRequest) String ¶
func (p *AddUserRequest) String() string
type AddUserResponse ¶
type AddUserResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var UserServiceAddUserResult_Success_DEFAULT *AddUserResponse
func NewAddUserResponse ¶
func NewAddUserResponse() *AddUserResponse
func (*AddUserResponse) BLength ¶
func (p *AddUserResponse) BLength() int
func (*AddUserResponse) DeepEqual ¶
func (p *AddUserResponse) DeepEqual(ano *AddUserResponse) bool
func (*AddUserResponse) FastReadField1 ¶
func (p *AddUserResponse) FastReadField1(buf []byte) (int, error)
func (*AddUserResponse) FastWrite ¶
func (p *AddUserResponse) FastWrite(buf []byte) int
for compatibility
func (*AddUserResponse) FastWriteNocopy ¶
func (p *AddUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AddUserResponse) Field1DeepEqual ¶
func (p *AddUserResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*AddUserResponse) GetBaseResp ¶
func (p *AddUserResponse) GetBaseResp() (v *base.BaseResponse)
func (*AddUserResponse) InitDefault ¶
func (p *AddUserResponse) InitDefault()
func (*AddUserResponse) IsSetBaseResp ¶
func (p *AddUserResponse) IsSetBaseResp() bool
func (*AddUserResponse) ReadField1 ¶
func (p *AddUserResponse) ReadField1(iprot thrift.TProtocol) error
func (*AddUserResponse) SetBaseResp ¶
func (p *AddUserResponse) SetBaseResp(val *base.BaseResponse)
func (*AddUserResponse) String ¶
func (p *AddUserResponse) String() string
type AdminLoginRequest ¶
type AdminLoginRequest struct { Username string `thrift:"username,1" frugal:"1,default,string" json:"username"` Password string `thrift:"password,2" frugal:"2,default,string" json:"password"` }
var UserServiceAdminLoginArgs_Req_DEFAULT *AdminLoginRequest
func NewAdminLoginRequest ¶
func NewAdminLoginRequest() *AdminLoginRequest
func (*AdminLoginRequest) BLength ¶
func (p *AdminLoginRequest) BLength() int
func (*AdminLoginRequest) DeepEqual ¶
func (p *AdminLoginRequest) DeepEqual(ano *AdminLoginRequest) bool
func (*AdminLoginRequest) FastReadField1 ¶
func (p *AdminLoginRequest) FastReadField1(buf []byte) (int, error)
func (*AdminLoginRequest) FastReadField2 ¶
func (p *AdminLoginRequest) FastReadField2(buf []byte) (int, error)
func (*AdminLoginRequest) FastWrite ¶
func (p *AdminLoginRequest) FastWrite(buf []byte) int
for compatibility
func (*AdminLoginRequest) FastWriteNocopy ¶
func (p *AdminLoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdminLoginRequest) Field1DeepEqual ¶
func (p *AdminLoginRequest) Field1DeepEqual(src string) bool
func (*AdminLoginRequest) Field2DeepEqual ¶
func (p *AdminLoginRequest) Field2DeepEqual(src string) bool
func (*AdminLoginRequest) GetPassword ¶
func (p *AdminLoginRequest) GetPassword() (v string)
func (*AdminLoginRequest) GetUsername ¶
func (p *AdminLoginRequest) GetUsername() (v string)
func (*AdminLoginRequest) InitDefault ¶
func (p *AdminLoginRequest) InitDefault()
func (*AdminLoginRequest) Read ¶
func (p *AdminLoginRequest) Read(iprot thrift.TProtocol) (err error)
func (*AdminLoginRequest) ReadField1 ¶
func (p *AdminLoginRequest) ReadField1(iprot thrift.TProtocol) error
func (*AdminLoginRequest) ReadField2 ¶
func (p *AdminLoginRequest) ReadField2(iprot thrift.TProtocol) error
func (*AdminLoginRequest) SetPassword ¶
func (p *AdminLoginRequest) SetPassword(val string)
func (*AdminLoginRequest) SetUsername ¶
func (p *AdminLoginRequest) SetUsername(val string)
func (*AdminLoginRequest) String ¶
func (p *AdminLoginRequest) String() string
type AdminLoginResponse ¶
type AdminLoginResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
var UserServiceAdminLoginResult_Success_DEFAULT *AdminLoginResponse
func NewAdminLoginResponse ¶
func NewAdminLoginResponse() *AdminLoginResponse
func (*AdminLoginResponse) BLength ¶
func (p *AdminLoginResponse) BLength() int
func (*AdminLoginResponse) DeepEqual ¶
func (p *AdminLoginResponse) DeepEqual(ano *AdminLoginResponse) bool
func (*AdminLoginResponse) FastRead ¶
func (p *AdminLoginResponse) FastRead(buf []byte) (int, error)
func (*AdminLoginResponse) FastReadField1 ¶
func (p *AdminLoginResponse) FastReadField1(buf []byte) (int, error)
func (*AdminLoginResponse) FastReadField2 ¶
func (p *AdminLoginResponse) FastReadField2(buf []byte) (int, error)
func (*AdminLoginResponse) FastWrite ¶
func (p *AdminLoginResponse) FastWrite(buf []byte) int
for compatibility
func (*AdminLoginResponse) FastWriteNocopy ¶
func (p *AdminLoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdminLoginResponse) Field1DeepEqual ¶
func (p *AdminLoginResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*AdminLoginResponse) Field2DeepEqual ¶
func (p *AdminLoginResponse) Field2DeepEqual(src string) bool
func (*AdminLoginResponse) GetBaseResp ¶
func (p *AdminLoginResponse) GetBaseResp() (v *base.BaseResponse)
func (*AdminLoginResponse) GetToken ¶
func (p *AdminLoginResponse) GetToken() (v string)
func (*AdminLoginResponse) InitDefault ¶
func (p *AdminLoginResponse) InitDefault()
func (*AdminLoginResponse) IsSetBaseResp ¶
func (p *AdminLoginResponse) IsSetBaseResp() bool
func (*AdminLoginResponse) Read ¶
func (p *AdminLoginResponse) Read(iprot thrift.TProtocol) (err error)
func (*AdminLoginResponse) ReadField1 ¶
func (p *AdminLoginResponse) ReadField1(iprot thrift.TProtocol) error
func (*AdminLoginResponse) ReadField2 ¶
func (p *AdminLoginResponse) ReadField2(iprot thrift.TProtocol) error
func (*AdminLoginResponse) SetBaseResp ¶
func (p *AdminLoginResponse) SetBaseResp(val *base.BaseResponse)
func (*AdminLoginResponse) SetToken ¶
func (p *AdminLoginResponse) SetToken(val string)
func (*AdminLoginResponse) String ¶
func (p *AdminLoginResponse) String() string
type ChangeAdminPasswordRequest ¶
type ChangeAdminPasswordRequest struct { AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"` OldPassword string `thrift:"old_password,2" frugal:"2,default,string" json:"old_password"` NewPassword_ string `thrift:"new_password,3" frugal:"3,default,string" json:"new_password"` }
var UserServiceChangeAdminPasswordArgs_Req_DEFAULT *ChangeAdminPasswordRequest
func NewChangeAdminPasswordRequest ¶
func NewChangeAdminPasswordRequest() *ChangeAdminPasswordRequest
func (*ChangeAdminPasswordRequest) BLength ¶
func (p *ChangeAdminPasswordRequest) BLength() int
func (*ChangeAdminPasswordRequest) DeepEqual ¶
func (p *ChangeAdminPasswordRequest) DeepEqual(ano *ChangeAdminPasswordRequest) bool
func (*ChangeAdminPasswordRequest) FastRead ¶
func (p *ChangeAdminPasswordRequest) FastRead(buf []byte) (int, error)
func (*ChangeAdminPasswordRequest) FastReadField1 ¶
func (p *ChangeAdminPasswordRequest) FastReadField1(buf []byte) (int, error)
func (*ChangeAdminPasswordRequest) FastReadField2 ¶
func (p *ChangeAdminPasswordRequest) FastReadField2(buf []byte) (int, error)
func (*ChangeAdminPasswordRequest) FastReadField3 ¶
func (p *ChangeAdminPasswordRequest) FastReadField3(buf []byte) (int, error)
func (*ChangeAdminPasswordRequest) FastWrite ¶
func (p *ChangeAdminPasswordRequest) FastWrite(buf []byte) int
for compatibility
func (*ChangeAdminPasswordRequest) FastWriteNocopy ¶
func (p *ChangeAdminPasswordRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ChangeAdminPasswordRequest) Field1DeepEqual ¶
func (p *ChangeAdminPasswordRequest) Field1DeepEqual(src int64) bool
func (*ChangeAdminPasswordRequest) Field2DeepEqual ¶
func (p *ChangeAdminPasswordRequest) Field2DeepEqual(src string) bool
func (*ChangeAdminPasswordRequest) Field3DeepEqual ¶
func (p *ChangeAdminPasswordRequest) Field3DeepEqual(src string) bool
func (*ChangeAdminPasswordRequest) GetAccountId ¶
func (p *ChangeAdminPasswordRequest) GetAccountId() (v int64)
func (*ChangeAdminPasswordRequest) GetNewPassword_ ¶
func (p *ChangeAdminPasswordRequest) GetNewPassword_() (v string)
func (*ChangeAdminPasswordRequest) GetOldPassword ¶
func (p *ChangeAdminPasswordRequest) GetOldPassword() (v string)
func (*ChangeAdminPasswordRequest) InitDefault ¶
func (p *ChangeAdminPasswordRequest) InitDefault()
func (*ChangeAdminPasswordRequest) Read ¶
func (p *ChangeAdminPasswordRequest) Read(iprot thrift.TProtocol) (err error)
func (*ChangeAdminPasswordRequest) ReadField1 ¶
func (p *ChangeAdminPasswordRequest) ReadField1(iprot thrift.TProtocol) error
func (*ChangeAdminPasswordRequest) ReadField2 ¶
func (p *ChangeAdminPasswordRequest) ReadField2(iprot thrift.TProtocol) error
func (*ChangeAdminPasswordRequest) ReadField3 ¶
func (p *ChangeAdminPasswordRequest) ReadField3(iprot thrift.TProtocol) error
func (*ChangeAdminPasswordRequest) SetAccountId ¶
func (p *ChangeAdminPasswordRequest) SetAccountId(val int64)
func (*ChangeAdminPasswordRequest) SetNewPassword_ ¶
func (p *ChangeAdminPasswordRequest) SetNewPassword_(val string)
func (*ChangeAdminPasswordRequest) SetOldPassword ¶
func (p *ChangeAdminPasswordRequest) SetOldPassword(val string)
func (*ChangeAdminPasswordRequest) String ¶
func (p *ChangeAdminPasswordRequest) String() string
type ChangeAdminPasswordResponse ¶
type ChangeAdminPasswordResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var UserServiceChangeAdminPasswordResult_Success_DEFAULT *ChangeAdminPasswordResponse
func NewChangeAdminPasswordResponse ¶
func NewChangeAdminPasswordResponse() *ChangeAdminPasswordResponse
func (*ChangeAdminPasswordResponse) BLength ¶
func (p *ChangeAdminPasswordResponse) BLength() int
func (*ChangeAdminPasswordResponse) DeepEqual ¶
func (p *ChangeAdminPasswordResponse) DeepEqual(ano *ChangeAdminPasswordResponse) bool
func (*ChangeAdminPasswordResponse) FastRead ¶
func (p *ChangeAdminPasswordResponse) FastRead(buf []byte) (int, error)
func (*ChangeAdminPasswordResponse) FastReadField1 ¶
func (p *ChangeAdminPasswordResponse) FastReadField1(buf []byte) (int, error)
func (*ChangeAdminPasswordResponse) FastWrite ¶
func (p *ChangeAdminPasswordResponse) FastWrite(buf []byte) int
for compatibility
func (*ChangeAdminPasswordResponse) FastWriteNocopy ¶
func (p *ChangeAdminPasswordResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ChangeAdminPasswordResponse) Field1DeepEqual ¶
func (p *ChangeAdminPasswordResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*ChangeAdminPasswordResponse) GetBaseResp ¶
func (p *ChangeAdminPasswordResponse) GetBaseResp() (v *base.BaseResponse)
func (*ChangeAdminPasswordResponse) InitDefault ¶
func (p *ChangeAdminPasswordResponse) InitDefault()
func (*ChangeAdminPasswordResponse) IsSetBaseResp ¶
func (p *ChangeAdminPasswordResponse) IsSetBaseResp() bool
func (*ChangeAdminPasswordResponse) Read ¶
func (p *ChangeAdminPasswordResponse) Read(iprot thrift.TProtocol) (err error)
func (*ChangeAdminPasswordResponse) ReadField1 ¶
func (p *ChangeAdminPasswordResponse) ReadField1(iprot thrift.TProtocol) error
func (*ChangeAdminPasswordResponse) SetBaseResp ¶
func (p *ChangeAdminPasswordResponse) SetBaseResp(val *base.BaseResponse)
func (*ChangeAdminPasswordResponse) String ¶
func (p *ChangeAdminPasswordResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var UserServiceDeleteUserArgs_Req_DEFAULT *DeleteUserRequest
func NewDeleteUserRequest ¶
func NewDeleteUserRequest() *DeleteUserRequest
func (*DeleteUserRequest) BLength ¶
func (p *DeleteUserRequest) BLength() int
func (*DeleteUserRequest) DeepEqual ¶
func (p *DeleteUserRequest) DeepEqual(ano *DeleteUserRequest) bool
func (*DeleteUserRequest) FastReadField1 ¶
func (p *DeleteUserRequest) FastReadField1(buf []byte) (int, error)
func (*DeleteUserRequest) FastWrite ¶
func (p *DeleteUserRequest) FastWrite(buf []byte) int
for compatibility
func (*DeleteUserRequest) FastWriteNocopy ¶
func (p *DeleteUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteUserRequest) Field1DeepEqual ¶
func (p *DeleteUserRequest) Field1DeepEqual(src int64) bool
func (*DeleteUserRequest) GetAccountId ¶
func (p *DeleteUserRequest) GetAccountId() (v int64)
func (*DeleteUserRequest) InitDefault ¶
func (p *DeleteUserRequest) InitDefault()
func (*DeleteUserRequest) Read ¶
func (p *DeleteUserRequest) Read(iprot thrift.TProtocol) (err error)
func (*DeleteUserRequest) ReadField1 ¶
func (p *DeleteUserRequest) ReadField1(iprot thrift.TProtocol) error
func (*DeleteUserRequest) SetAccountId ¶
func (p *DeleteUserRequest) SetAccountId(val int64)
func (*DeleteUserRequest) String ¶
func (p *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var UserServiceDeleteUserResult_Success_DEFAULT *DeleteUserResponse
func NewDeleteUserResponse ¶
func NewDeleteUserResponse() *DeleteUserResponse
func (*DeleteUserResponse) BLength ¶
func (p *DeleteUserResponse) BLength() int
func (*DeleteUserResponse) DeepEqual ¶
func (p *DeleteUserResponse) DeepEqual(ano *DeleteUserResponse) bool
func (*DeleteUserResponse) FastRead ¶
func (p *DeleteUserResponse) FastRead(buf []byte) (int, error)
func (*DeleteUserResponse) FastReadField1 ¶
func (p *DeleteUserResponse) FastReadField1(buf []byte) (int, error)
func (*DeleteUserResponse) FastWrite ¶
func (p *DeleteUserResponse) FastWrite(buf []byte) int
for compatibility
func (*DeleteUserResponse) FastWriteNocopy ¶
func (p *DeleteUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteUserResponse) Field1DeepEqual ¶
func (p *DeleteUserResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*DeleteUserResponse) GetBaseResp ¶
func (p *DeleteUserResponse) GetBaseResp() (v *base.BaseResponse)
func (*DeleteUserResponse) InitDefault ¶
func (p *DeleteUserResponse) InitDefault()
func (*DeleteUserResponse) IsSetBaseResp ¶
func (p *DeleteUserResponse) IsSetBaseResp() bool
func (*DeleteUserResponse) Read ¶
func (p *DeleteUserResponse) Read(iprot thrift.TProtocol) (err error)
func (*DeleteUserResponse) ReadField1 ¶
func (p *DeleteUserResponse) ReadField1(iprot thrift.TProtocol) error
func (*DeleteUserResponse) SetBaseResp ¶
func (p *DeleteUserResponse) SetBaseResp(val *base.BaseResponse)
func (*DeleteUserResponse) String ¶
func (p *DeleteUserResponse) String() string
type GetAllUsersRequest ¶
type GetAllUsersRequest struct { }
var UserServiceGetAllUsersArgs_Req_DEFAULT *GetAllUsersRequest
func NewGetAllUsersRequest ¶
func NewGetAllUsersRequest() *GetAllUsersRequest
func (*GetAllUsersRequest) BLength ¶
func (p *GetAllUsersRequest) BLength() int
func (*GetAllUsersRequest) DeepEqual ¶
func (p *GetAllUsersRequest) DeepEqual(ano *GetAllUsersRequest) bool
func (*GetAllUsersRequest) FastRead ¶
func (p *GetAllUsersRequest) FastRead(buf []byte) (int, error)
func (*GetAllUsersRequest) FastWrite ¶
func (p *GetAllUsersRequest) FastWrite(buf []byte) int
for compatibility
func (*GetAllUsersRequest) FastWriteNocopy ¶
func (p *GetAllUsersRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAllUsersRequest) InitDefault ¶
func (p *GetAllUsersRequest) InitDefault()
func (*GetAllUsersRequest) Read ¶
func (p *GetAllUsersRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetAllUsersRequest) String ¶
func (p *GetAllUsersRequest) String() string
type GetAllUsersResponse ¶
type GetAllUsersResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Users []*base.User `thrift:"users,2" frugal:"2,default,list<base.User>" json:"users"` }
var UserServiceGetAllUsersResult_Success_DEFAULT *GetAllUsersResponse
func NewGetAllUsersResponse ¶
func NewGetAllUsersResponse() *GetAllUsersResponse
func (*GetAllUsersResponse) BLength ¶
func (p *GetAllUsersResponse) BLength() int
func (*GetAllUsersResponse) DeepEqual ¶
func (p *GetAllUsersResponse) DeepEqual(ano *GetAllUsersResponse) bool
func (*GetAllUsersResponse) FastRead ¶
func (p *GetAllUsersResponse) FastRead(buf []byte) (int, error)
func (*GetAllUsersResponse) FastReadField1 ¶
func (p *GetAllUsersResponse) FastReadField1(buf []byte) (int, error)
func (*GetAllUsersResponse) FastReadField2 ¶
func (p *GetAllUsersResponse) FastReadField2(buf []byte) (int, error)
func (*GetAllUsersResponse) FastWrite ¶
func (p *GetAllUsersResponse) FastWrite(buf []byte) int
for compatibility
func (*GetAllUsersResponse) FastWriteNocopy ¶
func (p *GetAllUsersResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAllUsersResponse) Field1DeepEqual ¶
func (p *GetAllUsersResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetAllUsersResponse) Field2DeepEqual ¶
func (p *GetAllUsersResponse) Field2DeepEqual(src []*base.User) bool
func (*GetAllUsersResponse) GetBaseResp ¶
func (p *GetAllUsersResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetAllUsersResponse) GetUsers ¶
func (p *GetAllUsersResponse) GetUsers() (v []*base.User)
func (*GetAllUsersResponse) InitDefault ¶
func (p *GetAllUsersResponse) InitDefault()
func (*GetAllUsersResponse) IsSetBaseResp ¶
func (p *GetAllUsersResponse) IsSetBaseResp() bool
func (*GetAllUsersResponse) Read ¶
func (p *GetAllUsersResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetAllUsersResponse) ReadField1 ¶
func (p *GetAllUsersResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetAllUsersResponse) ReadField2 ¶
func (p *GetAllUsersResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetAllUsersResponse) SetBaseResp ¶
func (p *GetAllUsersResponse) SetBaseResp(val *base.BaseResponse)
func (*GetAllUsersResponse) SetUsers ¶
func (p *GetAllUsersResponse) SetUsers(val []*base.User)
func (*GetAllUsersResponse) String ¶
func (p *GetAllUsersResponse) String() string
type GetSomeUsersRequest ¶
type GetSomeUsersRequest struct { }
var UserServiceGetSomeUsersArgs_Req_DEFAULT *GetSomeUsersRequest
func NewGetSomeUsersRequest ¶
func NewGetSomeUsersRequest() *GetSomeUsersRequest
func (*GetSomeUsersRequest) BLength ¶
func (p *GetSomeUsersRequest) BLength() int
func (*GetSomeUsersRequest) DeepEqual ¶
func (p *GetSomeUsersRequest) DeepEqual(ano *GetSomeUsersRequest) bool
func (*GetSomeUsersRequest) FastRead ¶
func (p *GetSomeUsersRequest) FastRead(buf []byte) (int, error)
func (*GetSomeUsersRequest) FastWrite ¶
func (p *GetSomeUsersRequest) FastWrite(buf []byte) int
for compatibility
func (*GetSomeUsersRequest) FastWriteNocopy ¶
func (p *GetSomeUsersRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetSomeUsersRequest) InitDefault ¶
func (p *GetSomeUsersRequest) InitDefault()
func (*GetSomeUsersRequest) Read ¶
func (p *GetSomeUsersRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetSomeUsersRequest) String ¶
func (p *GetSomeUsersRequest) String() string
type GetSomeUsersResponse ¶
type GetSomeUsersResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Users []*base.User `thrift:"users,2" frugal:"2,default,list<base.User>" json:"users"` }
var UserServiceGetSomeUsersResult_Success_DEFAULT *GetSomeUsersResponse
func NewGetSomeUsersResponse ¶
func NewGetSomeUsersResponse() *GetSomeUsersResponse
func (*GetSomeUsersResponse) BLength ¶
func (p *GetSomeUsersResponse) BLength() int
func (*GetSomeUsersResponse) DeepEqual ¶
func (p *GetSomeUsersResponse) DeepEqual(ano *GetSomeUsersResponse) bool
func (*GetSomeUsersResponse) FastRead ¶
func (p *GetSomeUsersResponse) FastRead(buf []byte) (int, error)
func (*GetSomeUsersResponse) FastReadField1 ¶
func (p *GetSomeUsersResponse) FastReadField1(buf []byte) (int, error)
func (*GetSomeUsersResponse) FastReadField2 ¶
func (p *GetSomeUsersResponse) FastReadField2(buf []byte) (int, error)
func (*GetSomeUsersResponse) FastWrite ¶
func (p *GetSomeUsersResponse) FastWrite(buf []byte) int
for compatibility
func (*GetSomeUsersResponse) FastWriteNocopy ¶
func (p *GetSomeUsersResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetSomeUsersResponse) Field1DeepEqual ¶
func (p *GetSomeUsersResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetSomeUsersResponse) Field2DeepEqual ¶
func (p *GetSomeUsersResponse) Field2DeepEqual(src []*base.User) bool
func (*GetSomeUsersResponse) GetBaseResp ¶
func (p *GetSomeUsersResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetSomeUsersResponse) GetUsers ¶
func (p *GetSomeUsersResponse) GetUsers() (v []*base.User)
func (*GetSomeUsersResponse) InitDefault ¶
func (p *GetSomeUsersResponse) InitDefault()
func (*GetSomeUsersResponse) IsSetBaseResp ¶
func (p *GetSomeUsersResponse) IsSetBaseResp() bool
func (*GetSomeUsersResponse) Read ¶
func (p *GetSomeUsersResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetSomeUsersResponse) ReadField1 ¶
func (p *GetSomeUsersResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetSomeUsersResponse) ReadField2 ¶
func (p *GetSomeUsersResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetSomeUsersResponse) SetBaseResp ¶
func (p *GetSomeUsersResponse) SetBaseResp(val *base.BaseResponse)
func (*GetSomeUsersResponse) SetUsers ¶
func (p *GetSomeUsersResponse) SetUsers(val []*base.User)
func (*GetSomeUsersResponse) String ¶
func (p *GetSomeUsersResponse) String() string
type GetUserInfoResponse ¶
type GetUserInfoResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` UserInfo *base.UserInfo `thrift:"user_info,2" frugal:"2,default,base.UserInfo" json:"user_info"` }
var UserServiceGetUserResult_Success_DEFAULT *GetUserInfoResponse
func NewGetUserInfoResponse ¶
func NewGetUserInfoResponse() *GetUserInfoResponse
func (*GetUserInfoResponse) BLength ¶
func (p *GetUserInfoResponse) BLength() int
func (*GetUserInfoResponse) DeepEqual ¶
func (p *GetUserInfoResponse) DeepEqual(ano *GetUserInfoResponse) bool
func (*GetUserInfoResponse) FastRead ¶
func (p *GetUserInfoResponse) FastRead(buf []byte) (int, error)
func (*GetUserInfoResponse) FastReadField1 ¶
func (p *GetUserInfoResponse) FastReadField1(buf []byte) (int, error)
func (*GetUserInfoResponse) FastReadField2 ¶
func (p *GetUserInfoResponse) FastReadField2(buf []byte) (int, error)
func (*GetUserInfoResponse) FastWrite ¶
func (p *GetUserInfoResponse) FastWrite(buf []byte) int
for compatibility
func (*GetUserInfoResponse) FastWriteNocopy ¶
func (p *GetUserInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetUserInfoResponse) Field1DeepEqual ¶
func (p *GetUserInfoResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetUserInfoResponse) Field2DeepEqual ¶
func (p *GetUserInfoResponse) Field2DeepEqual(src *base.UserInfo) bool
func (*GetUserInfoResponse) GetBaseResp ¶
func (p *GetUserInfoResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetUserInfoResponse) GetUserInfo ¶
func (p *GetUserInfoResponse) GetUserInfo() (v *base.UserInfo)
func (*GetUserInfoResponse) InitDefault ¶
func (p *GetUserInfoResponse) InitDefault()
func (*GetUserInfoResponse) IsSetBaseResp ¶
func (p *GetUserInfoResponse) IsSetBaseResp() bool
func (*GetUserInfoResponse) IsSetUserInfo ¶
func (p *GetUserInfoResponse) IsSetUserInfo() bool
func (*GetUserInfoResponse) Read ¶
func (p *GetUserInfoResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetUserInfoResponse) ReadField1 ¶
func (p *GetUserInfoResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetUserInfoResponse) ReadField2 ¶
func (p *GetUserInfoResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetUserInfoResponse) SetBaseResp ¶
func (p *GetUserInfoResponse) SetBaseResp(val *base.BaseResponse)
func (*GetUserInfoResponse) SetUserInfo ¶
func (p *GetUserInfoResponse) SetUserInfo(val *base.UserInfo)
func (*GetUserInfoResponse) String ¶
func (p *GetUserInfoResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct {
AccontId int64 `thrift:"accont_id,1" frugal:"1,default,i64" json:"accont_id"`
}
var UserServiceGetUserArgs_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 UserServiceLoginArgs_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 { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
var UserServiceLoginResult_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) 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 *base.BaseResponse) bool
func (*LoginResponse) Field2DeepEqual ¶
func (p *LoginResponse) Field2DeepEqual(src string) bool
func (*LoginResponse) GetBaseResp ¶
func (p *LoginResponse) GetBaseResp() (v *base.BaseResponse)
func (*LoginResponse) GetToken ¶
func (p *LoginResponse) GetToken() (v string)
func (*LoginResponse) InitDefault ¶
func (p *LoginResponse) InitDefault()
func (*LoginResponse) IsSetBaseResp ¶
func (p *LoginResponse) IsSetBaseResp() 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) SetBaseResp ¶
func (p *LoginResponse) SetBaseResp(val *base.BaseResponse)
func (*LoginResponse) SetToken ¶
func (p *LoginResponse) SetToken(val string)
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 UserServiceUpdateUserArgs_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 {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var UserServiceUpdateUserResult_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) FastReadField1 ¶
func (p *UpdateUserResponse) FastReadField1(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) Field1DeepEqual ¶
func (p *UpdateUserResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*UpdateUserResponse) GetBaseResp ¶
func (p *UpdateUserResponse) GetBaseResp() (v *base.BaseResponse)
func (*UpdateUserResponse) InitDefault ¶
func (p *UpdateUserResponse) InitDefault()
func (*UpdateUserResponse) IsSetBaseResp ¶
func (p *UpdateUserResponse) IsSetBaseResp() bool
func (*UpdateUserResponse) Read ¶
func (p *UpdateUserResponse) Read(iprot thrift.TProtocol) (err error)
func (*UpdateUserResponse) ReadField1 ¶
func (p *UpdateUserResponse) ReadField1(iprot thrift.TProtocol) error
func (*UpdateUserResponse) SetBaseResp ¶
func (p *UpdateUserResponse) SetBaseResp(val *base.BaseResponse)
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 UserServiceUploadAvatarArgs_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 { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` UploadUrl string `thrift:"upload_url,2" frugal:"2,default,string" json:"upload_url"` }
var UserServiceUploadAvatarResult_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) FastReadField2 ¶
func (p *UploadAvatarResponse) FastReadField2(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 *base.BaseResponse) bool
func (*UploadAvatarResponse) Field2DeepEqual ¶
func (p *UploadAvatarResponse) Field2DeepEqual(src string) bool
func (*UploadAvatarResponse) GetBaseResp ¶
func (p *UploadAvatarResponse) GetBaseResp() (v *base.BaseResponse)
func (*UploadAvatarResponse) GetUploadUrl ¶
func (p *UploadAvatarResponse) GetUploadUrl() (v string)
func (*UploadAvatarResponse) InitDefault ¶
func (p *UploadAvatarResponse) InitDefault()
func (*UploadAvatarResponse) IsSetBaseResp ¶
func (p *UploadAvatarResponse) IsSetBaseResp() bool
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) ReadField2 ¶
func (p *UploadAvatarResponse) ReadField2(iprot thrift.TProtocol) error
func (*UploadAvatarResponse) SetBaseResp ¶
func (p *UploadAvatarResponse) SetBaseResp(val *base.BaseResponse)
func (*UploadAvatarResponse) SetUploadUrl ¶
func (p *UploadAvatarResponse) SetUploadUrl(val string)
func (*UploadAvatarResponse) String ¶
func (p *UploadAvatarResponse) String() string
type UserService ¶
type UserService interface { Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error) AdminLogin(ctx context.Context, req *AdminLoginRequest) (r *AdminLoginResponse, err error) ChangeAdminPassword(ctx context.Context, req *ChangeAdminPasswordRequest) (r *ChangeAdminPasswordResponse, err error) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error) GetUser(ctx context.Context, req *GetUserRequest) (r *GetUserInfoResponse, err error) AddUser(ctx context.Context, req *AddUserRequest) (r *AddUserResponse, err error) DeleteUser(ctx context.Context, req *DeleteUserRequest) (r *DeleteUserResponse, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error) GetSomeUsers(ctx context.Context, req *GetSomeUsersRequest) (r *GetSomeUsersResponse, err error) GetAllUsers(ctx context.Context, req *GetAllUsersRequest) (r *GetAllUsersResponse, err error) }
type UserServiceAddUserArgs ¶
type UserServiceAddUserArgs struct {
Req *AddUserRequest `thrift:"req,1" frugal:"1,default,AddUserRequest" json:"req"`
}
func NewUserServiceAddUserArgs ¶
func NewUserServiceAddUserArgs() *UserServiceAddUserArgs
func (*UserServiceAddUserArgs) BLength ¶
func (p *UserServiceAddUserArgs) BLength() int
func (*UserServiceAddUserArgs) DeepEqual ¶
func (p *UserServiceAddUserArgs) DeepEqual(ano *UserServiceAddUserArgs) bool
func (*UserServiceAddUserArgs) FastRead ¶
func (p *UserServiceAddUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceAddUserArgs) FastReadField1 ¶
func (p *UserServiceAddUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceAddUserArgs) FastWrite ¶
func (p *UserServiceAddUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceAddUserArgs) FastWriteNocopy ¶
func (p *UserServiceAddUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceAddUserArgs) Field1DeepEqual ¶
func (p *UserServiceAddUserArgs) Field1DeepEqual(src *AddUserRequest) bool
func (*UserServiceAddUserArgs) GetFirstArgument ¶
func (p *UserServiceAddUserArgs) GetFirstArgument() interface{}
func (*UserServiceAddUserArgs) GetReq ¶
func (p *UserServiceAddUserArgs) GetReq() (v *AddUserRequest)
func (*UserServiceAddUserArgs) InitDefault ¶
func (p *UserServiceAddUserArgs) InitDefault()
func (*UserServiceAddUserArgs) IsSetReq ¶
func (p *UserServiceAddUserArgs) IsSetReq() bool
func (*UserServiceAddUserArgs) Read ¶
func (p *UserServiceAddUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceAddUserArgs) ReadField1 ¶
func (p *UserServiceAddUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceAddUserArgs) SetReq ¶
func (p *UserServiceAddUserArgs) SetReq(val *AddUserRequest)
func (*UserServiceAddUserArgs) String ¶
func (p *UserServiceAddUserArgs) String() string
type UserServiceAddUserResult ¶
type UserServiceAddUserResult struct {
Success *AddUserResponse `thrift:"success,0,optional" frugal:"0,optional,AddUserResponse" json:"success,omitempty"`
}
func NewUserServiceAddUserResult ¶
func NewUserServiceAddUserResult() *UserServiceAddUserResult
func (*UserServiceAddUserResult) BLength ¶
func (p *UserServiceAddUserResult) BLength() int
func (*UserServiceAddUserResult) DeepEqual ¶
func (p *UserServiceAddUserResult) DeepEqual(ano *UserServiceAddUserResult) bool
func (*UserServiceAddUserResult) FastRead ¶
func (p *UserServiceAddUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceAddUserResult) FastReadField0 ¶
func (p *UserServiceAddUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceAddUserResult) FastWrite ¶
func (p *UserServiceAddUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceAddUserResult) FastWriteNocopy ¶
func (p *UserServiceAddUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceAddUserResult) Field0DeepEqual ¶
func (p *UserServiceAddUserResult) Field0DeepEqual(src *AddUserResponse) bool
func (*UserServiceAddUserResult) GetResult ¶
func (p *UserServiceAddUserResult) GetResult() interface{}
func (*UserServiceAddUserResult) GetSuccess ¶
func (p *UserServiceAddUserResult) GetSuccess() (v *AddUserResponse)
func (*UserServiceAddUserResult) InitDefault ¶
func (p *UserServiceAddUserResult) InitDefault()
func (*UserServiceAddUserResult) IsSetSuccess ¶
func (p *UserServiceAddUserResult) IsSetSuccess() bool
func (*UserServiceAddUserResult) Read ¶
func (p *UserServiceAddUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceAddUserResult) ReadField0 ¶
func (p *UserServiceAddUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceAddUserResult) SetSuccess ¶
func (p *UserServiceAddUserResult) SetSuccess(x interface{})
func (*UserServiceAddUserResult) String ¶
func (p *UserServiceAddUserResult) String() string
type UserServiceAdminLoginArgs ¶
type UserServiceAdminLoginArgs struct {
Req *AdminLoginRequest `thrift:"req,1" frugal:"1,default,AdminLoginRequest" json:"req"`
}
func NewUserServiceAdminLoginArgs ¶
func NewUserServiceAdminLoginArgs() *UserServiceAdminLoginArgs
func (*UserServiceAdminLoginArgs) BLength ¶
func (p *UserServiceAdminLoginArgs) BLength() int
func (*UserServiceAdminLoginArgs) DeepEqual ¶
func (p *UserServiceAdminLoginArgs) DeepEqual(ano *UserServiceAdminLoginArgs) bool
func (*UserServiceAdminLoginArgs) FastRead ¶
func (p *UserServiceAdminLoginArgs) FastRead(buf []byte) (int, error)
func (*UserServiceAdminLoginArgs) FastReadField1 ¶
func (p *UserServiceAdminLoginArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceAdminLoginArgs) FastWrite ¶
func (p *UserServiceAdminLoginArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceAdminLoginArgs) FastWriteNocopy ¶
func (p *UserServiceAdminLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceAdminLoginArgs) Field1DeepEqual ¶
func (p *UserServiceAdminLoginArgs) Field1DeepEqual(src *AdminLoginRequest) bool
func (*UserServiceAdminLoginArgs) GetFirstArgument ¶
func (p *UserServiceAdminLoginArgs) GetFirstArgument() interface{}
func (*UserServiceAdminLoginArgs) GetReq ¶
func (p *UserServiceAdminLoginArgs) GetReq() (v *AdminLoginRequest)
func (*UserServiceAdminLoginArgs) InitDefault ¶
func (p *UserServiceAdminLoginArgs) InitDefault()
func (*UserServiceAdminLoginArgs) IsSetReq ¶
func (p *UserServiceAdminLoginArgs) IsSetReq() bool
func (*UserServiceAdminLoginArgs) Read ¶
func (p *UserServiceAdminLoginArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceAdminLoginArgs) ReadField1 ¶
func (p *UserServiceAdminLoginArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceAdminLoginArgs) SetReq ¶
func (p *UserServiceAdminLoginArgs) SetReq(val *AdminLoginRequest)
func (*UserServiceAdminLoginArgs) String ¶
func (p *UserServiceAdminLoginArgs) String() string
type UserServiceAdminLoginResult ¶
type UserServiceAdminLoginResult struct {
Success *AdminLoginResponse `thrift:"success,0,optional" frugal:"0,optional,AdminLoginResponse" json:"success,omitempty"`
}
func NewUserServiceAdminLoginResult ¶
func NewUserServiceAdminLoginResult() *UserServiceAdminLoginResult
func (*UserServiceAdminLoginResult) BLength ¶
func (p *UserServiceAdminLoginResult) BLength() int
func (*UserServiceAdminLoginResult) DeepEqual ¶
func (p *UserServiceAdminLoginResult) DeepEqual(ano *UserServiceAdminLoginResult) bool
func (*UserServiceAdminLoginResult) FastRead ¶
func (p *UserServiceAdminLoginResult) FastRead(buf []byte) (int, error)
func (*UserServiceAdminLoginResult) FastReadField0 ¶
func (p *UserServiceAdminLoginResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceAdminLoginResult) FastWrite ¶
func (p *UserServiceAdminLoginResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceAdminLoginResult) FastWriteNocopy ¶
func (p *UserServiceAdminLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceAdminLoginResult) Field0DeepEqual ¶
func (p *UserServiceAdminLoginResult) Field0DeepEqual(src *AdminLoginResponse) bool
func (*UserServiceAdminLoginResult) GetResult ¶
func (p *UserServiceAdminLoginResult) GetResult() interface{}
func (*UserServiceAdminLoginResult) GetSuccess ¶
func (p *UserServiceAdminLoginResult) GetSuccess() (v *AdminLoginResponse)
func (*UserServiceAdminLoginResult) InitDefault ¶
func (p *UserServiceAdminLoginResult) InitDefault()
func (*UserServiceAdminLoginResult) IsSetSuccess ¶
func (p *UserServiceAdminLoginResult) IsSetSuccess() bool
func (*UserServiceAdminLoginResult) Read ¶
func (p *UserServiceAdminLoginResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceAdminLoginResult) ReadField0 ¶
func (p *UserServiceAdminLoginResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceAdminLoginResult) SetSuccess ¶
func (p *UserServiceAdminLoginResult) SetSuccess(x interface{})
func (*UserServiceAdminLoginResult) String ¶
func (p *UserServiceAdminLoginResult) String() string
type UserServiceChangeAdminPasswordArgs ¶
type UserServiceChangeAdminPasswordArgs struct {
Req *ChangeAdminPasswordRequest `thrift:"req,1" frugal:"1,default,ChangeAdminPasswordRequest" json:"req"`
}
func NewUserServiceChangeAdminPasswordArgs ¶
func NewUserServiceChangeAdminPasswordArgs() *UserServiceChangeAdminPasswordArgs
func (*UserServiceChangeAdminPasswordArgs) BLength ¶
func (p *UserServiceChangeAdminPasswordArgs) BLength() int
func (*UserServiceChangeAdminPasswordArgs) DeepEqual ¶
func (p *UserServiceChangeAdminPasswordArgs) DeepEqual(ano *UserServiceChangeAdminPasswordArgs) bool
func (*UserServiceChangeAdminPasswordArgs) FastRead ¶
func (p *UserServiceChangeAdminPasswordArgs) FastRead(buf []byte) (int, error)
func (*UserServiceChangeAdminPasswordArgs) FastReadField1 ¶
func (p *UserServiceChangeAdminPasswordArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceChangeAdminPasswordArgs) FastWrite ¶
func (p *UserServiceChangeAdminPasswordArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceChangeAdminPasswordArgs) FastWriteNocopy ¶
func (p *UserServiceChangeAdminPasswordArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceChangeAdminPasswordArgs) Field1DeepEqual ¶
func (p *UserServiceChangeAdminPasswordArgs) Field1DeepEqual(src *ChangeAdminPasswordRequest) bool
func (*UserServiceChangeAdminPasswordArgs) GetFirstArgument ¶
func (p *UserServiceChangeAdminPasswordArgs) GetFirstArgument() interface{}
func (*UserServiceChangeAdminPasswordArgs) GetReq ¶
func (p *UserServiceChangeAdminPasswordArgs) GetReq() (v *ChangeAdminPasswordRequest)
func (*UserServiceChangeAdminPasswordArgs) InitDefault ¶
func (p *UserServiceChangeAdminPasswordArgs) InitDefault()
func (*UserServiceChangeAdminPasswordArgs) IsSetReq ¶
func (p *UserServiceChangeAdminPasswordArgs) IsSetReq() bool
func (*UserServiceChangeAdminPasswordArgs) Read ¶
func (p *UserServiceChangeAdminPasswordArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceChangeAdminPasswordArgs) ReadField1 ¶
func (p *UserServiceChangeAdminPasswordArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceChangeAdminPasswordArgs) SetReq ¶
func (p *UserServiceChangeAdminPasswordArgs) SetReq(val *ChangeAdminPasswordRequest)
func (*UserServiceChangeAdminPasswordArgs) String ¶
func (p *UserServiceChangeAdminPasswordArgs) String() string
type UserServiceChangeAdminPasswordResult ¶
type UserServiceChangeAdminPasswordResult struct {
Success *ChangeAdminPasswordResponse `thrift:"success,0,optional" frugal:"0,optional,ChangeAdminPasswordResponse" json:"success,omitempty"`
}
func NewUserServiceChangeAdminPasswordResult ¶
func NewUserServiceChangeAdminPasswordResult() *UserServiceChangeAdminPasswordResult
func (*UserServiceChangeAdminPasswordResult) BLength ¶
func (p *UserServiceChangeAdminPasswordResult) BLength() int
func (*UserServiceChangeAdminPasswordResult) DeepEqual ¶
func (p *UserServiceChangeAdminPasswordResult) DeepEqual(ano *UserServiceChangeAdminPasswordResult) bool
func (*UserServiceChangeAdminPasswordResult) FastRead ¶
func (p *UserServiceChangeAdminPasswordResult) FastRead(buf []byte) (int, error)
func (*UserServiceChangeAdminPasswordResult) FastReadField0 ¶
func (p *UserServiceChangeAdminPasswordResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceChangeAdminPasswordResult) FastWrite ¶
func (p *UserServiceChangeAdminPasswordResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceChangeAdminPasswordResult) FastWriteNocopy ¶
func (p *UserServiceChangeAdminPasswordResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceChangeAdminPasswordResult) Field0DeepEqual ¶
func (p *UserServiceChangeAdminPasswordResult) Field0DeepEqual(src *ChangeAdminPasswordResponse) bool
func (*UserServiceChangeAdminPasswordResult) GetResult ¶
func (p *UserServiceChangeAdminPasswordResult) GetResult() interface{}
func (*UserServiceChangeAdminPasswordResult) GetSuccess ¶
func (p *UserServiceChangeAdminPasswordResult) GetSuccess() (v *ChangeAdminPasswordResponse)
func (*UserServiceChangeAdminPasswordResult) InitDefault ¶
func (p *UserServiceChangeAdminPasswordResult) InitDefault()
func (*UserServiceChangeAdminPasswordResult) IsSetSuccess ¶
func (p *UserServiceChangeAdminPasswordResult) IsSetSuccess() bool
func (*UserServiceChangeAdminPasswordResult) Read ¶
func (p *UserServiceChangeAdminPasswordResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceChangeAdminPasswordResult) ReadField0 ¶
func (p *UserServiceChangeAdminPasswordResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceChangeAdminPasswordResult) SetSuccess ¶
func (p *UserServiceChangeAdminPasswordResult) SetSuccess(x interface{})
func (*UserServiceChangeAdminPasswordResult) String ¶
func (p *UserServiceChangeAdminPasswordResult) String() string
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
func NewUserServiceClient ¶
func NewUserServiceClient(c thrift.TClient) *UserServiceClient
func NewUserServiceClientFactory ¶
func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *UserServiceClient
func NewUserServiceClientProtocol ¶
func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserServiceClient
func (*UserServiceClient) AddUser ¶
func (p *UserServiceClient) AddUser(ctx context.Context, req *AddUserRequest) (r *AddUserResponse, err error)
func (*UserServiceClient) AdminLogin ¶
func (p *UserServiceClient) AdminLogin(ctx context.Context, req *AdminLoginRequest) (r *AdminLoginResponse, err error)
func (*UserServiceClient) ChangeAdminPassword ¶
func (p *UserServiceClient) ChangeAdminPassword(ctx context.Context, req *ChangeAdminPasswordRequest) (r *ChangeAdminPasswordResponse, err error)
func (*UserServiceClient) Client_ ¶
func (p *UserServiceClient) Client_() thrift.TClient
func (*UserServiceClient) DeleteUser ¶
func (p *UserServiceClient) DeleteUser(ctx context.Context, req *DeleteUserRequest) (r *DeleteUserResponse, err error)
func (*UserServiceClient) GetAllUsers ¶
func (p *UserServiceClient) GetAllUsers(ctx context.Context, req *GetAllUsersRequest) (r *GetAllUsersResponse, err error)
func (*UserServiceClient) GetSomeUsers ¶
func (p *UserServiceClient) GetSomeUsers(ctx context.Context, req *GetSomeUsersRequest) (r *GetSomeUsersResponse, err error)
func (*UserServiceClient) GetUser ¶
func (p *UserServiceClient) GetUser(ctx context.Context, req *GetUserRequest) (r *GetUserInfoResponse, err error)
func (*UserServiceClient) Login ¶
func (p *UserServiceClient) Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)
func (*UserServiceClient) UpdateUser ¶
func (p *UserServiceClient) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)
func (*UserServiceClient) UploadAvatar ¶
func (p *UserServiceClient) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error)
type UserServiceDeleteUserArgs ¶
type UserServiceDeleteUserArgs struct {
Req *DeleteUserRequest `thrift:"req,1" frugal:"1,default,DeleteUserRequest" json:"req"`
}
func NewUserServiceDeleteUserArgs ¶
func NewUserServiceDeleteUserArgs() *UserServiceDeleteUserArgs
func (*UserServiceDeleteUserArgs) BLength ¶
func (p *UserServiceDeleteUserArgs) BLength() int
func (*UserServiceDeleteUserArgs) DeepEqual ¶
func (p *UserServiceDeleteUserArgs) DeepEqual(ano *UserServiceDeleteUserArgs) bool
func (*UserServiceDeleteUserArgs) FastRead ¶
func (p *UserServiceDeleteUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceDeleteUserArgs) FastReadField1 ¶
func (p *UserServiceDeleteUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceDeleteUserArgs) FastWrite ¶
func (p *UserServiceDeleteUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceDeleteUserArgs) FastWriteNocopy ¶
func (p *UserServiceDeleteUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceDeleteUserArgs) Field1DeepEqual ¶
func (p *UserServiceDeleteUserArgs) Field1DeepEqual(src *DeleteUserRequest) bool
func (*UserServiceDeleteUserArgs) GetFirstArgument ¶
func (p *UserServiceDeleteUserArgs) GetFirstArgument() interface{}
func (*UserServiceDeleteUserArgs) GetReq ¶
func (p *UserServiceDeleteUserArgs) GetReq() (v *DeleteUserRequest)
func (*UserServiceDeleteUserArgs) InitDefault ¶
func (p *UserServiceDeleteUserArgs) InitDefault()
func (*UserServiceDeleteUserArgs) IsSetReq ¶
func (p *UserServiceDeleteUserArgs) IsSetReq() bool
func (*UserServiceDeleteUserArgs) Read ¶
func (p *UserServiceDeleteUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceDeleteUserArgs) ReadField1 ¶
func (p *UserServiceDeleteUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceDeleteUserArgs) SetReq ¶
func (p *UserServiceDeleteUserArgs) SetReq(val *DeleteUserRequest)
func (*UserServiceDeleteUserArgs) String ¶
func (p *UserServiceDeleteUserArgs) String() string
type UserServiceDeleteUserResult ¶
type UserServiceDeleteUserResult struct {
Success *DeleteUserResponse `thrift:"success,0,optional" frugal:"0,optional,DeleteUserResponse" json:"success,omitempty"`
}
func NewUserServiceDeleteUserResult ¶
func NewUserServiceDeleteUserResult() *UserServiceDeleteUserResult
func (*UserServiceDeleteUserResult) BLength ¶
func (p *UserServiceDeleteUserResult) BLength() int
func (*UserServiceDeleteUserResult) DeepEqual ¶
func (p *UserServiceDeleteUserResult) DeepEqual(ano *UserServiceDeleteUserResult) bool
func (*UserServiceDeleteUserResult) FastRead ¶
func (p *UserServiceDeleteUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceDeleteUserResult) FastReadField0 ¶
func (p *UserServiceDeleteUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceDeleteUserResult) FastWrite ¶
func (p *UserServiceDeleteUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceDeleteUserResult) FastWriteNocopy ¶
func (p *UserServiceDeleteUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceDeleteUserResult) Field0DeepEqual ¶
func (p *UserServiceDeleteUserResult) Field0DeepEqual(src *DeleteUserResponse) bool
func (*UserServiceDeleteUserResult) GetResult ¶
func (p *UserServiceDeleteUserResult) GetResult() interface{}
func (*UserServiceDeleteUserResult) GetSuccess ¶
func (p *UserServiceDeleteUserResult) GetSuccess() (v *DeleteUserResponse)
func (*UserServiceDeleteUserResult) InitDefault ¶
func (p *UserServiceDeleteUserResult) InitDefault()
func (*UserServiceDeleteUserResult) IsSetSuccess ¶
func (p *UserServiceDeleteUserResult) IsSetSuccess() bool
func (*UserServiceDeleteUserResult) Read ¶
func (p *UserServiceDeleteUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceDeleteUserResult) ReadField0 ¶
func (p *UserServiceDeleteUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceDeleteUserResult) SetSuccess ¶
func (p *UserServiceDeleteUserResult) SetSuccess(x interface{})
func (*UserServiceDeleteUserResult) String ¶
func (p *UserServiceDeleteUserResult) String() string
type UserServiceGetAllUsersArgs ¶
type UserServiceGetAllUsersArgs struct {
Req *GetAllUsersRequest `thrift:"req,1" frugal:"1,default,GetAllUsersRequest" json:"req"`
}
func NewUserServiceGetAllUsersArgs ¶
func NewUserServiceGetAllUsersArgs() *UserServiceGetAllUsersArgs
func (*UserServiceGetAllUsersArgs) BLength ¶
func (p *UserServiceGetAllUsersArgs) BLength() int
func (*UserServiceGetAllUsersArgs) DeepEqual ¶
func (p *UserServiceGetAllUsersArgs) DeepEqual(ano *UserServiceGetAllUsersArgs) bool
func (*UserServiceGetAllUsersArgs) FastRead ¶
func (p *UserServiceGetAllUsersArgs) FastRead(buf []byte) (int, error)
func (*UserServiceGetAllUsersArgs) FastReadField1 ¶
func (p *UserServiceGetAllUsersArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceGetAllUsersArgs) FastWrite ¶
func (p *UserServiceGetAllUsersArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetAllUsersArgs) FastWriteNocopy ¶
func (p *UserServiceGetAllUsersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetAllUsersArgs) Field1DeepEqual ¶
func (p *UserServiceGetAllUsersArgs) Field1DeepEqual(src *GetAllUsersRequest) bool
func (*UserServiceGetAllUsersArgs) GetFirstArgument ¶
func (p *UserServiceGetAllUsersArgs) GetFirstArgument() interface{}
func (*UserServiceGetAllUsersArgs) GetReq ¶
func (p *UserServiceGetAllUsersArgs) GetReq() (v *GetAllUsersRequest)
func (*UserServiceGetAllUsersArgs) InitDefault ¶
func (p *UserServiceGetAllUsersArgs) InitDefault()
func (*UserServiceGetAllUsersArgs) IsSetReq ¶
func (p *UserServiceGetAllUsersArgs) IsSetReq() bool
func (*UserServiceGetAllUsersArgs) Read ¶
func (p *UserServiceGetAllUsersArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetAllUsersArgs) ReadField1 ¶
func (p *UserServiceGetAllUsersArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceGetAllUsersArgs) SetReq ¶
func (p *UserServiceGetAllUsersArgs) SetReq(val *GetAllUsersRequest)
func (*UserServiceGetAllUsersArgs) String ¶
func (p *UserServiceGetAllUsersArgs) String() string
type UserServiceGetAllUsersResult ¶
type UserServiceGetAllUsersResult struct {
Success *GetAllUsersResponse `thrift:"success,0,optional" frugal:"0,optional,GetAllUsersResponse" json:"success,omitempty"`
}
func NewUserServiceGetAllUsersResult ¶
func NewUserServiceGetAllUsersResult() *UserServiceGetAllUsersResult
func (*UserServiceGetAllUsersResult) BLength ¶
func (p *UserServiceGetAllUsersResult) BLength() int
func (*UserServiceGetAllUsersResult) DeepEqual ¶
func (p *UserServiceGetAllUsersResult) DeepEqual(ano *UserServiceGetAllUsersResult) bool
func (*UserServiceGetAllUsersResult) FastRead ¶
func (p *UserServiceGetAllUsersResult) FastRead(buf []byte) (int, error)
func (*UserServiceGetAllUsersResult) FastReadField0 ¶
func (p *UserServiceGetAllUsersResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceGetAllUsersResult) FastWrite ¶
func (p *UserServiceGetAllUsersResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetAllUsersResult) FastWriteNocopy ¶
func (p *UserServiceGetAllUsersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetAllUsersResult) Field0DeepEqual ¶
func (p *UserServiceGetAllUsersResult) Field0DeepEqual(src *GetAllUsersResponse) bool
func (*UserServiceGetAllUsersResult) GetResult ¶
func (p *UserServiceGetAllUsersResult) GetResult() interface{}
func (*UserServiceGetAllUsersResult) GetSuccess ¶
func (p *UserServiceGetAllUsersResult) GetSuccess() (v *GetAllUsersResponse)
func (*UserServiceGetAllUsersResult) InitDefault ¶
func (p *UserServiceGetAllUsersResult) InitDefault()
func (*UserServiceGetAllUsersResult) IsSetSuccess ¶
func (p *UserServiceGetAllUsersResult) IsSetSuccess() bool
func (*UserServiceGetAllUsersResult) Read ¶
func (p *UserServiceGetAllUsersResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetAllUsersResult) ReadField0 ¶
func (p *UserServiceGetAllUsersResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceGetAllUsersResult) SetSuccess ¶
func (p *UserServiceGetAllUsersResult) SetSuccess(x interface{})
func (*UserServiceGetAllUsersResult) String ¶
func (p *UserServiceGetAllUsersResult) String() string
type UserServiceGetSomeUsersArgs ¶
type UserServiceGetSomeUsersArgs struct {
Req *GetSomeUsersRequest `thrift:"req,1" frugal:"1,default,GetSomeUsersRequest" json:"req"`
}
func NewUserServiceGetSomeUsersArgs ¶
func NewUserServiceGetSomeUsersArgs() *UserServiceGetSomeUsersArgs
func (*UserServiceGetSomeUsersArgs) BLength ¶
func (p *UserServiceGetSomeUsersArgs) BLength() int
func (*UserServiceGetSomeUsersArgs) DeepEqual ¶
func (p *UserServiceGetSomeUsersArgs) DeepEqual(ano *UserServiceGetSomeUsersArgs) bool
func (*UserServiceGetSomeUsersArgs) FastRead ¶
func (p *UserServiceGetSomeUsersArgs) FastRead(buf []byte) (int, error)
func (*UserServiceGetSomeUsersArgs) FastReadField1 ¶
func (p *UserServiceGetSomeUsersArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceGetSomeUsersArgs) FastWrite ¶
func (p *UserServiceGetSomeUsersArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetSomeUsersArgs) FastWriteNocopy ¶
func (p *UserServiceGetSomeUsersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetSomeUsersArgs) Field1DeepEqual ¶
func (p *UserServiceGetSomeUsersArgs) Field1DeepEqual(src *GetSomeUsersRequest) bool
func (*UserServiceGetSomeUsersArgs) GetFirstArgument ¶
func (p *UserServiceGetSomeUsersArgs) GetFirstArgument() interface{}
func (*UserServiceGetSomeUsersArgs) GetReq ¶
func (p *UserServiceGetSomeUsersArgs) GetReq() (v *GetSomeUsersRequest)
func (*UserServiceGetSomeUsersArgs) InitDefault ¶
func (p *UserServiceGetSomeUsersArgs) InitDefault()
func (*UserServiceGetSomeUsersArgs) IsSetReq ¶
func (p *UserServiceGetSomeUsersArgs) IsSetReq() bool
func (*UserServiceGetSomeUsersArgs) Read ¶
func (p *UserServiceGetSomeUsersArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetSomeUsersArgs) ReadField1 ¶
func (p *UserServiceGetSomeUsersArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceGetSomeUsersArgs) SetReq ¶
func (p *UserServiceGetSomeUsersArgs) SetReq(val *GetSomeUsersRequest)
func (*UserServiceGetSomeUsersArgs) String ¶
func (p *UserServiceGetSomeUsersArgs) String() string
type UserServiceGetSomeUsersResult ¶
type UserServiceGetSomeUsersResult struct {
Success *GetSomeUsersResponse `thrift:"success,0,optional" frugal:"0,optional,GetSomeUsersResponse" json:"success,omitempty"`
}
func NewUserServiceGetSomeUsersResult ¶
func NewUserServiceGetSomeUsersResult() *UserServiceGetSomeUsersResult
func (*UserServiceGetSomeUsersResult) BLength ¶
func (p *UserServiceGetSomeUsersResult) BLength() int
func (*UserServiceGetSomeUsersResult) DeepEqual ¶
func (p *UserServiceGetSomeUsersResult) DeepEqual(ano *UserServiceGetSomeUsersResult) bool
func (*UserServiceGetSomeUsersResult) FastRead ¶
func (p *UserServiceGetSomeUsersResult) FastRead(buf []byte) (int, error)
func (*UserServiceGetSomeUsersResult) FastReadField0 ¶
func (p *UserServiceGetSomeUsersResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceGetSomeUsersResult) FastWrite ¶
func (p *UserServiceGetSomeUsersResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetSomeUsersResult) FastWriteNocopy ¶
func (p *UserServiceGetSomeUsersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetSomeUsersResult) Field0DeepEqual ¶
func (p *UserServiceGetSomeUsersResult) Field0DeepEqual(src *GetSomeUsersResponse) bool
func (*UserServiceGetSomeUsersResult) GetResult ¶
func (p *UserServiceGetSomeUsersResult) GetResult() interface{}
func (*UserServiceGetSomeUsersResult) GetSuccess ¶
func (p *UserServiceGetSomeUsersResult) GetSuccess() (v *GetSomeUsersResponse)
func (*UserServiceGetSomeUsersResult) InitDefault ¶
func (p *UserServiceGetSomeUsersResult) InitDefault()
func (*UserServiceGetSomeUsersResult) IsSetSuccess ¶
func (p *UserServiceGetSomeUsersResult) IsSetSuccess() bool
func (*UserServiceGetSomeUsersResult) Read ¶
func (p *UserServiceGetSomeUsersResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetSomeUsersResult) ReadField0 ¶
func (p *UserServiceGetSomeUsersResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceGetSomeUsersResult) SetSuccess ¶
func (p *UserServiceGetSomeUsersResult) SetSuccess(x interface{})
func (*UserServiceGetSomeUsersResult) String ¶
func (p *UserServiceGetSomeUsersResult) String() string
type UserServiceGetUserArgs ¶
type UserServiceGetUserArgs struct {
Req *GetUserRequest `thrift:"req,1" frugal:"1,default,GetUserRequest" json:"req"`
}
func NewUserServiceGetUserArgs ¶
func NewUserServiceGetUserArgs() *UserServiceGetUserArgs
func (*UserServiceGetUserArgs) BLength ¶
func (p *UserServiceGetUserArgs) BLength() int
func (*UserServiceGetUserArgs) DeepEqual ¶
func (p *UserServiceGetUserArgs) DeepEqual(ano *UserServiceGetUserArgs) bool
func (*UserServiceGetUserArgs) FastRead ¶
func (p *UserServiceGetUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceGetUserArgs) FastReadField1 ¶
func (p *UserServiceGetUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceGetUserArgs) FastWrite ¶
func (p *UserServiceGetUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetUserArgs) FastWriteNocopy ¶
func (p *UserServiceGetUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetUserArgs) Field1DeepEqual ¶
func (p *UserServiceGetUserArgs) Field1DeepEqual(src *GetUserRequest) bool
func (*UserServiceGetUserArgs) GetFirstArgument ¶
func (p *UserServiceGetUserArgs) GetFirstArgument() interface{}
func (*UserServiceGetUserArgs) GetReq ¶
func (p *UserServiceGetUserArgs) GetReq() (v *GetUserRequest)
func (*UserServiceGetUserArgs) InitDefault ¶
func (p *UserServiceGetUserArgs) InitDefault()
func (*UserServiceGetUserArgs) IsSetReq ¶
func (p *UserServiceGetUserArgs) IsSetReq() bool
func (*UserServiceGetUserArgs) Read ¶
func (p *UserServiceGetUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetUserArgs) ReadField1 ¶
func (p *UserServiceGetUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceGetUserArgs) SetReq ¶
func (p *UserServiceGetUserArgs) SetReq(val *GetUserRequest)
func (*UserServiceGetUserArgs) String ¶
func (p *UserServiceGetUserArgs) String() string
type UserServiceGetUserResult ¶
type UserServiceGetUserResult struct {
Success *GetUserInfoResponse `thrift:"success,0,optional" frugal:"0,optional,GetUserInfoResponse" json:"success,omitempty"`
}
func NewUserServiceGetUserResult ¶
func NewUserServiceGetUserResult() *UserServiceGetUserResult
func (*UserServiceGetUserResult) BLength ¶
func (p *UserServiceGetUserResult) BLength() int
func (*UserServiceGetUserResult) DeepEqual ¶
func (p *UserServiceGetUserResult) DeepEqual(ano *UserServiceGetUserResult) bool
func (*UserServiceGetUserResult) FastRead ¶
func (p *UserServiceGetUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceGetUserResult) FastReadField0 ¶
func (p *UserServiceGetUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceGetUserResult) FastWrite ¶
func (p *UserServiceGetUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceGetUserResult) FastWriteNocopy ¶
func (p *UserServiceGetUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceGetUserResult) Field0DeepEqual ¶
func (p *UserServiceGetUserResult) Field0DeepEqual(src *GetUserInfoResponse) bool
func (*UserServiceGetUserResult) GetResult ¶
func (p *UserServiceGetUserResult) GetResult() interface{}
func (*UserServiceGetUserResult) GetSuccess ¶
func (p *UserServiceGetUserResult) GetSuccess() (v *GetUserInfoResponse)
func (*UserServiceGetUserResult) InitDefault ¶
func (p *UserServiceGetUserResult) InitDefault()
func (*UserServiceGetUserResult) IsSetSuccess ¶
func (p *UserServiceGetUserResult) IsSetSuccess() bool
func (*UserServiceGetUserResult) Read ¶
func (p *UserServiceGetUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetUserResult) ReadField0 ¶
func (p *UserServiceGetUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceGetUserResult) SetSuccess ¶
func (p *UserServiceGetUserResult) SetSuccess(x interface{})
func (*UserServiceGetUserResult) String ¶
func (p *UserServiceGetUserResult) String() string
type UserServiceLoginArgs ¶
type UserServiceLoginArgs struct {
Req *LoginRequest `thrift:"req,1" frugal:"1,default,LoginRequest" json:"req"`
}
func NewUserServiceLoginArgs ¶
func NewUserServiceLoginArgs() *UserServiceLoginArgs
func (*UserServiceLoginArgs) BLength ¶
func (p *UserServiceLoginArgs) BLength() int
func (*UserServiceLoginArgs) DeepEqual ¶
func (p *UserServiceLoginArgs) DeepEqual(ano *UserServiceLoginArgs) bool
func (*UserServiceLoginArgs) FastRead ¶
func (p *UserServiceLoginArgs) FastRead(buf []byte) (int, error)
func (*UserServiceLoginArgs) FastReadField1 ¶
func (p *UserServiceLoginArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceLoginArgs) FastWrite ¶
func (p *UserServiceLoginArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceLoginArgs) FastWriteNocopy ¶
func (p *UserServiceLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceLoginArgs) Field1DeepEqual ¶
func (p *UserServiceLoginArgs) Field1DeepEqual(src *LoginRequest) bool
func (*UserServiceLoginArgs) GetFirstArgument ¶
func (p *UserServiceLoginArgs) GetFirstArgument() interface{}
func (*UserServiceLoginArgs) GetReq ¶
func (p *UserServiceLoginArgs) GetReq() (v *LoginRequest)
func (*UserServiceLoginArgs) InitDefault ¶
func (p *UserServiceLoginArgs) InitDefault()
func (*UserServiceLoginArgs) IsSetReq ¶
func (p *UserServiceLoginArgs) IsSetReq() bool
func (*UserServiceLoginArgs) Read ¶
func (p *UserServiceLoginArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceLoginArgs) ReadField1 ¶
func (p *UserServiceLoginArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceLoginArgs) SetReq ¶
func (p *UserServiceLoginArgs) SetReq(val *LoginRequest)
func (*UserServiceLoginArgs) String ¶
func (p *UserServiceLoginArgs) String() string
type UserServiceLoginResult ¶
type UserServiceLoginResult struct {
Success *LoginResponse `thrift:"success,0,optional" frugal:"0,optional,LoginResponse" json:"success,omitempty"`
}
func NewUserServiceLoginResult ¶
func NewUserServiceLoginResult() *UserServiceLoginResult
func (*UserServiceLoginResult) BLength ¶
func (p *UserServiceLoginResult) BLength() int
func (*UserServiceLoginResult) DeepEqual ¶
func (p *UserServiceLoginResult) DeepEqual(ano *UserServiceLoginResult) bool
func (*UserServiceLoginResult) FastRead ¶
func (p *UserServiceLoginResult) FastRead(buf []byte) (int, error)
func (*UserServiceLoginResult) FastReadField0 ¶
func (p *UserServiceLoginResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceLoginResult) FastWrite ¶
func (p *UserServiceLoginResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceLoginResult) FastWriteNocopy ¶
func (p *UserServiceLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceLoginResult) Field0DeepEqual ¶
func (p *UserServiceLoginResult) Field0DeepEqual(src *LoginResponse) bool
func (*UserServiceLoginResult) GetResult ¶
func (p *UserServiceLoginResult) GetResult() interface{}
func (*UserServiceLoginResult) GetSuccess ¶
func (p *UserServiceLoginResult) GetSuccess() (v *LoginResponse)
func (*UserServiceLoginResult) InitDefault ¶
func (p *UserServiceLoginResult) InitDefault()
func (*UserServiceLoginResult) IsSetSuccess ¶
func (p *UserServiceLoginResult) IsSetSuccess() bool
func (*UserServiceLoginResult) Read ¶
func (p *UserServiceLoginResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceLoginResult) ReadField0 ¶
func (p *UserServiceLoginResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceLoginResult) SetSuccess ¶
func (p *UserServiceLoginResult) SetSuccess(x interface{})
func (*UserServiceLoginResult) String ¶
func (p *UserServiceLoginResult) 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 UserServiceUpdateUserArgs ¶
type UserServiceUpdateUserArgs struct {
Req *UpdateUserRequest `thrift:"req,1" frugal:"1,default,UpdateUserRequest" json:"req"`
}
func NewUserServiceUpdateUserArgs ¶
func NewUserServiceUpdateUserArgs() *UserServiceUpdateUserArgs
func (*UserServiceUpdateUserArgs) BLength ¶
func (p *UserServiceUpdateUserArgs) BLength() int
func (*UserServiceUpdateUserArgs) DeepEqual ¶
func (p *UserServiceUpdateUserArgs) DeepEqual(ano *UserServiceUpdateUserArgs) bool
func (*UserServiceUpdateUserArgs) FastRead ¶
func (p *UserServiceUpdateUserArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUpdateUserArgs) FastReadField1 ¶
func (p *UserServiceUpdateUserArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUpdateUserArgs) FastWrite ¶
func (p *UserServiceUpdateUserArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUpdateUserArgs) FastWriteNocopy ¶
func (p *UserServiceUpdateUserArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUpdateUserArgs) Field1DeepEqual ¶
func (p *UserServiceUpdateUserArgs) Field1DeepEqual(src *UpdateUserRequest) bool
func (*UserServiceUpdateUserArgs) GetFirstArgument ¶
func (p *UserServiceUpdateUserArgs) GetFirstArgument() interface{}
func (*UserServiceUpdateUserArgs) GetReq ¶
func (p *UserServiceUpdateUserArgs) GetReq() (v *UpdateUserRequest)
func (*UserServiceUpdateUserArgs) InitDefault ¶
func (p *UserServiceUpdateUserArgs) InitDefault()
func (*UserServiceUpdateUserArgs) IsSetReq ¶
func (p *UserServiceUpdateUserArgs) IsSetReq() bool
func (*UserServiceUpdateUserArgs) Read ¶
func (p *UserServiceUpdateUserArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUpdateUserArgs) ReadField1 ¶
func (p *UserServiceUpdateUserArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUpdateUserArgs) SetReq ¶
func (p *UserServiceUpdateUserArgs) SetReq(val *UpdateUserRequest)
func (*UserServiceUpdateUserArgs) String ¶
func (p *UserServiceUpdateUserArgs) String() string
type UserServiceUpdateUserResult ¶
type UserServiceUpdateUserResult struct {
Success *UpdateUserResponse `thrift:"success,0,optional" frugal:"0,optional,UpdateUserResponse" json:"success,omitempty"`
}
func NewUserServiceUpdateUserResult ¶
func NewUserServiceUpdateUserResult() *UserServiceUpdateUserResult
func (*UserServiceUpdateUserResult) BLength ¶
func (p *UserServiceUpdateUserResult) BLength() int
func (*UserServiceUpdateUserResult) DeepEqual ¶
func (p *UserServiceUpdateUserResult) DeepEqual(ano *UserServiceUpdateUserResult) bool
func (*UserServiceUpdateUserResult) FastRead ¶
func (p *UserServiceUpdateUserResult) FastRead(buf []byte) (int, error)
func (*UserServiceUpdateUserResult) FastReadField0 ¶
func (p *UserServiceUpdateUserResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUpdateUserResult) FastWrite ¶
func (p *UserServiceUpdateUserResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUpdateUserResult) FastWriteNocopy ¶
func (p *UserServiceUpdateUserResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUpdateUserResult) Field0DeepEqual ¶
func (p *UserServiceUpdateUserResult) Field0DeepEqual(src *UpdateUserResponse) bool
func (*UserServiceUpdateUserResult) GetResult ¶
func (p *UserServiceUpdateUserResult) GetResult() interface{}
func (*UserServiceUpdateUserResult) GetSuccess ¶
func (p *UserServiceUpdateUserResult) GetSuccess() (v *UpdateUserResponse)
func (*UserServiceUpdateUserResult) InitDefault ¶
func (p *UserServiceUpdateUserResult) InitDefault()
func (*UserServiceUpdateUserResult) IsSetSuccess ¶
func (p *UserServiceUpdateUserResult) IsSetSuccess() bool
func (*UserServiceUpdateUserResult) Read ¶
func (p *UserServiceUpdateUserResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUpdateUserResult) ReadField0 ¶
func (p *UserServiceUpdateUserResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUpdateUserResult) SetSuccess ¶
func (p *UserServiceUpdateUserResult) SetSuccess(x interface{})
func (*UserServiceUpdateUserResult) String ¶
func (p *UserServiceUpdateUserResult) String() string
type UserServiceUploadAvatarArgs ¶
type UserServiceUploadAvatarArgs struct {
Req *UploadAvatarRequset `thrift:"req,1" frugal:"1,default,UploadAvatarRequset" json:"req"`
}
func NewUserServiceUploadAvatarArgs ¶
func NewUserServiceUploadAvatarArgs() *UserServiceUploadAvatarArgs
func (*UserServiceUploadAvatarArgs) BLength ¶
func (p *UserServiceUploadAvatarArgs) BLength() int
func (*UserServiceUploadAvatarArgs) DeepEqual ¶
func (p *UserServiceUploadAvatarArgs) DeepEqual(ano *UserServiceUploadAvatarArgs) bool
func (*UserServiceUploadAvatarArgs) FastRead ¶
func (p *UserServiceUploadAvatarArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUploadAvatarArgs) FastReadField1 ¶
func (p *UserServiceUploadAvatarArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUploadAvatarArgs) FastWrite ¶
func (p *UserServiceUploadAvatarArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUploadAvatarArgs) FastWriteNocopy ¶
func (p *UserServiceUploadAvatarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUploadAvatarArgs) Field1DeepEqual ¶
func (p *UserServiceUploadAvatarArgs) Field1DeepEqual(src *UploadAvatarRequset) bool
func (*UserServiceUploadAvatarArgs) GetFirstArgument ¶
func (p *UserServiceUploadAvatarArgs) GetFirstArgument() interface{}
func (*UserServiceUploadAvatarArgs) GetReq ¶
func (p *UserServiceUploadAvatarArgs) GetReq() (v *UploadAvatarRequset)
func (*UserServiceUploadAvatarArgs) InitDefault ¶
func (p *UserServiceUploadAvatarArgs) InitDefault()
func (*UserServiceUploadAvatarArgs) IsSetReq ¶
func (p *UserServiceUploadAvatarArgs) IsSetReq() bool
func (*UserServiceUploadAvatarArgs) Read ¶
func (p *UserServiceUploadAvatarArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUploadAvatarArgs) ReadField1 ¶
func (p *UserServiceUploadAvatarArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUploadAvatarArgs) SetReq ¶
func (p *UserServiceUploadAvatarArgs) SetReq(val *UploadAvatarRequset)
func (*UserServiceUploadAvatarArgs) String ¶
func (p *UserServiceUploadAvatarArgs) String() string
type UserServiceUploadAvatarResult ¶
type UserServiceUploadAvatarResult struct {
Success *UploadAvatarResponse `thrift:"success,0,optional" frugal:"0,optional,UploadAvatarResponse" json:"success,omitempty"`
}
func NewUserServiceUploadAvatarResult ¶
func NewUserServiceUploadAvatarResult() *UserServiceUploadAvatarResult
func (*UserServiceUploadAvatarResult) BLength ¶
func (p *UserServiceUploadAvatarResult) BLength() int
func (*UserServiceUploadAvatarResult) DeepEqual ¶
func (p *UserServiceUploadAvatarResult) DeepEqual(ano *UserServiceUploadAvatarResult) bool
func (*UserServiceUploadAvatarResult) FastRead ¶
func (p *UserServiceUploadAvatarResult) FastRead(buf []byte) (int, error)
func (*UserServiceUploadAvatarResult) FastReadField0 ¶
func (p *UserServiceUploadAvatarResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUploadAvatarResult) FastWrite ¶
func (p *UserServiceUploadAvatarResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUploadAvatarResult) FastWriteNocopy ¶
func (p *UserServiceUploadAvatarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUploadAvatarResult) Field0DeepEqual ¶
func (p *UserServiceUploadAvatarResult) Field0DeepEqual(src *UploadAvatarResponse) bool
func (*UserServiceUploadAvatarResult) GetResult ¶
func (p *UserServiceUploadAvatarResult) GetResult() interface{}
func (*UserServiceUploadAvatarResult) GetSuccess ¶
func (p *UserServiceUploadAvatarResult) GetSuccess() (v *UploadAvatarResponse)
func (*UserServiceUploadAvatarResult) InitDefault ¶
func (p *UserServiceUploadAvatarResult) InitDefault()
func (*UserServiceUploadAvatarResult) IsSetSuccess ¶
func (p *UserServiceUploadAvatarResult) IsSetSuccess() bool
func (*UserServiceUploadAvatarResult) Read ¶
func (p *UserServiceUploadAvatarResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUploadAvatarResult) ReadField0 ¶
func (p *UserServiceUploadAvatarResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUploadAvatarResult) SetSuccess ¶
func (p *UserServiceUploadAvatarResult) SetSuccess(x interface{})
func (*UserServiceUploadAvatarResult) String ¶
func (p *UserServiceUploadAvatarResult) String() string