profile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

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

Functions

This section is empty.

Types

type ClearProfilePhotoRequest

type ClearProfilePhotoRequest struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var ProfileServiceClearProfilePhotoArgs_Req_DEFAULT *ClearProfilePhotoRequest

func NewClearProfilePhotoRequest

func NewClearProfilePhotoRequest() *ClearProfilePhotoRequest

func (*ClearProfilePhotoRequest) BLength

func (p *ClearProfilePhotoRequest) BLength() int

func (*ClearProfilePhotoRequest) DeepEqual

func (*ClearProfilePhotoRequest) FastRead

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

func (*ClearProfilePhotoRequest) FastReadField1

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

func (*ClearProfilePhotoRequest) FastWrite

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

for compatibility

func (*ClearProfilePhotoRequest) FastWriteNocopy

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

func (*ClearProfilePhotoRequest) Field1DeepEqual

func (p *ClearProfilePhotoRequest) Field1DeepEqual(src int64) bool

func (*ClearProfilePhotoRequest) GetAccountId

func (p *ClearProfilePhotoRequest) GetAccountId() (v int64)

func (*ClearProfilePhotoRequest) InitDefault

func (p *ClearProfilePhotoRequest) InitDefault()

func (*ClearProfilePhotoRequest) Read

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

func (*ClearProfilePhotoRequest) ReadField1

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

func (*ClearProfilePhotoRequest) SetAccountId

func (p *ClearProfilePhotoRequest) SetAccountId(val int64)

func (*ClearProfilePhotoRequest) String

func (p *ClearProfilePhotoRequest) String() string

func (*ClearProfilePhotoRequest) Write

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

type ClearProfilePhotoResponse

type ClearProfilePhotoResponse struct {
}
var ProfileServiceClearProfilePhotoResult_Success_DEFAULT *ClearProfilePhotoResponse

func NewClearProfilePhotoResponse

func NewClearProfilePhotoResponse() *ClearProfilePhotoResponse

func (*ClearProfilePhotoResponse) BLength

func (p *ClearProfilePhotoResponse) BLength() int

func (*ClearProfilePhotoResponse) DeepEqual

func (*ClearProfilePhotoResponse) FastRead

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

func (*ClearProfilePhotoResponse) FastWrite

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

for compatibility

func (*ClearProfilePhotoResponse) FastWriteNocopy

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

func (*ClearProfilePhotoResponse) InitDefault

func (p *ClearProfilePhotoResponse) InitDefault()

func (*ClearProfilePhotoResponse) Read

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

func (*ClearProfilePhotoResponse) String

func (p *ClearProfilePhotoResponse) String() string

func (*ClearProfilePhotoResponse) Write

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

type ClearProfileRequest

type ClearProfileRequest struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var ProfileServiceClearProfileArgs_Req_DEFAULT *ClearProfileRequest

func NewClearProfileRequest

func NewClearProfileRequest() *ClearProfileRequest

func (*ClearProfileRequest) BLength

func (p *ClearProfileRequest) BLength() int

func (*ClearProfileRequest) DeepEqual

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

func (*ClearProfileRequest) FastRead

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

func (*ClearProfileRequest) FastReadField1

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

func (*ClearProfileRequest) FastWrite

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

for compatibility

func (*ClearProfileRequest) FastWriteNocopy

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

func (*ClearProfileRequest) Field1DeepEqual

func (p *ClearProfileRequest) Field1DeepEqual(src int64) bool

func (*ClearProfileRequest) GetAccountId

func (p *ClearProfileRequest) GetAccountId() (v int64)

func (*ClearProfileRequest) InitDefault

func (p *ClearProfileRequest) InitDefault()

func (*ClearProfileRequest) Read

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

func (*ClearProfileRequest) ReadField1

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

func (*ClearProfileRequest) SetAccountId

func (p *ClearProfileRequest) SetAccountId(val int64)

func (*ClearProfileRequest) String

func (p *ClearProfileRequest) String() string

func (*ClearProfileRequest) Write

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

type CompleteProfilePhotoRequest

type CompleteProfilePhotoRequest struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var ProfileServiceCompleteProfilePhotoArgs_Req_DEFAULT *CompleteProfilePhotoRequest

func NewCompleteProfilePhotoRequest

func NewCompleteProfilePhotoRequest() *CompleteProfilePhotoRequest

func (*CompleteProfilePhotoRequest) BLength

func (p *CompleteProfilePhotoRequest) BLength() int

func (*CompleteProfilePhotoRequest) DeepEqual

func (*CompleteProfilePhotoRequest) FastRead

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

func (*CompleteProfilePhotoRequest) FastReadField1

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

func (*CompleteProfilePhotoRequest) FastWrite

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

for compatibility

func (*CompleteProfilePhotoRequest) FastWriteNocopy

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

func (*CompleteProfilePhotoRequest) Field1DeepEqual

func (p *CompleteProfilePhotoRequest) Field1DeepEqual(src int64) bool

func (*CompleteProfilePhotoRequest) GetAccountId

func (p *CompleteProfilePhotoRequest) GetAccountId() (v int64)

func (*CompleteProfilePhotoRequest) InitDefault

func (p *CompleteProfilePhotoRequest) InitDefault()

func (*CompleteProfilePhotoRequest) Read

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

func (*CompleteProfilePhotoRequest) ReadField1

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

func (*CompleteProfilePhotoRequest) SetAccountId

func (p *CompleteProfilePhotoRequest) SetAccountId(val int64)

func (*CompleteProfilePhotoRequest) String

func (p *CompleteProfilePhotoRequest) String() string

func (*CompleteProfilePhotoRequest) Write

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

type CreateProfilePhotoRequest

