user

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddUserResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var AdminLoginResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var ChangeAdminPasswordResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var DeleteUserResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetAllUsersResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetSomeUsersResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetUserInfoResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetUserInfoResponse_UserInfo_DEFAULT *base.UserInfo
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var LoginResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var PayResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var UpdateUserResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var UploadAvatarResponse_BaseResp_DEFAULT *base.BaseResponse

Functions

This section is empty.

Types

type AddUserRequest

type AddUserRequest struct {
	AccountId    string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"`
	Username     string `thrift:"username,2" frugal:"2,default,string" json:"username"`
	PhoneNumber  string `thrift:"phone_number,3" frugal:"3,default,string" json:"phone_number"`
	AvatarBlobId string `thrift:"avatar_blob_id,4" frugal:"4,default,string" 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) FastRead

func (p *AddUserRequest) FastRead(buf []byte) (int, error)

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 string) bool

func (*AddUserRequest) Field2DeepEqual

func (p *AddUserRequest) Field2DeepEqual(src string) bool

func (*AddUserRequest) Field3DeepEqual

func (p *AddUserRequest) Field3DeepEqual(src string) bool

func (*AddUserRequest) Field4DeepEqual

func (p *AddUserRequest) Field4DeepEqual(src string) bool

func (*AddUserRequest) Field5DeepEqual

func (p *AddUserRequest) Field5DeepEqual(src string) bool

func (*AddUserRequest) GetAccountId

func (p *AddUserRequest) GetAccountId() (v string)

func (*AddUserRequest) GetAvatarBlobId

func (p *AddUserRequest) GetAvatarBlobId() (v string)

func (*AddUserRequest) GetOpenId

func (p *AddUserRequest) GetOpenId() (v string)

func (*AddUserRequest) GetPhoneNumber

func (p *AddUserRequest) GetPhoneNumber() (v string)

func (*AddUserRequest) GetUsername

func (p *AddUserRequest) GetUsername() (v string)

func (*AddUserRequest) InitDefault

func (p *AddUserRequest) InitDefault()

func (*AddUserRequest) Read

func (p *AddUserRequest) Read(iprot thrift.TProtocol) (err error)

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 string)

func (*AddUserRequest) SetAvatarBlobId

func (p *AddUserRequest) SetAvatarBlobId(val string)

func (*AddUserRequest) SetOpenId

func (p *AddUserRequest) SetOpenId(val string)

func (*AddUserRequest) SetPhoneNumber

func (p *AddUserRequest) SetPhoneNumber(val string)

func (*AddUserRequest) SetUsername

func (p *AddUserRequest) SetUsername(val string)

func (*AddUserRequest) String

func (p *AddUserRequest) String() string

func (*AddUserRequest) Write

func (p *AddUserRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *AddUserResponse) FastRead(buf []byte) (int, error)

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) Read

func (p *AddUserResponse) Read(iprot thrift.TProtocol) (err error)

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

func (*AddUserResponse) Write

func (p *AddUserResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *AdminLoginRequest) FastRead(buf []byte) (int, error)

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

func (*AdminLoginRequest) Write

func (p *AdminLoginRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*AdminLoginResponse) Write

func (p *AdminLoginResponse) Write(oprot thrift.TProtocol) (err error)

type ChangeAdminPasswordRequest

type ChangeAdminPasswordRequest struct {
	AccountId    string `thrift:"account_id,1" frugal:"1,default,string" 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 (*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 string) 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 string)

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 string)

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

func (*ChangeAdminPasswordRequest) Write

func (p *ChangeAdminPasswordRequest) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ChangeAdminPasswordResponse) Write

func (p *ChangeAdminPasswordResponse) Write(oprot thrift.TProtocol) (err error)

type DeleteUserRequest

