Documentation ¶
Index ¶
- Variables
- type TData
- type TDataResult_
- func (p *TDataResult_) GetData() *TPlatformProfile
- func (p *TDataResult_) GetErrorCode() TErrorCode
- func (p *TDataResult_) IsSetData() bool
- func (p *TDataResult_) Read(iprot thrift.TProtocol) error
- func (p *TDataResult_) ReadField1(iprot thrift.TProtocol) error
- func (p *TDataResult_) ReadField2(iprot thrift.TProtocol) error
- func (p *TDataResult_) String() string
- func (p *TDataResult_) Write(oprot thrift.TProtocol) error
- type TDataService
- type TDataServiceClient
- func NewTDataServiceClient(c thrift.TClient) *TDataServiceClient
- func NewTDataServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceClientdeprecated
- func NewTDataServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceClientdeprecated
- type TDataServiceProcessor
- type TDataServicePutDataArgs
- func (p *TDataServicePutDataArgs) GetData() *TPlatformProfile
- func (p *TDataServicePutDataArgs) GetKey() TKey
- func (p *TDataServicePutDataArgs) IsSetData() bool
- func (p *TDataServicePutDataArgs) Read(iprot thrift.TProtocol) error
- func (p *TDataServicePutDataArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TDataServicePutDataArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TDataServicePutDataArgs) String() string
- func (p *TDataServicePutDataArgs) Write(oprot thrift.TProtocol) error
- type TDataServicePutDataResult
- func (p *TDataServicePutDataResult) GetSuccess() TErrorCode
- func (p *TDataServicePutDataResult) IsSetSuccess() bool
- func (p *TDataServicePutDataResult) Read(iprot thrift.TProtocol) error
- func (p *TDataServicePutDataResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TDataServicePutDataResult) String() string
- func (p *TDataServicePutDataResult) Write(oprot thrift.TProtocol) error
- type TDataServiceR
- type TDataServiceRClient
- func NewTDataServiceRClient(c thrift.TClient) *TDataServiceRClient
- func NewTDataServiceRClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceRClientdeprecated
- func NewTDataServiceRClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceRClientdeprecated
- type TDataServiceRGetDataArgs
- func (p *TDataServiceRGetDataArgs) GetKey() TKey
- func (p *TDataServiceRGetDataArgs) Read(iprot thrift.TProtocol) error
- func (p *TDataServiceRGetDataArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TDataServiceRGetDataArgs) String() string
- func (p *TDataServiceRGetDataArgs) Write(oprot thrift.TProtocol) error
- type TDataServiceRGetDataResult
- func (p *TDataServiceRGetDataResult) GetSuccess() *TDataResult_
- func (p *TDataServiceRGetDataResult) IsSetSuccess() bool
- func (p *TDataServiceRGetDataResult) Read(iprot thrift.TProtocol) error
- func (p *TDataServiceRGetDataResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TDataServiceRGetDataResult) String() string
- func (p *TDataServiceRGetDataResult) Write(oprot thrift.TProtocol) error
- type TDataServiceRProcessor
- func (p *TDataServiceRProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TDataServiceRProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TDataServiceRProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TDataServiceRProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type TErrorCode
- type TKey
- type TPlatformProfile
- func (p *TPlatformProfile) GetConnectedSocial() map[string]*TSocialProfile
- func (p *TPlatformProfile) GetDisplayName() string
- func (p *TPlatformProfile) GetExtData() map[string]string
- func (p *TPlatformProfile) GetPublicKeys() []string
- func (p *TPlatformProfile) GetTrustedEmails() map[string]bool
- func (p *TPlatformProfile) GetTrustedMobiles() map[string]bool
- func (p *TPlatformProfile) GetUsername() string
- func (p *TPlatformProfile) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField3(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField4(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField5(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField6(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) ReadField7(iprot thrift.TProtocol) error
- func (p *TPlatformProfile) String() string
- func (p *TPlatformProfile) Write(oprot thrift.TProtocol) error
- type TPlatformProfileService
- type TPlatformProfileServiceClient
- func NewTPlatformProfileServiceClient(c thrift.TClient) *TPlatformProfileServiceClient
- func NewTPlatformProfileServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TPlatformProfileServiceClientdeprecated
- func NewTPlatformProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TPlatformProfileServiceClientdeprecated
- func (p *TPlatformProfileServiceClient) GetExtData(ctx context.Context, uid TKey, extKey string) (r string, err error)
- func (p *TPlatformProfileServiceClient) RemoveSocialInfo(ctx context.Context, uid TKey, socialType string, ...) (r bool, err error)
- func (p *TPlatformProfileServiceClient) RemoveTrustedEmail(ctx context.Context, uid TKey, email string) (r bool, err error)
- func (p *TPlatformProfileServiceClient) RemoveTrustedMobile(ctx context.Context, uid TKey, mobile string) (r bool, err error)
- func (p *TPlatformProfileServiceClient) SetExtData(ctx context.Context, uid TKey, extKey string, extValue string) (r string, err error)
- func (p *TPlatformProfileServiceClient) SetSocialInfo(ctx context.Context, uid TKey, socialType string, ...) (r bool, err error)
- func (p *TPlatformProfileServiceClient) SetTrustedEmail(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)
- func (p *TPlatformProfileServiceClient) SetTrustedMobile(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)
- type TPlatformProfileServiceGetExtDataArgs
- func (p *TPlatformProfileServiceGetExtDataArgs) GetExtKey() string
- func (p *TPlatformProfileServiceGetExtDataArgs) GetUID() TKey
- func (p *TPlatformProfileServiceGetExtDataArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceGetExtDataArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceGetExtDataArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceGetExtDataArgs) String() string
- func (p *TPlatformProfileServiceGetExtDataArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceGetExtDataResult
- func (p *TPlatformProfileServiceGetExtDataResult) GetSuccess() string
- func (p *TPlatformProfileServiceGetExtDataResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceGetExtDataResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceGetExtDataResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceGetExtDataResult) String() string
- func (p *TPlatformProfileServiceGetExtDataResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceProcessor
- type TPlatformProfileServiceRemoveSocialInfoArgs
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialProfile() *TSocialProfile
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialType() string
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) GetUID() TKey
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) IsSetSocialProfile() bool
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) String() string
- func (p *TPlatformProfileServiceRemoveSocialInfoArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceRemoveSocialInfoResult
- func (p *TPlatformProfileServiceRemoveSocialInfoResult) GetSuccess() bool
- func (p *TPlatformProfileServiceRemoveSocialInfoResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceRemoveSocialInfoResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveSocialInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveSocialInfoResult) String() string
- func (p *TPlatformProfileServiceRemoveSocialInfoResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceRemoveTrustedEmailArgs
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) GetEmail() string
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) GetUID() TKey
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) String() string
- func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceRemoveTrustedEmailResult
- func (p *TPlatformProfileServiceRemoveTrustedEmailResult) GetSuccess() bool
- func (p *TPlatformProfileServiceRemoveTrustedEmailResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceRemoveTrustedEmailResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedEmailResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedEmailResult) String() string
- func (p *TPlatformProfileServiceRemoveTrustedEmailResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceRemoveTrustedMobileArgs
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) GetMobile() string
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) GetUID() TKey
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) String() string
- func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceRemoveTrustedMobileResult
- func (p *TPlatformProfileServiceRemoveTrustedMobileResult) GetSuccess() bool
- func (p *TPlatformProfileServiceRemoveTrustedMobileResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceRemoveTrustedMobileResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedMobileResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceRemoveTrustedMobileResult) String() string
- func (p *TPlatformProfileServiceRemoveTrustedMobileResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetExtDataArgs
- func (p *TPlatformProfileServiceSetExtDataArgs) GetExtKey() string
- func (p *TPlatformProfileServiceSetExtDataArgs) GetExtValue() string
- func (p *TPlatformProfileServiceSetExtDataArgs) GetUID() TKey
- func (p *TPlatformProfileServiceSetExtDataArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetExtDataArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetExtDataArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetExtDataArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetExtDataArgs) String() string
- func (p *TPlatformProfileServiceSetExtDataArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetExtDataResult
- func (p *TPlatformProfileServiceSetExtDataResult) GetSuccess() string
- func (p *TPlatformProfileServiceSetExtDataResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceSetExtDataResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetExtDataResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetExtDataResult) String() string
- func (p *TPlatformProfileServiceSetExtDataResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetSocialInfoArgs
- func (p *TPlatformProfileServiceSetSocialInfoArgs) GetSocialProfile() *TSocialProfile
- func (p *TPlatformProfileServiceSetSocialInfoArgs) GetSocialType() string
- func (p *TPlatformProfileServiceSetSocialInfoArgs) GetUID() TKey
- func (p *TPlatformProfileServiceSetSocialInfoArgs) IsSetSocialProfile() bool
- func (p *TPlatformProfileServiceSetSocialInfoArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetSocialInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetSocialInfoArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetSocialInfoArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetSocialInfoArgs) String() string
- func (p *TPlatformProfileServiceSetSocialInfoArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetSocialInfoResult
- func (p *TPlatformProfileServiceSetSocialInfoResult) GetSuccess() bool
- func (p *TPlatformProfileServiceSetSocialInfoResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceSetSocialInfoResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetSocialInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetSocialInfoResult) String() string
- func (p *TPlatformProfileServiceSetSocialInfoResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetTrustedEmailArgs
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) GetEmail() string
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) GetIsTrusted() bool
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) GetUID() TKey
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) String() string
- func (p *TPlatformProfileServiceSetTrustedEmailArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetTrustedEmailResult
- func (p *TPlatformProfileServiceSetTrustedEmailResult) GetSuccess() bool
- func (p *TPlatformProfileServiceSetTrustedEmailResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceSetTrustedEmailResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedEmailResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedEmailResult) String() string
- func (p *TPlatformProfileServiceSetTrustedEmailResult) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetTrustedMobileArgs
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) GetEmail() string
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) GetIsTrusted() bool
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) GetUID() TKey
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) String() string
- func (p *TPlatformProfileServiceSetTrustedMobileArgs) Write(oprot thrift.TProtocol) error
- type TPlatformProfileServiceSetTrustedMobileResult
- func (p *TPlatformProfileServiceSetTrustedMobileResult) GetSuccess() bool
- func (p *TPlatformProfileServiceSetTrustedMobileResult) IsSetSuccess() bool
- func (p *TPlatformProfileServiceSetTrustedMobileResult) Read(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedMobileResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TPlatformProfileServiceSetTrustedMobileResult) String() string
- func (p *TPlatformProfileServiceSetTrustedMobileResult) Write(oprot thrift.TProtocol) error
- type TSocialProfile
- func (p *TSocialProfile) GetEmail() string
- func (p *TSocialProfile) GetName() string
- func (p *TSocialProfile) GetSid() string
- func (p *TSocialProfile) Read(iprot thrift.TProtocol) error
- func (p *TSocialProfile) ReadField1(iprot thrift.TProtocol) error
- func (p *TSocialProfile) ReadField2(iprot thrift.TProtocol) error
- func (p *TSocialProfile) ReadField3(iprot thrift.TProtocol) error
- func (p *TSocialProfile) String() string
- func (p *TSocialProfile) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
var GoUnusedProtection__ int
var TPlatformProfileServiceGetExtDataResult_Success_DEFAULT string
var TPlatformProfileServiceRemoveSocialInfoResult_Success_DEFAULT bool
var TPlatformProfileServiceRemoveTrustedEmailResult_Success_DEFAULT bool
var TPlatformProfileServiceRemoveTrustedMobileResult_Success_DEFAULT bool
var TPlatformProfileServiceSetExtDataResult_Success_DEFAULT string
var TPlatformProfileServiceSetSocialInfoResult_Success_DEFAULT bool
var TPlatformProfileServiceSetTrustedEmailResult_Success_DEFAULT bool
var TPlatformProfileServiceSetTrustedMobileResult_Success_DEFAULT bool
Functions ¶
This section is empty.
Types ¶
type TDataResult_ ¶
type TDataResult_ struct { ErrorCode TErrorCode `thrift:"errorCode,1" db:"errorCode" json:"errorCode"` Data *TPlatformProfile `thrift:"data,2" db:"data" json:"data,omitempty"` }
Attributes:
- ErrorCode
- Data
var TDataServiceRGetDataResult_Success_DEFAULT *TDataResult_
func NewTDataResult_ ¶
func NewTDataResult_() *TDataResult_
func (*TDataResult_) GetData ¶
func (p *TDataResult_) GetData() *TPlatformProfile
func (*TDataResult_) GetErrorCode ¶
func (p *TDataResult_) GetErrorCode() TErrorCode
func (*TDataResult_) IsSetData ¶
func (p *TDataResult_) IsSetData() bool
func (*TDataResult_) ReadField1 ¶
func (p *TDataResult_) ReadField1(iprot thrift.TProtocol) error
func (*TDataResult_) ReadField2 ¶
func (p *TDataResult_) ReadField2(iprot thrift.TProtocol) error
func (*TDataResult_) String ¶
func (p *TDataResult_) String() string
type TDataService ¶
type TDataService interface { TDataServiceR // Parameters: // - Key // - Data PutData(ctx context.Context, key TKey, data *TPlatformProfile) (r TErrorCode, err error) }
type TDataServiceClient ¶
type TDataServiceClient struct { *TDataServiceRClient // contains filtered or unexported fields }
func NewTDataServiceClient ¶
func NewTDataServiceClient(c thrift.TClient) *TDataServiceClient
func NewTDataServiceClientFactory
deprecated
func NewTDataServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceClient
Deprecated: Use NewTDataService instead
func NewTDataServiceClientProtocol
deprecated
func NewTDataServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceClient
Deprecated: Use NewTDataService instead
func (*TDataServiceClient) PutData ¶
func (p *TDataServiceClient) PutData(ctx context.Context, key TKey, data *TPlatformProfile) (r TErrorCode, err error)
Parameters:
- Key
- Data
type TDataServiceProcessor ¶
type TDataServiceProcessor struct {
*TDataServiceRProcessor
}
func NewTDataServiceProcessor ¶
func NewTDataServiceProcessor(handler TDataService) *TDataServiceProcessor
type TDataServicePutDataArgs ¶
type TDataServicePutDataArgs struct { Key TKey `thrift:"key,1" db:"key" json:"key"` Data *TPlatformProfile `thrift:"data,2" db:"data" json:"data"` }
Attributes:
- Key
- Data
func NewTDataServicePutDataArgs ¶
func NewTDataServicePutDataArgs() *TDataServicePutDataArgs
func (*TDataServicePutDataArgs) GetData ¶
func (p *TDataServicePutDataArgs) GetData() *TPlatformProfile
func (*TDataServicePutDataArgs) GetKey ¶
func (p *TDataServicePutDataArgs) GetKey() TKey
func (*TDataServicePutDataArgs) IsSetData ¶
func (p *TDataServicePutDataArgs) IsSetData() bool
func (*TDataServicePutDataArgs) Read ¶
func (p *TDataServicePutDataArgs) Read(iprot thrift.TProtocol) error
func (*TDataServicePutDataArgs) ReadField1 ¶
func (p *TDataServicePutDataArgs) ReadField1(iprot thrift.TProtocol) error
func (*TDataServicePutDataArgs) ReadField2 ¶
func (p *TDataServicePutDataArgs) ReadField2(iprot thrift.TProtocol) error
func (*TDataServicePutDataArgs) String ¶
func (p *TDataServicePutDataArgs) String() string
type TDataServicePutDataResult ¶
type TDataServicePutDataResult struct {
Success *TErrorCode `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTDataServicePutDataResult ¶
func NewTDataServicePutDataResult() *TDataServicePutDataResult
func (*TDataServicePutDataResult) GetSuccess ¶
func (p *TDataServicePutDataResult) GetSuccess() TErrorCode
func (*TDataServicePutDataResult) IsSetSuccess ¶
func (p *TDataServicePutDataResult) IsSetSuccess() bool
func (*TDataServicePutDataResult) Read ¶
func (p *TDataServicePutDataResult) Read(iprot thrift.TProtocol) error
func (*TDataServicePutDataResult) ReadField0 ¶
func (p *TDataServicePutDataResult) ReadField0(iprot thrift.TProtocol) error
func (*TDataServicePutDataResult) String ¶
func (p *TDataServicePutDataResult) String() string
type TDataServiceR ¶
type TDataServiceR interface { // Parameters: // - Key GetData(ctx context.Context, key TKey) (r *TDataResult_, err error) }
type TDataServiceRClient ¶
type TDataServiceRClient struct {
// contains filtered or unexported fields
}
func NewTDataServiceRClient ¶
func NewTDataServiceRClient(c thrift.TClient) *TDataServiceRClient
func NewTDataServiceRClientFactory
deprecated
func NewTDataServiceRClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceRClient
Deprecated: Use NewTDataServiceR instead
func NewTDataServiceRClientProtocol
deprecated
func NewTDataServiceRClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceRClient
Deprecated: Use NewTDataServiceR instead
func (*TDataServiceRClient) GetData ¶
func (p *TDataServiceRClient) GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)
Parameters:
- Key
type TDataServiceRGetDataArgs ¶
type TDataServiceRGetDataArgs struct {
Key TKey `thrift:"key,1" db:"key" json:"key"`
}
Attributes:
- Key
func NewTDataServiceRGetDataArgs ¶
func NewTDataServiceRGetDataArgs() *TDataServiceRGetDataArgs
func (*TDataServiceRGetDataArgs) GetKey ¶
func (p *TDataServiceRGetDataArgs) GetKey() TKey
func (*TDataServiceRGetDataArgs) Read ¶
func (p *TDataServiceRGetDataArgs) Read(iprot thrift.TProtocol) error
func (*TDataServiceRGetDataArgs) ReadField1 ¶
func (p *TDataServiceRGetDataArgs) ReadField1(iprot thrift.TProtocol) error
func (*TDataServiceRGetDataArgs) String ¶
func (p *TDataServiceRGetDataArgs) String() string
type TDataServiceRGetDataResult ¶
type TDataServiceRGetDataResult struct {
Success *TDataResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTDataServiceRGetDataResult ¶
func NewTDataServiceRGetDataResult() *TDataServiceRGetDataResult
func (*TDataServiceRGetDataResult) GetSuccess ¶
func (p *TDataServiceRGetDataResult) GetSuccess() *TDataResult_
func (*TDataServiceRGetDataResult) IsSetSuccess ¶
func (p *TDataServiceRGetDataResult) IsSetSuccess() bool
func (*TDataServiceRGetDataResult) Read ¶
func (p *TDataServiceRGetDataResult) Read(iprot thrift.TProtocol) error
func (*TDataServiceRGetDataResult) ReadField0 ¶
func (p *TDataServiceRGetDataResult) ReadField0(iprot thrift.TProtocol) error
func (*TDataServiceRGetDataResult) String ¶
func (p *TDataServiceRGetDataResult) String() string
type TDataServiceRProcessor ¶
type TDataServiceRProcessor struct {
// contains filtered or unexported fields
}
func NewTDataServiceRProcessor ¶
func NewTDataServiceRProcessor(handler TDataServiceR) *TDataServiceRProcessor
func (*TDataServiceRProcessor) AddToProcessorMap ¶
func (p *TDataServiceRProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TDataServiceRProcessor) GetProcessorFunction ¶
func (p *TDataServiceRProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TDataServiceRProcessor) Process ¶
func (p *TDataServiceRProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TDataServiceRProcessor) ProcessorMap ¶
func (p *TDataServiceRProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type TErrorCode ¶
type TErrorCode int64
const ( TErrorCode_EGood TErrorCode = 0 TErrorCode_ENotFound TErrorCode = -1 TErrorCode_EUnknown TErrorCode = -2 TErrorCode_EDataExisted TErrorCode = -3 )
var TDataServicePutDataResult_Success_DEFAULT TErrorCode
func TErrorCodeFromString ¶
func TErrorCodeFromString(s string) (TErrorCode, error)
func TErrorCodePtr ¶
func TErrorCodePtr(v TErrorCode) *TErrorCode
func (TErrorCode) MarshalText ¶
func (p TErrorCode) MarshalText() ([]byte, error)
func (*TErrorCode) Scan ¶
func (p *TErrorCode) Scan(value interface{}) error
func (TErrorCode) String ¶
func (p TErrorCode) String() string
func (*TErrorCode) UnmarshalText ¶
func (p *TErrorCode) UnmarshalText(text []byte) error
type TPlatformProfile ¶
type TPlatformProfile struct { Username string `thrift:"username,1" db:"username" json:"username"` DisplayName string `thrift:"displayName,2" db:"displayName" json:"displayName"` TrustedEmails map[string]bool `thrift:"trustedEmails,3" db:"trustedEmails" json:"trustedEmails"` TrustedMobiles map[string]bool `thrift:"trustedMobiles,4" db:"trustedMobiles" json:"trustedMobiles"` PublicKeys []string `thrift:"publicKeys,5" db:"publicKeys" json:"publicKeys"` ExtData map[string]string `thrift:"ExtData,6" db:"ExtData" json:"ExtData"` ConnectedSocial map[string]*TSocialProfile `thrift:"connectedSocial,7" db:"connectedSocial" json:"connectedSocial"` }
Attributes:
- Username
- DisplayName
- TrustedEmails
- TrustedMobiles
- PublicKeys
- ExtData
- ConnectedSocial
var TDataResult__Data_DEFAULT *TPlatformProfile
var TDataServicePutDataArgs_Data_DEFAULT *TPlatformProfile
func NewTPlatformProfile ¶
func NewTPlatformProfile() *TPlatformProfile
func (*TPlatformProfile) GetConnectedSocial ¶
func (p *TPlatformProfile) GetConnectedSocial() map[string]*TSocialProfile
func (*TPlatformProfile) GetDisplayName ¶
func (p *TPlatformProfile) GetDisplayName() string
func (*TPlatformProfile) GetExtData ¶
func (p *TPlatformProfile) GetExtData() map[string]string
func (*TPlatformProfile) GetPublicKeys ¶
func (p *TPlatformProfile) GetPublicKeys() []string
func (*TPlatformProfile) GetTrustedEmails ¶
func (p *TPlatformProfile) GetTrustedEmails() map[string]bool
func (*TPlatformProfile) GetTrustedMobiles ¶
func (p *TPlatformProfile) GetTrustedMobiles() map[string]bool
func (*TPlatformProfile) GetUsername ¶
func (p *TPlatformProfile) GetUsername() string
func (*TPlatformProfile) ReadField1 ¶
func (p *TPlatformProfile) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfile) ReadField2 ¶
func (p *TPlatformProfile) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfile) ReadField3 ¶
func (p *TPlatformProfile) ReadField3(iprot thrift.TProtocol) error
func (*TPlatformProfile) ReadField4 ¶
func (p *TPlatformProfile) ReadField4(iprot thrift.TProtocol) error
func (*TPlatformProfile) ReadField5 ¶
func (p *TPlatformProfile) ReadField5(iprot thrift.TProtocol) error
func (*TPlatformProfile) ReadField6 ¶
func (p *TPlatformProfile) ReadField6(iprot thrift.TProtocol) error
func (*TPlatformProfile) ReadField7 ¶
func (p *TPlatformProfile) ReadField7(iprot thrift.TProtocol) error
func (*TPlatformProfile) String ¶
func (p *TPlatformProfile) String() string
type TPlatformProfileService ¶
type TPlatformProfileService interface { TDataService // Parameters: // - UID // - ExtKey // - ExtValue SetExtData(ctx context.Context, uid TKey, extKey string, extValue string) (r string, err error) // Parameters: // - UID // - ExtKey GetExtData(ctx context.Context, uid TKey, extKey string) (r string, err error) // Parameters: // - UID // - Email // - IsTrusted SetTrustedEmail(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error) // Parameters: // - UID // - Email RemoveTrustedEmail(ctx context.Context, uid TKey, email string) (r bool, err error) // Parameters: // - UID // - Email // - IsTrusted SetTrustedMobile(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error) // Parameters: // - UID // - Mobile RemoveTrustedMobile(ctx context.Context, uid TKey, mobile string) (r bool, err error) // Parameters: // - UID // - SocialType // - SocialProfile SetSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error) // Parameters: // - UID // - SocialType // - SocialProfile RemoveSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error) }
type TPlatformProfileServiceClient ¶
type TPlatformProfileServiceClient struct { *TDataServiceClient // contains filtered or unexported fields }
func NewTPlatformProfileServiceClient ¶
func NewTPlatformProfileServiceClient(c thrift.TClient) *TPlatformProfileServiceClient
func NewTPlatformProfileServiceClientFactory
deprecated
func NewTPlatformProfileServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TPlatformProfileServiceClient
Deprecated: Use NewTPlatformProfileService instead
func NewTPlatformProfileServiceClientProtocol
deprecated
func NewTPlatformProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TPlatformProfileServiceClient
Deprecated: Use NewTPlatformProfileService instead
func (*TPlatformProfileServiceClient) GetExtData ¶
func (p *TPlatformProfileServiceClient) GetExtData(ctx context.Context, uid TKey, extKey string) (r string, err error)
Parameters:
- UID
- ExtKey
func (*TPlatformProfileServiceClient) RemoveSocialInfo ¶
func (p *TPlatformProfileServiceClient) RemoveSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error)
Parameters:
- UID
- SocialType
- SocialProfile
func (*TPlatformProfileServiceClient) RemoveTrustedEmail ¶
func (p *TPlatformProfileServiceClient) RemoveTrustedEmail(ctx context.Context, uid TKey, email string) (r bool, err error)
Parameters:
- UID
func (*TPlatformProfileServiceClient) RemoveTrustedMobile ¶
func (p *TPlatformProfileServiceClient) RemoveTrustedMobile(ctx context.Context, uid TKey, mobile string) (r bool, err error)
Parameters:
- UID
- Mobile
func (*TPlatformProfileServiceClient) SetExtData ¶
func (p *TPlatformProfileServiceClient) SetExtData(ctx context.Context, uid TKey, extKey string, extValue string) (r string, err error)
Parameters:
- UID
- ExtKey
- ExtValue
func (*TPlatformProfileServiceClient) SetSocialInfo ¶
func (p *TPlatformProfileServiceClient) SetSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error)
Parameters:
- UID
- SocialType
- SocialProfile
func (*TPlatformProfileServiceClient) SetTrustedEmail ¶
func (p *TPlatformProfileServiceClient) SetTrustedEmail(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)
Parameters:
- UID
- IsTrusted
func (*TPlatformProfileServiceClient) SetTrustedMobile ¶
func (p *TPlatformProfileServiceClient) SetTrustedMobile(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)
Parameters:
- UID
- IsTrusted
type TPlatformProfileServiceGetExtDataArgs ¶
type TPlatformProfileServiceGetExtDataArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` ExtKey string `thrift:"extKey,2" db:"extKey" json:"extKey"` }
Attributes:
- UID
- ExtKey
func NewTPlatformProfileServiceGetExtDataArgs ¶
func NewTPlatformProfileServiceGetExtDataArgs() *TPlatformProfileServiceGetExtDataArgs
func (*TPlatformProfileServiceGetExtDataArgs) GetExtKey ¶
func (p *TPlatformProfileServiceGetExtDataArgs) GetExtKey() string
func (*TPlatformProfileServiceGetExtDataArgs) GetUID ¶
func (p *TPlatformProfileServiceGetExtDataArgs) GetUID() TKey
func (*TPlatformProfileServiceGetExtDataArgs) Read ¶
func (p *TPlatformProfileServiceGetExtDataArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceGetExtDataArgs) ReadField1 ¶
func (p *TPlatformProfileServiceGetExtDataArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceGetExtDataArgs) ReadField2 ¶
func (p *TPlatformProfileServiceGetExtDataArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceGetExtDataArgs) String ¶
func (p *TPlatformProfileServiceGetExtDataArgs) String() string
type TPlatformProfileServiceGetExtDataResult ¶
type TPlatformProfileServiceGetExtDataResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceGetExtDataResult ¶
func NewTPlatformProfileServiceGetExtDataResult() *TPlatformProfileServiceGetExtDataResult
func (*TPlatformProfileServiceGetExtDataResult) GetSuccess ¶
func (p *TPlatformProfileServiceGetExtDataResult) GetSuccess() string
func (*TPlatformProfileServiceGetExtDataResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceGetExtDataResult) IsSetSuccess() bool
func (*TPlatformProfileServiceGetExtDataResult) Read ¶
func (p *TPlatformProfileServiceGetExtDataResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceGetExtDataResult) ReadField0 ¶
func (p *TPlatformProfileServiceGetExtDataResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceGetExtDataResult) String ¶
func (p *TPlatformProfileServiceGetExtDataResult) String() string
type TPlatformProfileServiceProcessor ¶
type TPlatformProfileServiceProcessor struct {
*TDataServiceProcessor
}
func NewTPlatformProfileServiceProcessor ¶
func NewTPlatformProfileServiceProcessor(handler TPlatformProfileService) *TPlatformProfileServiceProcessor
type TPlatformProfileServiceRemoveSocialInfoArgs ¶
type TPlatformProfileServiceRemoveSocialInfoArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` SocialType string `thrift:"socialType,2" db:"socialType" json:"socialType"` SocialProfile *TSocialProfile `thrift:"socialProfile,3" db:"socialProfile" json:"socialProfile"` }
Attributes:
- UID
- SocialType
- SocialProfile
func NewTPlatformProfileServiceRemoveSocialInfoArgs ¶
func NewTPlatformProfileServiceRemoveSocialInfoArgs() *TPlatformProfileServiceRemoveSocialInfoArgs
func (*TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialProfile ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialProfile() *TSocialProfile
func (*TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialType ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialType() string
func (*TPlatformProfileServiceRemoveSocialInfoArgs) GetUID ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) GetUID() TKey
func (*TPlatformProfileServiceRemoveSocialInfoArgs) IsSetSocialProfile ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) IsSetSocialProfile() bool
func (*TPlatformProfileServiceRemoveSocialInfoArgs) Read ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveSocialInfoArgs) ReadField1 ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveSocialInfoArgs) ReadField2 ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveSocialInfoArgs) ReadField3 ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) ReadField3(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveSocialInfoArgs) String ¶
func (p *TPlatformProfileServiceRemoveSocialInfoArgs) String() string
type TPlatformProfileServiceRemoveSocialInfoResult ¶
type TPlatformProfileServiceRemoveSocialInfoResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceRemoveSocialInfoResult ¶
func NewTPlatformProfileServiceRemoveSocialInfoResult() *TPlatformProfileServiceRemoveSocialInfoResult
func (*TPlatformProfileServiceRemoveSocialInfoResult) GetSuccess ¶
func (p *TPlatformProfileServiceRemoveSocialInfoResult) GetSuccess() bool
func (*TPlatformProfileServiceRemoveSocialInfoResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceRemoveSocialInfoResult) IsSetSuccess() bool
func (*TPlatformProfileServiceRemoveSocialInfoResult) Read ¶
func (p *TPlatformProfileServiceRemoveSocialInfoResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveSocialInfoResult) ReadField0 ¶
func (p *TPlatformProfileServiceRemoveSocialInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveSocialInfoResult) String ¶
func (p *TPlatformProfileServiceRemoveSocialInfoResult) String() string
type TPlatformProfileServiceRemoveTrustedEmailArgs ¶
type TPlatformProfileServiceRemoveTrustedEmailArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` Email string `thrift:"email,2" db:"email" json:"email"` }
Attributes:
- UID
func NewTPlatformProfileServiceRemoveTrustedEmailArgs ¶
func NewTPlatformProfileServiceRemoveTrustedEmailArgs() *TPlatformProfileServiceRemoveTrustedEmailArgs
func (*TPlatformProfileServiceRemoveTrustedEmailArgs) GetEmail ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) GetEmail() string
func (*TPlatformProfileServiceRemoveTrustedEmailArgs) GetUID ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) GetUID() TKey
func (*TPlatformProfileServiceRemoveTrustedEmailArgs) Read ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField1 ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField2 ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedEmailArgs) String ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailArgs) String() string
type TPlatformProfileServiceRemoveTrustedEmailResult ¶
type TPlatformProfileServiceRemoveTrustedEmailResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceRemoveTrustedEmailResult ¶
func NewTPlatformProfileServiceRemoveTrustedEmailResult() *TPlatformProfileServiceRemoveTrustedEmailResult
func (*TPlatformProfileServiceRemoveTrustedEmailResult) GetSuccess ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailResult) GetSuccess() bool
func (*TPlatformProfileServiceRemoveTrustedEmailResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailResult) IsSetSuccess() bool
func (*TPlatformProfileServiceRemoveTrustedEmailResult) Read ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedEmailResult) ReadField0 ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedEmailResult) String ¶
func (p *TPlatformProfileServiceRemoveTrustedEmailResult) String() string
type TPlatformProfileServiceRemoveTrustedMobileArgs ¶
type TPlatformProfileServiceRemoveTrustedMobileArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` Mobile string `thrift:"mobile,2" db:"mobile" json:"mobile"` }
Attributes:
- UID
- Mobile
func NewTPlatformProfileServiceRemoveTrustedMobileArgs ¶
func NewTPlatformProfileServiceRemoveTrustedMobileArgs() *TPlatformProfileServiceRemoveTrustedMobileArgs
func (*TPlatformProfileServiceRemoveTrustedMobileArgs) GetMobile ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) GetMobile() string
func (*TPlatformProfileServiceRemoveTrustedMobileArgs) GetUID ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) GetUID() TKey
func (*TPlatformProfileServiceRemoveTrustedMobileArgs) Read ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField1 ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField2 ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedMobileArgs) String ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileArgs) String() string
type TPlatformProfileServiceRemoveTrustedMobileResult ¶
type TPlatformProfileServiceRemoveTrustedMobileResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceRemoveTrustedMobileResult ¶
func NewTPlatformProfileServiceRemoveTrustedMobileResult() *TPlatformProfileServiceRemoveTrustedMobileResult
func (*TPlatformProfileServiceRemoveTrustedMobileResult) GetSuccess ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileResult) GetSuccess() bool
func (*TPlatformProfileServiceRemoveTrustedMobileResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileResult) IsSetSuccess() bool
func (*TPlatformProfileServiceRemoveTrustedMobileResult) Read ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedMobileResult) ReadField0 ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceRemoveTrustedMobileResult) String ¶
func (p *TPlatformProfileServiceRemoveTrustedMobileResult) String() string
type TPlatformProfileServiceSetExtDataArgs ¶
type TPlatformProfileServiceSetExtDataArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` ExtKey string `thrift:"extKey,2" db:"extKey" json:"extKey"` ExtValue string `thrift:"extValue,3" db:"extValue" json:"extValue"` }
Attributes:
- UID
- ExtKey
- ExtValue
func NewTPlatformProfileServiceSetExtDataArgs ¶
func NewTPlatformProfileServiceSetExtDataArgs() *TPlatformProfileServiceSetExtDataArgs
func (*TPlatformProfileServiceSetExtDataArgs) GetExtKey ¶
func (p *TPlatformProfileServiceSetExtDataArgs) GetExtKey() string
func (*TPlatformProfileServiceSetExtDataArgs) GetExtValue ¶
func (p *TPlatformProfileServiceSetExtDataArgs) GetExtValue() string
func (*TPlatformProfileServiceSetExtDataArgs) GetUID ¶
func (p *TPlatformProfileServiceSetExtDataArgs) GetUID() TKey
func (*TPlatformProfileServiceSetExtDataArgs) Read ¶
func (p *TPlatformProfileServiceSetExtDataArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetExtDataArgs) ReadField1 ¶
func (p *TPlatformProfileServiceSetExtDataArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetExtDataArgs) ReadField2 ¶
func (p *TPlatformProfileServiceSetExtDataArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetExtDataArgs) ReadField3 ¶
func (p *TPlatformProfileServiceSetExtDataArgs) ReadField3(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetExtDataArgs) String ¶
func (p *TPlatformProfileServiceSetExtDataArgs) String() string
type TPlatformProfileServiceSetExtDataResult ¶
type TPlatformProfileServiceSetExtDataResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceSetExtDataResult ¶
func NewTPlatformProfileServiceSetExtDataResult() *TPlatformProfileServiceSetExtDataResult
func (*TPlatformProfileServiceSetExtDataResult) GetSuccess ¶
func (p *TPlatformProfileServiceSetExtDataResult) GetSuccess() string
func (*TPlatformProfileServiceSetExtDataResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceSetExtDataResult) IsSetSuccess() bool
func (*TPlatformProfileServiceSetExtDataResult) Read ¶
func (p *TPlatformProfileServiceSetExtDataResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetExtDataResult) ReadField0 ¶
func (p *TPlatformProfileServiceSetExtDataResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetExtDataResult) String ¶
func (p *TPlatformProfileServiceSetExtDataResult) String() string
type TPlatformProfileServiceSetSocialInfoArgs ¶
type TPlatformProfileServiceSetSocialInfoArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` SocialType string `thrift:"socialType,2" db:"socialType" json:"socialType"` SocialProfile *TSocialProfile `thrift:"socialProfile,3" db:"socialProfile" json:"socialProfile"` }
Attributes:
- UID
- SocialType
- SocialProfile
func NewTPlatformProfileServiceSetSocialInfoArgs ¶
func NewTPlatformProfileServiceSetSocialInfoArgs() *TPlatformProfileServiceSetSocialInfoArgs
func (*TPlatformProfileServiceSetSocialInfoArgs) GetSocialProfile ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) GetSocialProfile() *TSocialProfile
func (*TPlatformProfileServiceSetSocialInfoArgs) GetSocialType ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) GetSocialType() string
func (*TPlatformProfileServiceSetSocialInfoArgs) GetUID ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) GetUID() TKey
func (*TPlatformProfileServiceSetSocialInfoArgs) IsSetSocialProfile ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) IsSetSocialProfile() bool
func (*TPlatformProfileServiceSetSocialInfoArgs) Read ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetSocialInfoArgs) ReadField1 ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetSocialInfoArgs) ReadField2 ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetSocialInfoArgs) ReadField3 ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) ReadField3(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetSocialInfoArgs) String ¶
func (p *TPlatformProfileServiceSetSocialInfoArgs) String() string
type TPlatformProfileServiceSetSocialInfoResult ¶
type TPlatformProfileServiceSetSocialInfoResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceSetSocialInfoResult ¶
func NewTPlatformProfileServiceSetSocialInfoResult() *TPlatformProfileServiceSetSocialInfoResult
func (*TPlatformProfileServiceSetSocialInfoResult) GetSuccess ¶
func (p *TPlatformProfileServiceSetSocialInfoResult) GetSuccess() bool
func (*TPlatformProfileServiceSetSocialInfoResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceSetSocialInfoResult) IsSetSuccess() bool
func (*TPlatformProfileServiceSetSocialInfoResult) Read ¶
func (p *TPlatformProfileServiceSetSocialInfoResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetSocialInfoResult) ReadField0 ¶
func (p *TPlatformProfileServiceSetSocialInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetSocialInfoResult) String ¶
func (p *TPlatformProfileServiceSetSocialInfoResult) String() string
type TPlatformProfileServiceSetTrustedEmailArgs ¶
type TPlatformProfileServiceSetTrustedEmailArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` Email string `thrift:"email,2" db:"email" json:"email"` IsTrusted bool `thrift:"isTrusted,3" db:"isTrusted" json:"isTrusted"` }
Attributes:
- UID
- IsTrusted
func NewTPlatformProfileServiceSetTrustedEmailArgs ¶
func NewTPlatformProfileServiceSetTrustedEmailArgs() *TPlatformProfileServiceSetTrustedEmailArgs
func (*TPlatformProfileServiceSetTrustedEmailArgs) GetEmail ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) GetEmail() string
func (*TPlatformProfileServiceSetTrustedEmailArgs) GetIsTrusted ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) GetIsTrusted() bool
func (*TPlatformProfileServiceSetTrustedEmailArgs) GetUID ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) GetUID() TKey
func (*TPlatformProfileServiceSetTrustedEmailArgs) Read ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedEmailArgs) ReadField1 ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedEmailArgs) ReadField2 ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedEmailArgs) ReadField3 ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) ReadField3(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedEmailArgs) String ¶
func (p *TPlatformProfileServiceSetTrustedEmailArgs) String() string
type TPlatformProfileServiceSetTrustedEmailResult ¶
type TPlatformProfileServiceSetTrustedEmailResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceSetTrustedEmailResult ¶
func NewTPlatformProfileServiceSetTrustedEmailResult() *TPlatformProfileServiceSetTrustedEmailResult
func (*TPlatformProfileServiceSetTrustedEmailResult) GetSuccess ¶
func (p *TPlatformProfileServiceSetTrustedEmailResult) GetSuccess() bool
func (*TPlatformProfileServiceSetTrustedEmailResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceSetTrustedEmailResult) IsSetSuccess() bool
func (*TPlatformProfileServiceSetTrustedEmailResult) Read ¶
func (p *TPlatformProfileServiceSetTrustedEmailResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedEmailResult) ReadField0 ¶
func (p *TPlatformProfileServiceSetTrustedEmailResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedEmailResult) String ¶
func (p *TPlatformProfileServiceSetTrustedEmailResult) String() string
type TPlatformProfileServiceSetTrustedMobileArgs ¶
type TPlatformProfileServiceSetTrustedMobileArgs struct { UID TKey `thrift:"uid,1" db:"uid" json:"uid"` Email string `thrift:"email,2" db:"email" json:"email"` IsTrusted bool `thrift:"isTrusted,3" db:"isTrusted" json:"isTrusted"` }
Attributes:
- UID
- IsTrusted
func NewTPlatformProfileServiceSetTrustedMobileArgs ¶
func NewTPlatformProfileServiceSetTrustedMobileArgs() *TPlatformProfileServiceSetTrustedMobileArgs
func (*TPlatformProfileServiceSetTrustedMobileArgs) GetEmail ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) GetEmail() string
func (*TPlatformProfileServiceSetTrustedMobileArgs) GetIsTrusted ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) GetIsTrusted() bool
func (*TPlatformProfileServiceSetTrustedMobileArgs) GetUID ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) GetUID() TKey
func (*TPlatformProfileServiceSetTrustedMobileArgs) Read ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedMobileArgs) ReadField1 ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) ReadField1(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedMobileArgs) ReadField2 ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) ReadField2(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedMobileArgs) ReadField3 ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) ReadField3(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedMobileArgs) String ¶
func (p *TPlatformProfileServiceSetTrustedMobileArgs) String() string
type TPlatformProfileServiceSetTrustedMobileResult ¶
type TPlatformProfileServiceSetTrustedMobileResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTPlatformProfileServiceSetTrustedMobileResult ¶
func NewTPlatformProfileServiceSetTrustedMobileResult() *TPlatformProfileServiceSetTrustedMobileResult
func (*TPlatformProfileServiceSetTrustedMobileResult) GetSuccess ¶
func (p *TPlatformProfileServiceSetTrustedMobileResult) GetSuccess() bool
func (*TPlatformProfileServiceSetTrustedMobileResult) IsSetSuccess ¶
func (p *TPlatformProfileServiceSetTrustedMobileResult) IsSetSuccess() bool
func (*TPlatformProfileServiceSetTrustedMobileResult) Read ¶
func (p *TPlatformProfileServiceSetTrustedMobileResult) Read(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedMobileResult) ReadField0 ¶
func (p *TPlatformProfileServiceSetTrustedMobileResult) ReadField0(iprot thrift.TProtocol) error
func (*TPlatformProfileServiceSetTrustedMobileResult) String ¶
func (p *TPlatformProfileServiceSetTrustedMobileResult) String() string
type TSocialProfile ¶
type TSocialProfile struct { Sid string `thrift:"sid,1" db:"sid" json:"sid"` Name string `thrift:"name,2" db:"name" json:"name"` Email string `thrift:"email,3" db:"email" json:"email"` }
Attributes:
- Sid
- Name
var TPlatformProfileServiceRemoveSocialInfoArgs_SocialProfile_DEFAULT *TSocialProfile
var TPlatformProfileServiceSetSocialInfoArgs_SocialProfile_DEFAULT *TSocialProfile
func NewTSocialProfile ¶
func NewTSocialProfile() *TSocialProfile
func (*TSocialProfile) GetEmail ¶
func (p *TSocialProfile) GetEmail() string
func (*TSocialProfile) GetName ¶
func (p *TSocialProfile) GetName() string
func (*TSocialProfile) GetSid ¶
func (p *TSocialProfile) GetSid() string
func (*TSocialProfile) ReadField1 ¶
func (p *TSocialProfile) ReadField1(iprot thrift.TProtocol) error
func (*TSocialProfile) ReadField2 ¶
func (p *TSocialProfile) ReadField2(iprot thrift.TProtocol) error
func (*TSocialProfile) ReadField3 ¶
func (p *TSocialProfile) ReadField3(iprot thrift.TProtocol) error
func (*TSocialProfile) String ¶
func (p *TSocialProfile) String() string