type CreateProfilePhotoRequest struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var ProfileServiceCreateProfilePhotoArgs_Req_DEFAULT *CreateProfilePhotoRequest

func NewCreateProfilePhotoRequest

func NewCreateProfilePhotoRequest() *CreateProfilePhotoRequest

func (*CreateProfilePhotoRequest) BLength

func (p *CreateProfilePhotoRequest) BLength() int

func (*CreateProfilePhotoRequest) DeepEqual

func (*CreateProfilePhotoRequest) FastRead

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

func (*CreateProfilePhotoRequest) FastReadField1

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

func (*CreateProfilePhotoRequest) FastWrite

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

for compatibility

func (*CreateProfilePhotoRequest) FastWriteNocopy

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

func (*CreateProfilePhotoRequest) Field1DeepEqual

func (p *CreateProfilePhotoRequest) Field1DeepEqual(src int64) bool

func (*CreateProfilePhotoRequest) GetAccountId

func (p *CreateProfilePhotoRequest) GetAccountId() (v int64)

func (*CreateProfilePhotoRequest) InitDefault

func (p *CreateProfilePhotoRequest) InitDefault()

func (*CreateProfilePhotoRequest) Read

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

func (*CreateProfilePhotoRequest) ReadField1

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

func (*CreateProfilePhotoRequest) SetAccountId

func (p *CreateProfilePhotoRequest) SetAccountId(val int64)

func (*CreateProfilePhotoRequest) String

func (p *CreateProfilePhotoRequest) String() string

func (*CreateProfilePhotoRequest) Write

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

type CreateProfilePhotoResponse

type CreateProfilePhotoResponse struct {
	UploadUrl string `thrift:"upload_url,1" frugal:"1,default,string" json:"upload_url"`
}
var ProfileServiceCreateProfilePhotoResult_Success_DEFAULT *CreateProfilePhotoResponse

func NewCreateProfilePhotoResponse

func NewCreateProfilePhotoResponse() *CreateProfilePhotoResponse

func (*CreateProfilePhotoResponse) BLength

func (p *CreateProfilePhotoResponse) BLength() int

func (*CreateProfilePhotoResponse) DeepEqual

func (*CreateProfilePhotoResponse) FastRead

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

func (*CreateProfilePhotoResponse) FastReadField1

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

func (*CreateProfilePhotoResponse) FastWrite

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

for compatibility

func (*CreateProfilePhotoResponse) FastWriteNocopy

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

func (*CreateProfilePhotoResponse) Field1DeepEqual

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

func (*CreateProfilePhotoResponse) GetUploadUrl

func (p *CreateProfilePhotoResponse) GetUploadUrl() (v string)

func (*CreateProfilePhotoResponse) InitDefault

func (p *CreateProfilePhotoResponse) InitDefault()

func (*CreateProfilePhotoResponse) Read

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

func (*CreateProfilePhotoResponse) ReadField1

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

func (*CreateProfilePhotoResponse) SetUploadUrl

func (p *CreateProfilePhotoResponse) SetUploadUrl(val string)

func (*CreateProfilePhotoResponse) String

func (p *CreateProfilePhotoResponse) String() string

func (*CreateProfilePhotoResponse) Write

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

type Gender

type Gender int64
const (
	Gender_G_NOT_SPECIFIED Gender = 0
	Gender_MALE            Gender = 1
	Gender_FEMALE          Gender = 2
)

func GenderFromString

func GenderFromString(s string) (Gender, error)

func GenderPtr

func GenderPtr(v Gender) *Gender

func (*Gender) Scan

func (p *Gender) Scan(value interface{}) (err error)

func (Gender) String

func (p Gender) String() string

func (*Gender) Value

func (p *Gender) Value() (driver.Value, error)

type GetProfilePhotoRequest

type GetProfilePhotoRequest struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var ProfileServiceGetProfilePhotoArgs_Req_DEFAULT *GetProfilePhotoRequest

func NewGetProfilePhotoRequest

func NewGetProfilePhotoRequest() *GetProfilePhotoRequest

func (*GetProfilePhotoRequest) BLength

func (p *GetProfilePhotoRequest) BLength() int

func (*GetProfilePhotoRequest) DeepEqual

func (*GetProfilePhotoRequest) FastRead

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

func (*GetProfilePhotoRequest) FastReadField1

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

func (*GetProfilePhotoRequest) FastWrite

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

for compatibility

func (*GetProfilePhotoRequest) FastWriteNocopy

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

func (*GetProfilePhotoRequest) Field1DeepEqual

func (p *GetProfilePhotoRequest) Field1DeepEqual(src int64) bool

func (*GetProfilePhotoRequest) GetAccountId

func (p *GetProfilePhotoRequest) GetAccountId() (v int64)

func (*GetProfilePhotoRequest) InitDefault

func (p *GetProfilePhotoRequest) InitDefault()

func (*GetProfilePhotoRequest) Read

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

func (*GetProfilePhotoRequest) ReadField1

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

func (*GetProfilePhotoRequest) SetAccountId

func (p *GetProfilePhotoRequest) SetAccountId(val int64)

func (*GetProfilePhotoRequest) String

func (p *GetProfilePhotoRequest) String() string

func (*GetProfilePhotoRequest) Write

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

type GetProfilePhotoResponse

type GetProfilePhotoResponse struct {
	Url string `thrift:"url,1" frugal:"1,default,string" json:"url"`
}
var ProfileServiceGetProfilePhotoResult_Success_DEFAULT *GetProfilePhotoResponse

func NewGetProfilePhotoResponse

func NewGetProfilePhotoResponse() *GetProfilePhotoResponse

func (*GetProfilePhotoResponse) BLength

