Documentation ¶
Index ¶
- Variables
- type ProfileData
- func (p *ProfileData) GetAccommodation() string
- func (p *ProfileData) GetAvatar() string
- func (p *ProfileData) GetDisplayName() string
- func (p *ProfileData) GetDob() int64
- func (p *ProfileData) GetEducation() string
- func (p *ProfileData) GetExtend() map[string]string
- func (p *ProfileData) GetGender() int64
- func (p *ProfileData) GetImage() []string
- func (p *ProfileData) GetImgBackground() string
- func (p *ProfileData) GetIntroText() string
- func (p *ProfileData) GetLastModified() int64
- func (p *ProfileData) GetLinkFB() string
- func (p *ProfileData) GetLinkGGPlus() string
- func (p *ProfileData) GetLinkInstagram() string
- func (p *ProfileData) GetPhone() string
- func (p *ProfileData) GetPubkey() string
- func (p *ProfileData) GetRelationship() int64
- func (p *ProfileData) GetWork() string
- func (p *ProfileData) Read(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField1(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField10(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField11(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField12(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField13(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField14(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField15(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField16(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField17(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField18(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField2(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField3(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField4(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField5(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField6(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField7(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField8(iprot thrift.TProtocol) error
- func (p *ProfileData) ReadField9(iprot thrift.TProtocol) error
- func (p *ProfileData) String() string
- func (p *ProfileData) Write(oprot thrift.TProtocol) error
- type PubProfileService
- type PubProfileServiceClient
- func NewPubProfileServiceClient(c thrift.TClient) *PubProfileServiceClient
- func NewPubProfileServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PubProfileServiceClient
- func NewPubProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PubProfileServiceClient
- type PubProfileServiceGetProfileByPubkeyArgs
- func (p *PubProfileServiceGetProfileByPubkeyArgs) GetPubkey() string
- func (p *PubProfileServiceGetProfileByPubkeyArgs) Read(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByPubkeyArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByPubkeyArgs) String() string
- func (p *PubProfileServiceGetProfileByPubkeyArgs) Write(oprot thrift.TProtocol) error
- type PubProfileServiceGetProfileByPubkeyResult
- func (p *PubProfileServiceGetProfileByPubkeyResult) GetSuccess() *ProfileData
- func (p *PubProfileServiceGetProfileByPubkeyResult) IsSetSuccess() bool
- func (p *PubProfileServiceGetProfileByPubkeyResult) Read(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByPubkeyResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByPubkeyResult) String() string
- func (p *PubProfileServiceGetProfileByPubkeyResult) Write(oprot thrift.TProtocol) error
- type PubProfileServiceGetProfileByUIDArgs
- func (p *PubProfileServiceGetProfileByUIDArgs) GetUID() int64
- func (p *PubProfileServiceGetProfileByUIDArgs) Read(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByUIDArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByUIDArgs) String() string
- func (p *PubProfileServiceGetProfileByUIDArgs) Write(oprot thrift.TProtocol) error
- type PubProfileServiceGetProfileByUIDResult
- func (p *PubProfileServiceGetProfileByUIDResult) GetSuccess() *ProfileData
- func (p *PubProfileServiceGetProfileByUIDResult) IsSetSuccess() bool
- func (p *PubProfileServiceGetProfileByUIDResult) Read(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByUIDResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PubProfileServiceGetProfileByUIDResult) String() string
- func (p *PubProfileServiceGetProfileByUIDResult) Write(oprot thrift.TProtocol) error
- type PubProfileServiceProcessor
- func (p *PubProfileServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *PubProfileServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *PubProfileServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *PubProfileServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type ProfileData ¶
type ProfileData struct { Pubkey string `thrift:"pubkey,1" db:"pubkey" json:"pubkey"` DisplayName string `thrift:"displayName,2" db:"displayName" json:"displayName"` Dob int64 `thrift:"dob,3" db:"dob" json:"dob"` Gender int64 `thrift:"gender,4" db:"gender" json:"gender"` IntroText string `thrift:"introText,5" db:"introText" json:"introText"` Avatar string `thrift:"avatar,6" db:"avatar" json:"avatar"` ImgBackground string `thrift:"imgBackground,7" db:"imgBackground" json:"imgBackground"` Phone string `thrift:"phone,8" db:"phone" json:"phone"` Education string `thrift:"education,9" db:"education" json:"education"` Work string `thrift:"work,10" db:"work" json:"work"` Relationship int64 `thrift:"relationship,11" db:"relationship" json:"relationship"` Accommodation string `thrift:"accommodation,12" db:"accommodation" json:"accommodation"` LinkFB string `thrift:"linkFB,13" db:"linkFB" json:"linkFB"` LinkGGPlus string `thrift:"linkGGPlus,14" db:"linkGGPlus" json:"linkGGPlus"` LinkInstagram string `thrift:"linkInstagram,15" db:"linkInstagram" json:"linkInstagram"` Extend map[string]string `thrift:"extend,16" db:"extend" json:"extend"` Image []string `thrift:"image,17" db:"image" json:"image"` LastModified int64 `thrift:"lastModified,18" db:"lastModified" json:"lastModified"` }
Attributes:
- Pubkey
- DisplayName
- Dob
- Gender
- IntroText
- Avatar
- ImgBackground
- Phone
- Education
- Work
- Relationship
- Accommodation
- LinkFB
- LinkGGPlus
- LinkInstagram
- Extend
- Image
- LastModified
var PubProfileServiceGetProfileByPubkeyResult_Success_DEFAULT *ProfileData
var PubProfileServiceGetProfileByUIDResult_Success_DEFAULT *ProfileData
func NewProfileData ¶
func NewProfileData() *ProfileData
func (*ProfileData) GetAccommodation ¶
func (p *ProfileData) GetAccommodation() string
func (*ProfileData) GetAvatar ¶
func (p *ProfileData) GetAvatar() string
func (*ProfileData) GetDisplayName ¶
func (p *ProfileData) GetDisplayName() string
func (*ProfileData) GetDob ¶
func (p *ProfileData) GetDob() int64
func (*ProfileData) GetEducation ¶
func (p *ProfileData) GetEducation() string
func (*ProfileData) GetExtend ¶
func (p *ProfileData) GetExtend() map[string]string
func (*ProfileData) GetGender ¶
func (p *ProfileData) GetGender() int64
func (*ProfileData) GetImage ¶
func (p *ProfileData) GetImage() []string
func (*ProfileData) GetImgBackground ¶
func (p *ProfileData) GetImgBackground() string
func (*ProfileData) GetIntroText ¶
func (p *ProfileData) GetIntroText() string
func (*ProfileData) GetLastModified ¶
func (p *ProfileData) GetLastModified() int64
func (*ProfileData) GetLinkFB ¶
func (p *ProfileData) GetLinkFB() string
func (*ProfileData) GetLinkGGPlus ¶
func (p *ProfileData) GetLinkGGPlus() string
func (*ProfileData) GetLinkInstagram ¶
func (p *ProfileData) GetLinkInstagram() string
func (*ProfileData) GetPhone ¶
func (p *ProfileData) GetPhone() string
func (*ProfileData) GetPubkey ¶
func (p *ProfileData) GetPubkey() string
func (*ProfileData) GetRelationship ¶
func (p *ProfileData) GetRelationship() int64
func (*ProfileData) GetWork ¶
func (p *ProfileData) GetWork() string
func (*ProfileData) ReadField1 ¶
func (p *ProfileData) ReadField1(iprot thrift.TProtocol) error
func (*ProfileData) ReadField10 ¶
func (p *ProfileData) ReadField10(iprot thrift.TProtocol) error
func (*ProfileData) ReadField11 ¶
func (p *ProfileData) ReadField11(iprot thrift.TProtocol) error
func (*ProfileData) ReadField12 ¶
func (p *ProfileData) ReadField12(iprot thrift.TProtocol) error
func (*ProfileData) ReadField13 ¶
func (p *ProfileData) ReadField13(iprot thrift.TProtocol) error
func (*ProfileData) ReadField14 ¶
func (p *ProfileData) ReadField14(iprot thrift.TProtocol) error
func (*ProfileData) ReadField15 ¶
func (p *ProfileData) ReadField15(iprot thrift.TProtocol) error
func (*ProfileData) ReadField16 ¶
func (p *ProfileData) ReadField16(iprot thrift.TProtocol) error
func (*ProfileData) ReadField17 ¶
func (p *ProfileData) ReadField17(iprot thrift.TProtocol) error
func (*ProfileData) ReadField18 ¶
func (p *ProfileData) ReadField18(iprot thrift.TProtocol) error
func (*ProfileData) ReadField2 ¶
func (p *ProfileData) ReadField2(iprot thrift.TProtocol) error
func (*ProfileData) ReadField3 ¶
func (p *ProfileData) ReadField3(iprot thrift.TProtocol) error
func (*ProfileData) ReadField4 ¶
func (p *ProfileData) ReadField4(iprot thrift.TProtocol) error
func (*ProfileData) ReadField5 ¶
func (p *ProfileData) ReadField5(iprot thrift.TProtocol) error
func (*ProfileData) ReadField6 ¶
func (p *ProfileData) ReadField6(iprot thrift.TProtocol) error
func (*ProfileData) ReadField7 ¶
func (p *ProfileData) ReadField7(iprot thrift.TProtocol) error
func (*ProfileData) ReadField8 ¶
func (p *ProfileData) ReadField8(iprot thrift.TProtocol) error
func (*ProfileData) ReadField9 ¶
func (p *ProfileData) ReadField9(iprot thrift.TProtocol) error
func (*ProfileData) String ¶
func (p *ProfileData) String() string
type PubProfileService ¶
type PubProfileService interface { // Parameters: // - Pubkey GetProfileByPubkey(ctx context.Context, pubkey string) (r *ProfileData, err error) // Parameters: // - UID GetProfileByUID(ctx context.Context, uid int64) (r *ProfileData, err error) }
type PubProfileServiceClient ¶
type PubProfileServiceClient struct {
// contains filtered or unexported fields
}
func NewPubProfileServiceClient ¶
func NewPubProfileServiceClient(c thrift.TClient) *PubProfileServiceClient
func NewPubProfileServiceClientFactory ¶
func NewPubProfileServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PubProfileServiceClient
func NewPubProfileServiceClientProtocol ¶
func NewPubProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PubProfileServiceClient
func (*PubProfileServiceClient) Client_ ¶
func (p *PubProfileServiceClient) Client_() thrift.TClient
func (*PubProfileServiceClient) GetProfileByPubkey ¶
func (p *PubProfileServiceClient) GetProfileByPubkey(ctx context.Context, pubkey string) (r *ProfileData, err error)
Parameters:
- Pubkey
func (*PubProfileServiceClient) GetProfileByUID ¶
func (p *PubProfileServiceClient) GetProfileByUID(ctx context.Context, uid int64) (r *ProfileData, err error)
Parameters:
- UID
type PubProfileServiceGetProfileByPubkeyArgs ¶
type PubProfileServiceGetProfileByPubkeyArgs struct {
Pubkey string `thrift:"pubkey,1" db:"pubkey" json:"pubkey"`
}
Attributes:
- Pubkey
func NewPubProfileServiceGetProfileByPubkeyArgs ¶
func NewPubProfileServiceGetProfileByPubkeyArgs() *PubProfileServiceGetProfileByPubkeyArgs
func (*PubProfileServiceGetProfileByPubkeyArgs) GetPubkey ¶
func (p *PubProfileServiceGetProfileByPubkeyArgs) GetPubkey() string
func (*PubProfileServiceGetProfileByPubkeyArgs) Read ¶
func (p *PubProfileServiceGetProfileByPubkeyArgs) Read(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByPubkeyArgs) ReadField1 ¶
func (p *PubProfileServiceGetProfileByPubkeyArgs) ReadField1(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByPubkeyArgs) String ¶
func (p *PubProfileServiceGetProfileByPubkeyArgs) String() string
type PubProfileServiceGetProfileByPubkeyResult ¶
type PubProfileServiceGetProfileByPubkeyResult struct {
Success *ProfileData `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPubProfileServiceGetProfileByPubkeyResult ¶
func NewPubProfileServiceGetProfileByPubkeyResult() *PubProfileServiceGetProfileByPubkeyResult
func (*PubProfileServiceGetProfileByPubkeyResult) GetSuccess ¶
func (p *PubProfileServiceGetProfileByPubkeyResult) GetSuccess() *ProfileData
func (*PubProfileServiceGetProfileByPubkeyResult) IsSetSuccess ¶
func (p *PubProfileServiceGetProfileByPubkeyResult) IsSetSuccess() bool
func (*PubProfileServiceGetProfileByPubkeyResult) Read ¶
func (p *PubProfileServiceGetProfileByPubkeyResult) Read(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByPubkeyResult) ReadField0 ¶
func (p *PubProfileServiceGetProfileByPubkeyResult) ReadField0(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByPubkeyResult) String ¶
func (p *PubProfileServiceGetProfileByPubkeyResult) String() string
type PubProfileServiceGetProfileByUIDArgs ¶
type PubProfileServiceGetProfileByUIDArgs struct {
UID int64 `thrift:"uid,1" db:"uid" json:"uid"`
}
Attributes:
- UID
func NewPubProfileServiceGetProfileByUIDArgs ¶
func NewPubProfileServiceGetProfileByUIDArgs() *PubProfileServiceGetProfileByUIDArgs
func (*PubProfileServiceGetProfileByUIDArgs) GetUID ¶
func (p *PubProfileServiceGetProfileByUIDArgs) GetUID() int64
func (*PubProfileServiceGetProfileByUIDArgs) Read ¶
func (p *PubProfileServiceGetProfileByUIDArgs) Read(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByUIDArgs) ReadField1 ¶
func (p *PubProfileServiceGetProfileByUIDArgs) ReadField1(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByUIDArgs) String ¶
func (p *PubProfileServiceGetProfileByUIDArgs) String() string
type PubProfileServiceGetProfileByUIDResult ¶
type PubProfileServiceGetProfileByUIDResult struct {
Success *ProfileData `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPubProfileServiceGetProfileByUIDResult ¶
func NewPubProfileServiceGetProfileByUIDResult() *PubProfileServiceGetProfileByUIDResult
func (*PubProfileServiceGetProfileByUIDResult) GetSuccess ¶
func (p *PubProfileServiceGetProfileByUIDResult) GetSuccess() *ProfileData
func (*PubProfileServiceGetProfileByUIDResult) IsSetSuccess ¶
func (p *PubProfileServiceGetProfileByUIDResult) IsSetSuccess() bool
func (*PubProfileServiceGetProfileByUIDResult) Read ¶
func (p *PubProfileServiceGetProfileByUIDResult) Read(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByUIDResult) ReadField0 ¶
func (p *PubProfileServiceGetProfileByUIDResult) ReadField0(iprot thrift.TProtocol) error
func (*PubProfileServiceGetProfileByUIDResult) String ¶
func (p *PubProfileServiceGetProfileByUIDResult) String() string
type PubProfileServiceProcessor ¶
type PubProfileServiceProcessor struct {
// contains filtered or unexported fields
}
func NewPubProfileServiceProcessor ¶
func NewPubProfileServiceProcessor(handler PubProfileService) *PubProfileServiceProcessor
func (*PubProfileServiceProcessor) AddToProcessorMap ¶
func (p *PubProfileServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*PubProfileServiceProcessor) GetProcessorFunction ¶
func (p *PubProfileServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*PubProfileServiceProcessor) Process ¶
func (p *PubProfileServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*PubProfileServiceProcessor) ProcessorMap ¶
func (p *PubProfileServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.