type DeleteUserRequest struct {
	AccountId string `thrift:"account_id,1" frugal:"1,default,string" 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) FastRead

func (p *DeleteUserRequest) FastRead(buf []byte) (int, error)

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 string) bool

func (*DeleteUserRequest) GetAccountId

func (p *DeleteUserRequest) GetAccountId() (v string)

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 string)

func (*DeleteUserRequest) String

func (p *DeleteUserRequest) String() string

func (*DeleteUserRequest) Write

func (p *DeleteUserRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*DeleteUserResponse) Write

func (p *DeleteUserResponse) Write(oprot thrift.TProtocol) (err error)

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

func (*GetAllUsersRequest) Write

func (p *GetAllUsersRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*GetAllUsersResponse) Write

func (p *GetAllUsersResponse) Write(oprot thrift.TProtocol) (err error)

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

func (*GetSomeUsersRequest) Write

func (p *GetSomeUsersRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*GetSomeUsersResponse) Write

func (p *GetSomeUsersResponse) Write(oprot thrift.TProtocol) (err error)

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

func (*GetUserInfoResponse) Write

func (p *GetUserInfoResponse) Write(oprot thrift.TProtocol) (err error)

type GetUserRequest

type GetUserRequest struct {
	AccontId string `thrift:"accont_id,1" frugal:"1,default,string" 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) FastRead

func (p *GetUserRequest) FastRead(buf []byte) (int, error)

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 string) bool

func (*GetUserRequest) GetAccontId

func (p *GetUserRequest) GetAccontId() (v string)

func (*GetUserRequest) InitDefault

func (p *GetUserRequest) InitDefault()

func (*GetUserRequest) Read

func (p *GetUserRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetUserRequest) ReadField1

func (p *GetUserRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetUserRequest) SetAccontId

func (p *GetUserRequest) SetAccontId(val string)

func (*GetUserRequest) String

func (p *GetUserRequest) String() string

func (*GetUserRequest) Write

func (p *GetUserRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *LoginRequest) FastRead(buf []byte) (int, error)

func (*LoginRequest) FastReadField1

func (p *LoginRequest) FastReadField1(buf []byte) (int, error)

func (*LoginRequest) FastWrite

func (p *LoginRequest) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *LoginRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*LoginRequest) Write

func (p *LoginRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *LoginResponse) FastRead(buf []byte) (int, error)

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) Read

func (p *LoginResponse) Read(iprot thrift.TProtocol) (err error)

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

func (*LoginResponse) Write

func (p *LoginResponse) Write(oprot thrift.TProtocol) (err error)

type PayRequest added in v0.2.1

type PayRequest struct {
	AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"`
	FeeCent   int32  `thrift:"fee_cent,2" frugal:"2,default,i32" json:"fee_cent"`
}
var UserServicePayArgs_Req_DEFAULT *PayRequest

func NewPayRequest added in v0.2.1

func NewPayRequest() *PayRequest

func (*PayRequest) BLength added in v0.2.1

func (p *PayRequest) BLength() int

func (*PayRequest) DeepEqual added in v0.2.1

func (p *PayRequest) DeepEqual(ano *PayRequest) bool

func (*PayRequest) FastRead added in v0.2.1

func (p *PayRequest) FastRead(buf []byte) (int, error)

func (*PayRequest) FastReadField1 added in v0.2.1

func (p *PayRequest) FastReadField1(buf []byte) (int, error)

func (*PayRequest) FastReadField2 added in v0.2.1

func (p *PayRequest) FastReadField2(buf []byte) (int, error)

func (*PayRequest) FastWrite added in v0.2.1

func (p *PayRequest) FastWrite(buf []byte) int

for compatibility

func (*PayRequest) FastWriteNocopy added in v0.2.1

func (p *PayRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PayRequest) Field1DeepEqual added in v0.2.1

func (p *PayRequest) Field1DeepEqual(src string) bool

func (*PayRequest) Field2DeepEqual added in v0.2.1

func (p *PayRequest) Field2DeepEqual(src int32) bool