func (p *GetProfilePhotoResponse) BLength() int

func (*GetProfilePhotoResponse) DeepEqual

func (*GetProfilePhotoResponse) FastRead

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

func (*GetProfilePhotoResponse) FastReadField1

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

func (*GetProfilePhotoResponse) FastWrite

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

for compatibility

func (*GetProfilePhotoResponse) FastWriteNocopy

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

func (*GetProfilePhotoResponse) Field1DeepEqual

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

func (*GetProfilePhotoResponse) GetUrl

func (p *GetProfilePhotoResponse) GetUrl() (v string)

func (*GetProfilePhotoResponse) InitDefault

func (p *GetProfilePhotoResponse) InitDefault()

func (*GetProfilePhotoResponse) Read

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

func (*GetProfilePhotoResponse) ReadField1

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

func (*GetProfilePhotoResponse) SetUrl

func (p *GetProfilePhotoResponse) SetUrl(val string)

func (*GetProfilePhotoResponse) String

func (p *GetProfilePhotoResponse) String() string

func (*GetProfilePhotoResponse) Write

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

type GetProfileRequest

type GetProfileRequest struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var ProfileServiceGetProfileArgs_Req_DEFAULT *GetProfileRequest

func NewGetProfileRequest

func NewGetProfileRequest() *GetProfileRequest

func (*GetProfileRequest) BLength

func (p *GetProfileRequest) BLength() int

func (*GetProfileRequest) DeepEqual

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

func (*GetProfileRequest) FastRead

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

func (*GetProfileRequest) FastReadField1

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

func (*GetProfileRequest) FastWrite

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

for compatibility

func (*GetProfileRequest) FastWriteNocopy

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

func (*GetProfileRequest) Field1DeepEqual

func (p *GetProfileRequest) Field1DeepEqual(src int64) bool

func (*GetProfileRequest) GetAccountId

func (p *GetProfileRequest) GetAccountId() (v int64)

func (*GetProfileRequest) InitDefault

func (p *GetProfileRequest) InitDefault()

func (*GetProfileRequest) Read

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

func (*GetProfileRequest) ReadField1

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

func (*GetProfileRequest) SetAccountId

func (p *GetProfileRequest) SetAccountId(val int64)

func (*GetProfileRequest) String

func (p *GetProfileRequest) String() string

func (*GetProfileRequest) Write

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

type Identity

type Identity struct {
	LicNumber       string `thrift:"lic_number,1" frugal:"1,default,string" json:"lic_number"`
	Name            string `thrift:"name,2" frugal:"2,default,string" json:"name"`
	Gender          Gender `thrift:"gender,3" frugal:"3,default,Gender" json:"gender"`
	BirthDateMillis int64  `thrift:"birth_date_millis,4" frugal:"4,default,i64" json:"birth_date_millis"`
}
var ProfileServiceCompleteProfilePhotoResult_Success_DEFAULT *Identity
var Profile_Identity_DEFAULT *Identity
var SubmitProfileRequest_Identity_DEFAULT *Identity

func NewIdentity

func NewIdentity() *Identity

func (*Identity) BLength

func (p *Identity) BLength() int

func (*Identity) DeepEqual

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

func (*Identity) FastRead

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

func (*Identity) FastReadField1

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

func (*Identity) FastReadField2

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

func (*Identity) FastReadField3

func (p *Identity) FastReadField3(buf []byte) (int, error)

func (*Identity) FastReadField4

func (p *Identity) FastReadField4(buf []byte) (int, error)

func (*Identity) FastWrite

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

for compatibility

func (*Identity) FastWriteNocopy

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

func (*Identity) Field1DeepEqual

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

func (*Identity) Field2DeepEqual

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

func (*Identity) Field3DeepEqual

func (p *Identity) Field3DeepEqual(src Gender) bool

func (*Identity) Field4DeepEqual

func (p *Identity) Field4DeepEqual(src int64) bool

func (*Identity) GetBirthDateMillis

func (p *Identity) GetBirthDateMillis() (v int64)

func (*Identity) GetGender

func (p *Identity) GetGender() (v Gender)

func (*Identity) GetLicNumber

func (p *Identity) GetLicNumber() (v string)

func (*Identity) GetName

func (p *Identity) GetName() (v string)

func (*Identity) InitDefault

func (p *Identity) InitDefault()

func (*Identity) Read

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

func (*Identity) ReadField1

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

func (*Identity) ReadField2

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

func (*Identity) ReadField3

func (p *Identity) ReadField3(iprot thrift.TProtocol) error

func (*Identity) ReadField4

func (p *Identity) ReadField4(iprot thrift.TProtocol) error

func (*Identity) SetBirthDateMillis

func (p *Identity) SetBirthDateMillis(val int64)

func (*Identity) SetGender

func (p *Identity) SetGender(val Gender)

func (*Identity) SetLicNumber

func (p *Identity) SetLicNumber(val string)

func (*Identity) SetName

func (p *Identity) SetName(val string)

func (*Identity) String

func (p *Identity) String() string

func (*Identity) Write

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

type IdentityStatus

type IdentityStatus int64
const (
	IdentityStatus_UNSUBMITTED IdentityStatus = 0
	IdentityStatus_PENDING     IdentityStatus = 1
	IdentityStatus_VERIFIED    IdentityStatus = 2
)

func IdentityStatusFromString

func IdentityStatusFromString(s string) (IdentityStatus, error)

func IdentityStatusPtr

func IdentityStatusPtr(v IdentityStatus) *IdentityStatus

func (*IdentityStatus) Scan

func (p *IdentityStatus) Scan(value interface{}) (err error)

func (IdentityStatus) String

func (p IdentityStatus) String() string

func (*IdentityStatus) Value

func (p *IdentityStatus) Value() (driver.Value, error)

type Profile

type Profile struct {
	Identity       *Identity      `thrift:"identity,1" frugal:"1,default,Identity" json:"identity"`
	IdentityStatus IdentityStatus `thrift:"identity_status,2" frugal:"2,default,IdentityStatus" json:"identity_status"`
}
var ProfileServiceClearProfileResult_Success_DEFAULT *Profile
var ProfileServiceGetProfileResult_Success_DEFAULT *Profile
var ProfileServiceSubmitProfileResult_Success_DEFAULT *Profile

func NewProfile

func NewProfile() *Profile

func (*Profile) BLength

func (p *Profile) BLength() int

func (*Profile) DeepEqual

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

func (*Profile) FastRead

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

func (*Profile) FastReadField1

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

func (*Profile) FastReadField2

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

func (*Profile) FastWrite

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

for compatibility

func (*Profile) FastWriteNocopy

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

func (*Profile) Field1DeepEqual

func (p *Profile) Field1DeepEqual(src *Identity) bool

func (*Profile) Field2DeepEqual

func (p *Profile) Field2DeepEqual(src IdentityStatus) bool

func (*Profile) GetIdentity

func (p *Profile) GetIdentity() (v *Identity)

func (*Profile) GetIdentityStatus

func (p *Profile) GetIdentityStatus() (v IdentityStatus)

func (*Profile) InitDefault

func (p *Profile) InitDefault()

func (*Profile) IsSetIdentity

func (p *Profile) IsSetIdentity() bool

func (*Profile) Read

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

func (*Profile) ReadField1

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

func (*Profile) ReadField2

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

func (*Profile) SetIdentity

func (p *Profile) SetIdentity(val *Identity)

func (*Profile) SetIdentityStatus

func (p *Profile) SetIdentityStatus(val IdentityStatus)

func (*Profile) String

func (p *Profile) String() string

func (*Profile) Write

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

type ProfileService

type ProfileService interface {
	GetProfile(ctx context.Context, req *GetProfileRequest) (r *Profile, err error)

	SubmitProfile(ctx context.Context, req *SubmitProfileRequest) (r *Profile, err error)

	ClearProfile(ctx context.Context, req *ClearProfileRequest) (r *Profile, err error)

	GetProfilePhoto(ctx context.Context, req *GetProfilePhotoRequest) (r *GetProfilePhotoResponse, err error)

	CreateProfilePhoto(ctx context.Context, req *CreateProfilePhotoRequest) (r *CreateProfilePhotoResponse, err error)

	CompleteProfilePhoto(ctx context.Context, req *CompleteProfilePhotoRequest) (r *Identity, err error)

	ClearProfilePhoto(ctx context.Context, req *ClearProfilePhotoRequest) (r *ClearProfilePhotoResponse, err error)
}

type ProfileServiceClearProfileArgs

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

func NewProfileServiceClearProfileArgs

func NewProfileServiceClearProfileArgs() *ProfileServiceClearProfileArgs

func (*ProfileServiceClearProfileArgs) BLength

func (p *ProfileServiceClearProfileArgs) BLength() int

func (*ProfileServiceClearProfileArgs) DeepEqual

func (*ProfileServiceClearProfileArgs) FastRead

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

func (*ProfileServiceClearProfileArgs) FastReadField1

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

func (*ProfileServiceClearProfileArgs) FastWrite

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

for compatibility

func (*ProfileServiceClearProfileArgs) FastWriteNocopy

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

func (*ProfileServiceClearProfileArgs) Field1DeepEqual

func (p *ProfileServiceClearProfileArgs) Field1DeepEqual(src *ClearProfileRequest) bool

func (*ProfileServiceClearProfileArgs) GetFirstArgument

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

func (*ProfileServiceClearProfileArgs) GetReq

func (*ProfileServiceClearProfileArgs) InitDefault

func (p *ProfileServiceClearProfileArgs) InitDefault()

func (*ProfileServiceClearProfileArgs) IsSetReq

func (p *ProfileServiceClearProfileArgs) IsSetReq() bool

func (*ProfileServiceClearProfileArgs) Read

func (*ProfileServiceClearProfileArgs) ReadField1

func (*ProfileServiceClearProfileArgs) SetReq

func (*ProfileServiceClearProfileArgs) String

func (*ProfileServiceClearProfileArgs) Write

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

type ProfileServiceClearProfilePhotoArgs

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

func NewProfileServiceClearProfilePhotoArgs

func NewProfileServiceClearProfilePhotoArgs() *ProfileServiceClearProfilePhotoArgs

func (*ProfileServiceClearProfilePhotoArgs) BLength

func (*ProfileServiceClearProfilePhotoArgs) DeepEqual

func (*ProfileServiceClearProfilePhotoArgs) FastRead

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

func (*ProfileServiceClearProfilePhotoArgs) FastReadField1

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

func (*ProfileServiceClearProfilePhotoArgs) FastWrite

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

for compatibility

func (*ProfileServiceClearProfilePhotoArgs) FastWriteNocopy

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

func (*ProfileServiceClearProfilePhotoArgs) Field1DeepEqual

func (*ProfileServiceClearProfilePhotoArgs) GetFirstArgument

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

func (*ProfileServiceClearProfilePhotoArgs) GetReq

func (*ProfileServiceClearProfilePhotoArgs) InitDefault

func (p *ProfileServiceClearProfilePhotoArgs) InitDefault()

func (*ProfileServiceClearProfilePhotoArgs) IsSetReq

func (*ProfileServiceClearProfilePhotoArgs) Read

func (*ProfileServiceClearProfilePhotoArgs) ReadField1