func (*PayRequest) GetAccountId added in v0.2.1

func (p *PayRequest) GetAccountId() (v string)

func (*PayRequest) GetFeeCent added in v0.2.1

func (p *PayRequest) GetFeeCent() (v int32)

func (*PayRequest) InitDefault added in v0.2.1

func (p *PayRequest) InitDefault()

func (*PayRequest) Read added in v0.2.1

func (p *PayRequest) Read(iprot thrift.TProtocol) (err error)

func (*PayRequest) ReadField1 added in v0.2.1

func (p *PayRequest) ReadField1(iprot thrift.TProtocol) error

func (*PayRequest) ReadField2 added in v0.2.1

func (p *PayRequest) ReadField2(iprot thrift.TProtocol) error

func (*PayRequest) SetAccountId added in v0.2.1

func (p *PayRequest) SetAccountId(val string)

func (*PayRequest) SetFeeCent added in v0.2.1

func (p *PayRequest) SetFeeCent(val int32)

func (*PayRequest) String added in v0.2.1

func (p *PayRequest) String() string

func (*PayRequest) Write added in v0.2.1

func (p *PayRequest) Write(oprot thrift.TProtocol) (err error)

type PayResponse added in v0.2.1

type PayResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var UserServicePayResult_Success_DEFAULT *PayResponse

func NewPayResponse added in v0.2.1

func NewPayResponse() *PayResponse

func (*PayResponse) BLength added in v0.2.1

func (p *PayResponse) BLength() int

func (*PayResponse) DeepEqual added in v0.2.1

func (p *PayResponse) DeepEqual(ano *PayResponse) bool

func (*PayResponse) FastRead added in v0.2.1

func (p *PayResponse) FastRead(buf []byte) (int, error)

func (*PayResponse) FastReadField1 added in v0.2.1

func (p *PayResponse) FastReadField1(buf []byte) (int, error)

func (*PayResponse) FastWrite added in v0.2.1

func (p *PayResponse) FastWrite(buf []byte) int

for compatibility

func (*PayResponse) FastWriteNocopy added in v0.2.1

func (p *PayResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PayResponse) Field1DeepEqual added in v0.2.1

func (p *PayResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*PayResponse) GetBaseResp added in v0.2.1

func (p *PayResponse) GetBaseResp() (v *base.BaseResponse)

func (*PayResponse) InitDefault added in v0.2.1

func (p *PayResponse) InitDefault()

func (*PayResponse) IsSetBaseResp added in v0.2.1

func (p *PayResponse) IsSetBaseResp() bool

func (*PayResponse) Read added in v0.2.1

func (p *PayResponse) Read(iprot thrift.TProtocol) (err error)

func (*PayResponse) ReadField1 added in v0.2.1

func (p *PayResponse) ReadField1(iprot thrift.TProtocol) error

func (*PayResponse) SetBaseResp added in v0.2.1

func (p *PayResponse) SetBaseResp(val *base.BaseResponse)

func (*PayResponse) String added in v0.2.1

func (p *PayResponse) String() string

func (*PayResponse) Write added in v0.2.1

func (p *PayResponse) Write(oprot thrift.TProtocol) (err error)

type UpdateUserRequest