func (*ProfileServiceClearProfilePhotoArgs) SetReq

func (*ProfileServiceClearProfilePhotoArgs) String

func (*ProfileServiceClearProfilePhotoArgs) Write

type ProfileServiceClearProfilePhotoResult

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

func NewProfileServiceClearProfilePhotoResult

func NewProfileServiceClearProfilePhotoResult() *ProfileServiceClearProfilePhotoResult

func (*ProfileServiceClearProfilePhotoResult) BLength

func (*ProfileServiceClearProfilePhotoResult) DeepEqual

func (*ProfileServiceClearProfilePhotoResult) FastRead

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

func (*ProfileServiceClearProfilePhotoResult) FastReadField0

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

func (*ProfileServiceClearProfilePhotoResult) FastWrite

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

for compatibility

func (*ProfileServiceClearProfilePhotoResult) FastWriteNocopy

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

func (*ProfileServiceClearProfilePhotoResult) Field0DeepEqual

func (*ProfileServiceClearProfilePhotoResult) GetResult

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

func (*ProfileServiceClearProfilePhotoResult) GetSuccess

func (*ProfileServiceClearProfilePhotoResult) InitDefault

func (p *ProfileServiceClearProfilePhotoResult) InitDefault()

func (*ProfileServiceClearProfilePhotoResult) IsSetSuccess

func (p *ProfileServiceClearProfilePhotoResult) IsSetSuccess() bool

func (*ProfileServiceClearProfilePhotoResult) Read

func (*ProfileServiceClearProfilePhotoResult) ReadField0

func (*ProfileServiceClearProfilePhotoResult) SetSuccess

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

func (*ProfileServiceClearProfilePhotoResult) String

func (*ProfileServiceClearProfilePhotoResult) Write

type ProfileServiceClearProfileResult

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

func NewProfileServiceClearProfileResult

func NewProfileServiceClearProfileResult() *ProfileServiceClearProfileResult

func (*ProfileServiceClearProfileResult) BLength

func (*ProfileServiceClearProfileResult) DeepEqual

func (*ProfileServiceClearProfileResult) FastRead

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

func (*ProfileServiceClearProfileResult) FastReadField0

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

func (*ProfileServiceClearProfileResult) FastWrite

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

for compatibility

func (*ProfileServiceClearProfileResult) FastWriteNocopy

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

func (*ProfileServiceClearProfileResult) Field0DeepEqual

func (p *ProfileServiceClearProfileResult) Field0DeepEqual(src *Profile) bool

func (*ProfileServiceClearProfileResult) GetResult

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

func (*ProfileServiceClearProfileResult) GetSuccess

func (p *ProfileServiceClearProfileResult) GetSuccess() (v *Profile)

func (*ProfileServiceClearProfileResult) InitDefault

func (p *ProfileServiceClearProfileResult) InitDefault()

func (*ProfileServiceClearProfileResult) IsSetSuccess

func (p *ProfileServiceClearProfileResult) IsSetSuccess() bool

func (*ProfileServiceClearProfileResult) Read

func (*ProfileServiceClearProfileResult) ReadField0

func (*ProfileServiceClearProfileResult) SetSuccess

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

func (*ProfileServiceClearProfileResult) String

func (*ProfileServiceClearProfileResult) Write

type ProfileServiceClient

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

func NewProfileServiceClient

func NewProfileServiceClient(c thrift.TClient) *ProfileServiceClient

func NewProfileServiceClientProtocol

func NewProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ProfileServiceClient

func (*ProfileServiceClient) ClearProfile

func (p *ProfileServiceClient) ClearProfile(ctx context.Context, req *ClearProfileRequest) (r *Profile, err error)

func (*ProfileServiceClient) ClearProfilePhoto

func (*ProfileServiceClient) Client_

func (p *ProfileServiceClient) Client_() thrift.TClient

func (*ProfileServiceClient) CompleteProfilePhoto

func (p *ProfileServiceClient) CompleteProfilePhoto(ctx context.Context, req *CompleteProfilePhotoRequest) (r *Identity, err error)

func (*ProfileServiceClient) CreateProfilePhoto

func (*ProfileServiceClient) GetProfile

func (p *ProfileServiceClient) GetProfile(ctx context.Context, req *GetProfileRequest) (r *Profile, err error)

func (*ProfileServiceClient) GetProfilePhoto

func (*ProfileServiceClient) SubmitProfile

func (p *ProfileServiceClient) SubmitProfile(ctx context.Context, req *SubmitProfileRequest) (r *Profile, err error)

type ProfileServiceCompleteProfilePhotoArgs

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

func NewProfileServiceCompleteProfilePhotoArgs

func NewProfileServiceCompleteProfilePhotoArgs() *ProfileServiceCompleteProfilePhotoArgs

func (*ProfileServiceCompleteProfilePhotoArgs) BLength

func (*ProfileServiceCompleteProfilePhotoArgs) DeepEqual

func (*ProfileServiceCompleteProfilePhotoArgs) FastRead

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

func (*ProfileServiceCompleteProfilePhotoArgs) FastReadField1

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

func (*ProfileServiceCompleteProfilePhotoArgs) FastWrite

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

for compatibility

func (*ProfileServiceCompleteProfilePhotoArgs) FastWriteNocopy

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

func (*ProfileServiceCompleteProfilePhotoArgs) Field1DeepEqual

func (*ProfileServiceCompleteProfilePhotoArgs) GetFirstArgument

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

func (*ProfileServiceCompleteProfilePhotoArgs) GetReq

func (*ProfileServiceCompleteProfilePhotoArgs) InitDefault

func (p *ProfileServiceCompleteProfilePhotoArgs) InitDefault()

func (*ProfileServiceCompleteProfilePhotoArgs) IsSetReq

func (*ProfileServiceCompleteProfilePhotoArgs) Read

func (*ProfileServiceCompleteProfilePhotoArgs) ReadField1

func (*ProfileServiceCompleteProfilePhotoArgs) SetReq

func (*ProfileServiceCompleteProfilePhotoArgs) String

func (*ProfileServiceCompleteProfilePhotoArgs) Write

type ProfileServiceCompleteProfilePhotoResult

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

func NewProfileServiceCompleteProfilePhotoResult

func NewProfileServiceCompleteProfilePhotoResult() *ProfileServiceCompleteProfilePhotoResult

func (*ProfileServiceCompleteProfilePhotoResult) BLength

func (*ProfileServiceCompleteProfilePhotoResult) DeepEqual

func (*ProfileServiceCompleteProfilePhotoResult) FastRead

func (*ProfileServiceCompleteProfilePhotoResult) FastReadField0

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

func (*ProfileServiceCompleteProfilePhotoResult) FastWrite

for compatibility

func (*ProfileServiceCompleteProfilePhotoResult) FastWriteNocopy

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

func (*ProfileServiceCompleteProfilePhotoResult) Field0DeepEqual

func (p *ProfileServiceCompleteProfilePhotoResult) Field0DeepEqual(src *Identity) bool

func (*ProfileServiceCompleteProfilePhotoResult) GetResult

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

func (*ProfileServiceCompleteProfilePhotoResult) GetSuccess

func (*ProfileServiceCompleteProfilePhotoResult) InitDefault

func (*ProfileServiceCompleteProfilePhotoResult) IsSetSuccess

func (*ProfileServiceCompleteProfilePhotoResult) Read

func (*ProfileServiceCompleteProfilePhotoResult) ReadField0

func (*ProfileServiceCompleteProfilePhotoResult) SetSuccess

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

func (*ProfileServiceCompleteProfilePhotoResult) String

func (*ProfileServiceCompleteProfilePhotoResult) Write

type ProfileServiceCreateProfilePhotoArgs

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

func NewProfileServiceCreateProfilePhotoArgs

func NewProfileServiceCreateProfilePhotoArgs() *ProfileServiceCreateProfilePhotoArgs

func (*ProfileServiceCreateProfilePhotoArgs) BLength

func (*ProfileServiceCreateProfilePhotoArgs) DeepEqual

func (*ProfileServiceCreateProfilePhotoArgs) FastRead

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

func (*ProfileServiceCreateProfilePhotoArgs) FastReadField1

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

func (*ProfileServiceCreateProfilePhotoArgs) FastWrite

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

for compatibility

func (*ProfileServiceCreateProfilePhotoArgs) FastWriteNocopy

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

func (*ProfileServiceCreateProfilePhotoArgs) Field1DeepEqual

func (*ProfileServiceCreateProfilePhotoArgs) GetFirstArgument

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

func (*ProfileServiceCreateProfilePhotoArgs) GetReq

func (*ProfileServiceCreateProfilePhotoArgs) InitDefault

func (p *ProfileServiceCreateProfilePhotoArgs) InitDefault()

func (*ProfileServiceCreateProfilePhotoArgs) IsSetReq

func (*ProfileServiceCreateProfilePhotoArgs) Read

func (*ProfileServiceCreateProfilePhotoArgs) ReadField1

func (*ProfileServiceCreateProfilePhotoArgs) SetReq

func (*ProfileServiceCreateProfilePhotoArgs) String

func (*ProfileServiceCreateProfilePhotoArgs) Write

type ProfileServiceCreateProfilePhotoResult

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

func NewProfileServiceCreateProfilePhotoResult

func NewProfileServiceCreateProfilePhotoResult() *ProfileServiceCreateProfilePhotoResult

func (*ProfileServiceCreateProfilePhotoResult) BLength

func (*ProfileServiceCreateProfilePhotoResult) DeepEqual

func (*ProfileServiceCreateProfilePhotoResult) FastRead

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

func (*ProfileServiceCreateProfilePhotoResult) FastReadField0

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

func (*ProfileServiceCreateProfilePhotoResult) FastWrite

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

for compatibility

func (*ProfileServiceCreateProfilePhotoResult) FastWriteNocopy

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

func (*ProfileServiceCreateProfilePhotoResult) Field0DeepEqual

func (*ProfileServiceCreateProfilePhotoResult) GetResult

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

func (*ProfileServiceCreateProfilePhotoResult) GetSuccess

func (*ProfileServiceCreateProfilePhotoResult) InitDefault

func (p *ProfileServiceCreateProfilePhotoResult) InitDefault()

func (*ProfileServiceCreateProfilePhotoResult) IsSetSuccess

func (p *ProfileServiceCreateProfilePhotoResult) IsSetSuccess() bool

func (*ProfileServiceCreateProfilePhotoResult) Read

func (*ProfileServiceCreateProfilePhotoResult) ReadField0

func (*ProfileServiceCreateProfilePhotoResult) SetSuccess

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

func (*ProfileServiceCreateProfilePhotoResult) String

func (*ProfileServiceCreateProfilePhotoResult) Write

type ProfileServiceGetProfileArgs

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

func NewProfileServiceGetProfileArgs

func NewProfileServiceGetProfileArgs() *ProfileServiceGetProfileArgs

func (*ProfileServiceGetProfileArgs) BLength

func (p *ProfileServiceGetProfileArgs) BLength() int

func (*ProfileServiceGetProfileArgs) DeepEqual

func (*ProfileServiceGetProfileArgs) FastRead

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

func (*ProfileServiceGetProfileArgs) FastReadField1

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

func (*ProfileServiceGetProfileArgs) FastWrite

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