type UpdateUserRequest struct {
	AccountId   string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"`
	Username    string `thrift:"username,2" frugal:"2,default,string" json:"username"`
	PhoneNumber string `thrift:"phone_number,3" frugal:"3,default,string" 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) FastRead

func (p *UpdateUserRequest) FastRead(buf []byte) (int, error)

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 string) bool

func (*UpdateUserRequest) Field2DeepEqual

func (p *UpdateUserRequest) Field2DeepEqual(src string) bool

func (*UpdateUserRequest) Field3DeepEqual

func (p *UpdateUserRequest) Field3DeepEqual(src string) bool

func (*UpdateUserRequest) Field4DeepEqual

func (p *UpdateUserRequest) Field4DeepEqual(src string) bool

func (*UpdateUserRequest) GetAccountId

func (p *UpdateUserRequest) GetAccountId() (v string)

func (*UpdateUserRequest) GetAvatarUrl

func (p *UpdateUserRequest) GetAvatarUrl() (v string)

func (*UpdateUserRequest) GetPhoneNumber

func (p *UpdateUserRequest) GetPhoneNumber() (v string)

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 string)

func (*UpdateUserRequest) SetAvatarUrl

func (p *UpdateUserRequest) SetAvatarUrl(val string)

func (*UpdateUserRequest) SetPhoneNumber

func (p *UpdateUserRequest) SetPhoneNumber(val string)

func (*UpdateUserRequest) SetUsername

func (p *UpdateUserRequest) SetUsername(val string)

func (*UpdateUserRequest) String

func (p *UpdateUserRequest) String() string

func (*UpdateUserRequest) Write

func (p *UpdateUserRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*UpdateUserResponse) Write

func (p *UpdateUserResponse) Write(oprot thrift.TProtocol) (err error)

type UploadAvatarRequset

type UploadAvatarRequset struct {
	AccountId string `thrift:"account_id,1" frugal:"1,default,string" 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 string) bool

func (*UploadAvatarRequset) GetAccountId

func (p *UploadAvatarRequset) GetAccountId() (v string)

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 string)

func (*UploadAvatarRequset) String

func (p *UploadAvatarRequset) String() string

func (*UploadAvatarRequset) Write

func (p *UploadAvatarRequset) Write(oprot thrift.TProtocol) (err error)

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

func (*UploadAvatarResponse) Write