for compatibility

func (*ProfileServiceGetProfileArgs) FastWriteNocopy

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

func (*ProfileServiceGetProfileArgs) Field1DeepEqual

func (p *ProfileServiceGetProfileArgs) Field1DeepEqual(src *GetProfileRequest) bool

func (*ProfileServiceGetProfileArgs) GetFirstArgument

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

func (*ProfileServiceGetProfileArgs) GetReq

func (*ProfileServiceGetProfileArgs) InitDefault

func (p *ProfileServiceGetProfileArgs) InitDefault()

func (*ProfileServiceGetProfileArgs) IsSetReq

func (p *ProfileServiceGetProfileArgs) IsSetReq() bool

func (*ProfileServiceGetProfileArgs) Read

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

func (*ProfileServiceGetProfileArgs) ReadField1

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

func (*ProfileServiceGetProfileArgs) SetReq

func (*ProfileServiceGetProfileArgs) String

func (*ProfileServiceGetProfileArgs) Write

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

type ProfileServiceGetProfilePhotoArgs

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

func NewProfileServiceGetProfilePhotoArgs

func NewProfileServiceGetProfilePhotoArgs() *ProfileServiceGetProfilePhotoArgs

func (*ProfileServiceGetProfilePhotoArgs) BLength

func (*ProfileServiceGetProfilePhotoArgs) DeepEqual

func (*ProfileServiceGetProfilePhotoArgs) FastRead

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

func (*ProfileServiceGetProfilePhotoArgs) FastReadField1

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

func (*ProfileServiceGetProfilePhotoArgs) FastWrite

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

for compatibility

func (*ProfileServiceGetProfilePhotoArgs) FastWriteNocopy

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

func (*ProfileServiceGetProfilePhotoArgs) Field1DeepEqual

func (*ProfileServiceGetProfilePhotoArgs) GetFirstArgument

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

func (*ProfileServiceGetProfilePhotoArgs) GetReq

func (*ProfileServiceGetProfilePhotoArgs) InitDefault

func (p *ProfileServiceGetProfilePhotoArgs) InitDefault()

func (*ProfileServiceGetProfilePhotoArgs) IsSetReq

func (*ProfileServiceGetProfilePhotoArgs) Read

func (*ProfileServiceGetProfilePhotoArgs) ReadField1

func (*ProfileServiceGetProfilePhotoArgs) SetReq

func (*ProfileServiceGetProfilePhotoArgs) String

func (*ProfileServiceGetProfilePhotoArgs) Write

type ProfileServiceGetProfilePhotoResult

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

func NewProfileServiceGetProfilePhotoResult

func NewProfileServiceGetProfilePhotoResult() *ProfileServiceGetProfilePhotoResult

func (*ProfileServiceGetProfilePhotoResult) BLength

func (*ProfileServiceGetProfilePhotoResult) DeepEqual

func (*ProfileServiceGetProfilePhotoResult) FastRead

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

func (*ProfileServiceGetProfilePhotoResult) FastReadField0

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

func (*ProfileServiceGetProfilePhotoResult) FastWrite

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

for compatibility

func (*ProfileServiceGetProfilePhotoResult) FastWriteNocopy

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

func (*ProfileServiceGetProfilePhotoResult) Field0DeepEqual

func (*ProfileServiceGetProfilePhotoResult) GetResult

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

func (*ProfileServiceGetProfilePhotoResult) GetSuccess

func (*ProfileServiceGetProfilePhotoResult) InitDefault

func (p *ProfileServiceGetProfilePhotoResult) InitDefault()

func (*ProfileServiceGetProfilePhotoResult) IsSetSuccess

func (p *ProfileServiceGetProfilePhotoResult) IsSetSuccess() bool

func (*ProfileServiceGetProfilePhotoResult) Read

func (*ProfileServiceGetProfilePhotoResult) ReadField0

func (*ProfileServiceGetProfilePhotoResult) SetSuccess

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

func (*ProfileServiceGetProfilePhotoResult) String

func (*ProfileServiceGetProfilePhotoResult) Write

type ProfileServiceGetProfileResult

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

func NewProfileServiceGetProfileResult

func NewProfileServiceGetProfileResult() *ProfileServiceGetProfileResult

func (*ProfileServiceGetProfileResult) BLength

func (p *ProfileServiceGetProfileResult) BLength() int

func (*ProfileServiceGetProfileResult) DeepEqual

func (*ProfileServiceGetProfileResult) FastRead

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

func (*ProfileServiceGetProfileResult) FastReadField0

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

func (*ProfileServiceGetProfileResult) FastWrite

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

for compatibility

func (*ProfileServiceGetProfileResult) FastWriteNocopy

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

func (*ProfileServiceGetProfileResult) Field0DeepEqual

func (p *ProfileServiceGetProfileResult) Field0DeepEqual(src *Profile) bool

func (*ProfileServiceGetProfileResult) GetResult

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

func (*ProfileServiceGetProfileResult) GetSuccess

func (p *ProfileServiceGetProfileResult) GetSuccess() (v *Profile)

func (*ProfileServiceGetProfileResult) InitDefault

func (p *ProfileServiceGetProfileResult) InitDefault()

func (*ProfileServiceGetProfileResult) IsSetSuccess

func (p *ProfileServiceGetProfileResult) IsSetSuccess() bool

func (*ProfileServiceGetProfileResult) Read

func (*ProfileServiceGetProfileResult) ReadField0

func (*ProfileServiceGetProfileResult) SetSuccess

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

func (*ProfileServiceGetProfileResult) String

func (*ProfileServiceGetProfileResult) Write

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

type ProfileServiceProcessor

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

func NewProfileServiceProcessor

func NewProfileServiceProcessor(handler ProfileService) *ProfileServiceProcessor

func (*ProfileServiceProcessor) AddToProcessorMap

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

func (*ProfileServiceProcessor) GetProcessorFunction

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

func (*ProfileServiceProcessor) Process

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

func (*ProfileServiceProcessor) ProcessorMap

type ProfileServiceSubmitProfileArgs

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

func NewProfileServiceSubmitProfileArgs

func NewProfileServiceSubmitProfileArgs() *ProfileServiceSubmitProfileArgs

func (*ProfileServiceSubmitProfileArgs) BLength

func (p *ProfileServiceSubmitProfileArgs) BLength() int

func (*ProfileServiceSubmitProfileArgs) DeepEqual

func (*ProfileServiceSubmitProfileArgs) FastRead

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

func (*ProfileServiceSubmitProfileArgs) FastReadField1

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

func (*ProfileServiceSubmitProfileArgs) FastWrite

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

for compatibility

func (*ProfileServiceSubmitProfileArgs) FastWriteNocopy

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

func (*ProfileServiceSubmitProfileArgs) Field1DeepEqual

func (*ProfileServiceSubmitProfileArgs) GetFirstArgument

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

func (*ProfileServiceSubmitProfileArgs) GetReq

func (*ProfileServiceSubmitProfileArgs) InitDefault

func (p *ProfileServiceSubmitProfileArgs) InitDefault()

func (*ProfileServiceSubmitProfileArgs) IsSetReq

func (p *ProfileServiceSubmitProfileArgs) IsSetReq() bool

func (*ProfileServiceSubmitProfileArgs) Read

func (*ProfileServiceSubmitProfileArgs) ReadField1

func (*ProfileServiceSubmitProfileArgs) SetReq

func (*ProfileServiceSubmitProfileArgs) String

func (*ProfileServiceSubmitProfileArgs) Write

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

type ProfileServiceSubmitProfileResult

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

func NewProfileServiceSubmitProfileResult

func NewProfileServiceSubmitProfileResult() *ProfileServiceSubmitProfileResult

func (*ProfileServiceSubmitProfileResult) BLength

func (*ProfileServiceSubmitProfileResult) DeepEqual

func (*ProfileServiceSubmitProfileResult) FastRead

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

func (*ProfileServiceSubmitProfileResult) FastReadField0

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

func (*ProfileServiceSubmitProfileResult) FastWrite

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

for compatibility

func (*ProfileServiceSubmitProfileResult) FastWriteNocopy

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

func (*ProfileServiceSubmitProfileResult) Field0DeepEqual

func (p *ProfileServiceSubmitProfileResult) Field0DeepEqual(src *Profile) bool

func (*ProfileServiceSubmitProfileResult) GetResult

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

func (*ProfileServiceSubmitProfileResult) GetSuccess

func (p *ProfileServiceSubmitProfileResult) GetSuccess() (v *Profile)

func (*ProfileServiceSubmitProfileResult) InitDefault

func (p *ProfileServiceSubmitProfileResult) InitDefault()

func (*ProfileServiceSubmitProfileResult) IsSetSuccess

func (p *ProfileServiceSubmitProfileResult) IsSetSuccess() bool

func (*ProfileServiceSubmitProfileResult) Read

func (*ProfileServiceSubmitProfileResult) ReadField0

func (*ProfileServiceSubmitProfileResult) SetSuccess

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

func (*ProfileServiceSubmitProfileResult) String

func (*ProfileServiceSubmitProfileResult) Write

type SubmitProfileRequest

type SubmitProfileRequest struct {
	AccountId int64     `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
	Identity  *Identity `thrift:"identity,2" frugal:"2,default,Identity" json:"identity"`
}
var ProfileServiceSubmitProfileArgs_Req_DEFAULT *SubmitProfileRequest

func NewSubmitProfileRequest

func NewSubmitProfileRequest() *SubmitProfileRequest

func (*SubmitProfileRequest) BLength

func (p *SubmitProfileRequest) BLength() int

func (*SubmitProfileRequest) DeepEqual

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

func (*SubmitProfileRequest) FastRead

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

func (*SubmitProfileRequest) FastReadField1

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

func (*SubmitProfileRequest) FastReadField2

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

func (*SubmitProfileRequest) FastWrite

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

for compatibility

func (*SubmitProfileRequest) FastWriteNocopy

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

func (*SubmitProfileRequest) Field1DeepEqual

func (p *SubmitProfileRequest) Field1DeepEqual(src int64) bool

func (*SubmitProfileRequest) Field2DeepEqual

func (p *SubmitProfileRequest) Field2DeepEqual(src *Identity) bool

func (*SubmitProfileRequest) GetAccountId

func (p *SubmitProfileRequest) GetAccountId() (v int64)

func (*SubmitProfileRequest) GetIdentity

func (p *SubmitProfileRequest) GetIdentity() (v *Identity)

func (*SubmitProfileRequest) InitDefault

func (p *SubmitProfileRequest) InitDefault()

func (*SubmitProfileRequest) IsSetIdentity

func (p *SubmitProfileRequest) IsSetIdentity() bool

func (*SubmitProfileRequest) Read

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

func (*SubmitProfileRequest) ReadField1

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

func (*SubmitProfileRequest) ReadField2

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

func (*SubmitProfileRequest) SetAccountId

func (p *SubmitProfileRequest) SetAccountId(val int64)

func (*SubmitProfileRequest) SetIdentity

func (p *SubmitProfileRequest) SetIdentity(val *Identity)

func (*SubmitProfileRequest) String

func (p *SubmitProfileRequest) String() string

func (*SubmitProfileRequest) Write

func (p *SubmitProfileRequest) 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