func (p *UploadAvatarResponse) Write(oprot thrift.TProtocol) (err error)

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)

	Pay(ctx context.Context, req *PayRequest) (r *PayResponse, 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 (*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

func (*UserServiceAddUserArgs) Write

func (p *UserServiceAddUserArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceAddUserResult) Write

func (p *UserServiceAddUserResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceAdminLoginArgs) String

func (p *UserServiceAdminLoginArgs) String() string

func (*UserServiceAdminLoginArgs) Write

func (p *UserServiceAdminLoginArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceAdminLoginResult) Write

func (p *UserServiceAdminLoginResult) Write(oprot thrift.TProtocol) (err error)

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 (*UserServiceChangeAdminPasswordArgs) DeepEqual

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 (*UserServiceChangeAdminPasswordArgs) GetFirstArgument

func (p *UserServiceChangeAdminPasswordArgs) GetFirstArgument() interface{}

func (*UserServiceChangeAdminPasswordArgs) GetReq

func (*UserServiceChangeAdminPasswordArgs) InitDefault

func (p *UserServiceChangeAdminPasswordArgs) InitDefault()

func (*UserServiceChangeAdminPasswordArgs) IsSetReq

func (*UserServiceChangeAdminPasswordArgs) Read

func (*UserServiceChangeAdminPasswordArgs) ReadField1

func (*UserServiceChangeAdminPasswordArgs) SetReq

func (*UserServiceChangeAdminPasswordArgs) String

func (*UserServiceChangeAdminPasswordArgs) Write

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 (*UserServiceChangeAdminPasswordResult) DeepEqual

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 (*UserServiceChangeAdminPasswordResult) GetResult

func (p *UserServiceChangeAdminPasswordResult) GetResult() interface{}

func (*UserServiceChangeAdminPasswordResult) GetSuccess

func (*UserServiceChangeAdminPasswordResult) InitDefault

func (p *UserServiceChangeAdminPasswordResult) InitDefault()

func (*UserServiceChangeAdminPasswordResult) IsSetSuccess

func (p *UserServiceChangeAdminPasswordResult) IsSetSuccess() bool

func (*UserServiceChangeAdminPasswordResult) Read

func (*UserServiceChangeAdminPasswordResult) ReadField0

func (*UserServiceChangeAdminPasswordResult) SetSuccess

func (p *UserServiceChangeAdminPasswordResult) SetSuccess(x interface{})

func (*UserServiceChangeAdminPasswordResult) String

func (*UserServiceChangeAdminPasswordResult) Write

type UserServiceClient

type UserServiceClient struct {
	// contains filtered or unexported fields
}

func NewUserServiceClient

func NewUserServiceClient(c thrift.TClient) *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 (*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) Pay added in v0.2.1

func (p *UserServiceClient) Pay(ctx context.Context, req *PayRequest) (r *PayResponse, 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 (*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 (*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 (*UserServiceDeleteUserArgs) String

func (p *UserServiceDeleteUserArgs) String() string

func (*UserServiceDeleteUserArgs) Write

func (p *UserServiceDeleteUserArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceDeleteUserResult) Write

func (p *UserServiceDeleteUserResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceGetAllUsersArgs) String

func (p *UserServiceGetAllUsersArgs) String() string

func (*UserServiceGetAllUsersArgs) Write

func (p *UserServiceGetAllUsersArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceGetAllUsersResult) Write

func (p *UserServiceGetAllUsersResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceGetSomeUsersArgs) String

func (p *UserServiceGetSomeUsersArgs) String() string

func (*UserServiceGetSomeUsersArgs) Write

func (p *UserServiceGetSomeUsersArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceGetSomeUsersResult) Write

func (p *UserServiceGetSomeUsersResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceGetUserArgs) Write

func (p *UserServiceGetUserArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceGetUserResult) Write

func (p *UserServiceGetUserResult) Write(oprot thrift.TProtocol) (err error)

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

func (*UserServiceLoginArgs) Write

func (p *UserServiceLoginArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceLoginResult) Write

func (p *UserServiceLoginResult) Write(oprot thrift.TProtocol) (err error)

type UserServicePayArgs added in v0.2.1

type UserServicePayArgs struct {
	Req *PayRequest `thrift:"req,1" frugal:"1,default,PayRequest" json:"req"`
}

func NewUserServicePayArgs added in v0.2.1

func NewUserServicePayArgs() *UserServicePayArgs

func (*UserServicePayArgs) BLength added in v0.2.1

func (p *UserServicePayArgs) BLength() int

func (*UserServicePayArgs) DeepEqual added in v0.2.1

func (p *UserServicePayArgs) DeepEqual(ano *UserServicePayArgs) bool

func (*UserServicePayArgs) FastRead added in v0.2.1

func (p *UserServicePayArgs) FastRead(buf []byte) (int, error)

func (*UserServicePayArgs) FastReadField1 added in v0.2.1

func (p *UserServicePayArgs) FastReadField1(buf []byte) (int, error)

func (*UserServicePayArgs) FastWrite added in v0.2.1

func (p *UserServicePayArgs) FastWrite(buf []byte) int

for compatibility

func (*UserServicePayArgs) FastWriteNocopy added in v0.2.1

func (p *UserServicePayArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserServicePayArgs) Field1DeepEqual added in v0.2.1

func (p *UserServicePayArgs) Field1DeepEqual(src *PayRequest) bool

func (*UserServicePayArgs) GetFirstArgument added in v0.2.1

func (p *UserServicePayArgs) GetFirstArgument() interface{}

func (*UserServicePayArgs) GetReq added in v0.2.1

func (p *UserServicePayArgs) GetReq() (v *PayRequest)

func (*UserServicePayArgs) InitDefault added in v0.2.1

func (p *UserServicePayArgs) InitDefault()

func (*UserServicePayArgs) IsSetReq added in v0.2.1

func (p *UserServicePayArgs) IsSetReq() bool

func (*UserServicePayArgs) Read added in v0.2.1

func (p *UserServicePayArgs) Read(iprot thrift.TProtocol) (err error)

func (*UserServicePayArgs) ReadField1 added in v0.2.1

func (p *UserServicePayArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserServicePayArgs) SetReq added in v0.2.1

func (p *UserServicePayArgs) SetReq(val *PayRequest)

func (*UserServicePayArgs) String added in v0.2.1

func (p *UserServicePayArgs) String() string

func (*UserServicePayArgs) Write added in v0.2.1

func (p *UserServicePayArgs) Write(oprot thrift.TProtocol) (err error)

type UserServicePayResult added in v0.2.1

type UserServicePayResult struct {
	Success *PayResponse `thrift:"success,0,optional" frugal:"0,optional,PayResponse" json:"success,omitempty"`
}

func NewUserServicePayResult added in v0.2.1

func NewUserServicePayResult() *UserServicePayResult

func (*UserServicePayResult) BLength added in v0.2.1

func (p *UserServicePayResult) BLength() int

func (*UserServicePayResult) DeepEqual added in v0.2.1

func (p *UserServicePayResult) DeepEqual(ano *UserServicePayResult) bool

func (*UserServicePayResult) FastRead added in v0.2.1

func (p *UserServicePayResult) FastRead(buf []byte) (int, error)

func (*UserServicePayResult) FastReadField0 added in v0.2.1

func (p *UserServicePayResult) FastReadField0(buf []byte) (int, error)

func (*UserServicePayResult) FastWrite added in v0.2.1

func (p *UserServicePayResult) FastWrite(buf []byte) int

for compatibility

func (*UserServicePayResult) FastWriteNocopy added in v0.2.1

func (p *UserServicePayResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserServicePayResult) Field0DeepEqual added in v0.2.1

func (p *UserServicePayResult) Field0DeepEqual(src *PayResponse) bool

func (*UserServicePayResult) GetResult added in v0.2.1

func (p *UserServicePayResult) GetResult() interface{}

func (*UserServicePayResult) GetSuccess added in v0.2.1

func (p *UserServicePayResult) GetSuccess() (v *PayResponse)

func (*UserServicePayResult) InitDefault added in v0.2.1

func (p *UserServicePayResult) InitDefault()

func (*UserServicePayResult) IsSetSuccess added in v0.2.1

func (p *UserServicePayResult) IsSetSuccess() bool

func (*UserServicePayResult) Read added in v0.2.1

func (p *UserServicePayResult) Read(iprot thrift.TProtocol) (err error)

func (*UserServicePayResult) ReadField0 added in v0.2.1

func (p *UserServicePayResult) ReadField0(iprot thrift.TProtocol) error

func (*UserServicePayResult) SetSuccess added in v0.2.1

func (p *UserServicePayResult) SetSuccess(x interface{})

func (*UserServicePayResult) String added in v0.2.1

func (p *UserServicePayResult) String() string

func (*UserServicePayResult) Write added in v0.2.1

func (p *UserServicePayResult) Write(oprot thrift.TProtocol) (err error)

type UserServiceProcessor

type UserServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewUserServiceProcessor

func NewUserServiceProcessor(handler UserService) *UserServiceProcessor

func (*UserServiceProcessor) AddToProcessorMap

func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*UserServiceProcessor) GetProcessorFunction

func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*UserServiceProcessor) Process

func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*UserServiceProcessor) ProcessorMap

func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type 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 (*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 (*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 (*UserServiceUpdateUserArgs) String

func (p *UserServiceUpdateUserArgs) String() string

func (*UserServiceUpdateUserArgs) Write

func (p *UserServiceUpdateUserArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*UserServiceUpdateUserResult) Write

func (p *UserServiceUpdateUserResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceUploadAvatarArgs) String

func (p *UserServiceUploadAvatarArgs) String() string

func (*UserServiceUploadAvatarArgs) Write

func (p *UserServiceUploadAvatarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*UserServiceUploadAvatarResult) Write

func (p *UserServiceUploadAvatarResult) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.4.4.
Code generated by Kitex v0.4.4.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL