Documentation ¶
Index ¶
- Variables
- type TAddress2UidResult_
- func (p *TAddress2UidResult_) GetAddress() string
- func (p *TAddress2UidResult_) GetErrorCode() TErrorCode
- func (p *TAddress2UidResult_) GetUID() int64
- func (p *TAddress2UidResult_) Read(iprot thrift.TProtocol) error
- func (p *TAddress2UidResult_) ReadField1(iprot thrift.TProtocol) error
- func (p *TAddress2UidResult_) ReadField2(iprot thrift.TProtocol) error
- func (p *TAddress2UidResult_) ReadField3(iprot thrift.TProtocol) error
- func (p *TAddress2UidResult_) String() string
- func (p *TAddress2UidResult_) Write(oprot thrift.TProtocol) error
- type TData
- type TDataResult_
- func (p *TDataResult_) GetData() *TStringValue
- 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
- type TDataServiceProcessor
- func (p *TDataServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TDataServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TDataServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TDataServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type TDataServiceR
- type TDataServiceRClient
- 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 TPubkey2UidResult_
- func (p *TPubkey2UidResult_) GetErrorCode() TErrorCode
- func (p *TPubkey2UidResult_) GetPubkey() string
- func (p *TPubkey2UidResult_) GetUID() int64
- func (p *TPubkey2UidResult_) Read(iprot thrift.TProtocol) error
- func (p *TPubkey2UidResult_) ReadField1(iprot thrift.TProtocol) error
- func (p *TPubkey2UidResult_) ReadField2(iprot thrift.TProtocol) error
- func (p *TPubkey2UidResult_) ReadField3(iprot thrift.TProtocol) error
- func (p *TPubkey2UidResult_) String() string
- func (p *TPubkey2UidResult_) Write(oprot thrift.TProtocol) error
- type TString2StringService
- type TString2StringServiceClient
- func NewTString2StringServiceClient(c thrift.TClient) *TString2StringServiceClient
- func NewTString2StringServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TString2StringServiceClient
- func NewTString2StringServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TString2StringServiceClient
- func (p *TString2StringServiceClient) GetAddress2Uid(ctx context.Context, address TKey) (r *TAddress2UidResult_, err error)
- func (p *TString2StringServiceClient) GetPubkey2Uid(ctx context.Context, pubkey TKey) (r *TPubkey2UidResult_, err error)
- func (p *TString2StringServiceClient) GetUid2Pubkey(ctx context.Context, uid int64) (r *TPubkey2UidResult_, err error)
- func (p *TString2StringServiceClient) PutAddress2Uid(ctx context.Context, address TKey, uid int64) (r TErrorCode, err error)
- func (p *TString2StringServiceClient) PutPubkey2Uid(ctx context.Context, pubkey TKey) (r *TPubkey2UidResult_, err error)
- type TString2StringServiceGetAddress2UidArgs
- func (p *TString2StringServiceGetAddress2UidArgs) GetAddress() TKey
- func (p *TString2StringServiceGetAddress2UidArgs) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetAddress2UidArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetAddress2UidArgs) String() string
- func (p *TString2StringServiceGetAddress2UidArgs) Write(oprot thrift.TProtocol) error
- type TString2StringServiceGetAddress2UidResult
- func (p *TString2StringServiceGetAddress2UidResult) GetSuccess() *TAddress2UidResult_
- func (p *TString2StringServiceGetAddress2UidResult) IsSetSuccess() bool
- func (p *TString2StringServiceGetAddress2UidResult) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetAddress2UidResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetAddress2UidResult) String() string
- func (p *TString2StringServiceGetAddress2UidResult) Write(oprot thrift.TProtocol) error
- type TString2StringServiceGetPubkey2UidArgs
- func (p *TString2StringServiceGetPubkey2UidArgs) GetPubkey() TKey
- func (p *TString2StringServiceGetPubkey2UidArgs) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetPubkey2UidArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetPubkey2UidArgs) String() string
- func (p *TString2StringServiceGetPubkey2UidArgs) Write(oprot thrift.TProtocol) error
- type TString2StringServiceGetPubkey2UidResult
- func (p *TString2StringServiceGetPubkey2UidResult) GetSuccess() *TPubkey2UidResult_
- func (p *TString2StringServiceGetPubkey2UidResult) IsSetSuccess() bool
- func (p *TString2StringServiceGetPubkey2UidResult) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetPubkey2UidResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetPubkey2UidResult) String() string
- func (p *TString2StringServiceGetPubkey2UidResult) Write(oprot thrift.TProtocol) error
- type TString2StringServiceGetUid2PubkeyArgs
- func (p *TString2StringServiceGetUid2PubkeyArgs) GetUID() int64
- func (p *TString2StringServiceGetUid2PubkeyArgs) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetUid2PubkeyArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetUid2PubkeyArgs) String() string
- func (p *TString2StringServiceGetUid2PubkeyArgs) Write(oprot thrift.TProtocol) error
- type TString2StringServiceGetUid2PubkeyResult
- func (p *TString2StringServiceGetUid2PubkeyResult) GetSuccess() *TPubkey2UidResult_
- func (p *TString2StringServiceGetUid2PubkeyResult) IsSetSuccess() bool
- func (p *TString2StringServiceGetUid2PubkeyResult) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetUid2PubkeyResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TString2StringServiceGetUid2PubkeyResult) String() string
- func (p *TString2StringServiceGetUid2PubkeyResult) Write(oprot thrift.TProtocol) error
- type TString2StringServiceProcessor
- type TString2StringServicePutAddress2UidArgs
- func (p *TString2StringServicePutAddress2UidArgs) GetAddress() TKey
- func (p *TString2StringServicePutAddress2UidArgs) GetUID() int64
- func (p *TString2StringServicePutAddress2UidArgs) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutAddress2UidArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutAddress2UidArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutAddress2UidArgs) String() string
- func (p *TString2StringServicePutAddress2UidArgs) Write(oprot thrift.TProtocol) error
- type TString2StringServicePutAddress2UidResult
- func (p *TString2StringServicePutAddress2UidResult) GetSuccess() TErrorCode
- func (p *TString2StringServicePutAddress2UidResult) IsSetSuccess() bool
- func (p *TString2StringServicePutAddress2UidResult) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutAddress2UidResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutAddress2UidResult) String() string
- func (p *TString2StringServicePutAddress2UidResult) Write(oprot thrift.TProtocol) error
- type TString2StringServicePutPubkey2UidArgs
- func (p *TString2StringServicePutPubkey2UidArgs) GetPubkey() TKey
- func (p *TString2StringServicePutPubkey2UidArgs) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutPubkey2UidArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutPubkey2UidArgs) String() string
- func (p *TString2StringServicePutPubkey2UidArgs) Write(oprot thrift.TProtocol) error
- type TString2StringServicePutPubkey2UidResult
- func (p *TString2StringServicePutPubkey2UidResult) GetSuccess() *TPubkey2UidResult_
- func (p *TString2StringServicePutPubkey2UidResult) IsSetSuccess() bool
- func (p *TString2StringServicePutPubkey2UidResult) Read(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutPubkey2UidResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TString2StringServicePutPubkey2UidResult) String() string
- func (p *TString2StringServicePutPubkey2UidResult) Write(oprot thrift.TProtocol) error
- type TStringValue
- func (p *TStringValue) GetCounter() int64
- func (p *TStringValue) GetKey() TKey
- func (p *TStringValue) GetValue() string
- func (p *TStringValue) Read(iprot thrift.TProtocol) error
- func (p *TStringValue) ReadField1(iprot thrift.TProtocol) error
- func (p *TStringValue) ReadField2(iprot thrift.TProtocol) error
- func (p *TStringValue) ReadField3(iprot thrift.TProtocol) error
- func (p *TStringValue) String() string
- func (p *TStringValue) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type TAddress2UidResult_ ¶
type TAddress2UidResult_ struct { ErrorCode TErrorCode `thrift:"errorCode,1" db:"errorCode" json:"errorCode"` Address string `thrift:"address,2" db:"address" json:"address"` UID int64 `thrift:"uid,3" db:"uid" json:"uid"` }
Attributes:
- ErrorCode
- Address
- UID
var TString2StringServiceGetAddress2UidResult_Success_DEFAULT *TAddress2UidResult_
func NewTAddress2UidResult_ ¶
func NewTAddress2UidResult_() *TAddress2UidResult_
func (*TAddress2UidResult_) GetAddress ¶
func (p *TAddress2UidResult_) GetAddress() string
func (*TAddress2UidResult_) GetErrorCode ¶
func (p *TAddress2UidResult_) GetErrorCode() TErrorCode
func (*TAddress2UidResult_) GetUID ¶
func (p *TAddress2UidResult_) GetUID() int64
func (*TAddress2UidResult_) ReadField1 ¶
func (p *TAddress2UidResult_) ReadField1(iprot thrift.TProtocol) error
func (*TAddress2UidResult_) ReadField2 ¶
func (p *TAddress2UidResult_) ReadField2(iprot thrift.TProtocol) error
func (*TAddress2UidResult_) ReadField3 ¶
func (p *TAddress2UidResult_) ReadField3(iprot thrift.TProtocol) error
func (*TAddress2UidResult_) String ¶
func (p *TAddress2UidResult_) String() string
type TDataResult_ ¶
type TDataResult_ struct { ErrorCode TErrorCode `thrift:"errorCode,1" db:"errorCode" json:"errorCode"` Data *TStringValue `thrift:"data,2" db:"data" json:"data,omitempty"` }
Attributes:
- ErrorCode
- Data
func NewTDataResult_ ¶
func NewTDataResult_() *TDataResult_
func (*TDataResult_) GetData ¶
func (p *TDataResult_) GetData() *TStringValue
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{}
type TDataServiceClient ¶
type TDataServiceClient struct {
// contains filtered or unexported fields
}
func NewTDataServiceClient ¶
func NewTDataServiceClient(c thrift.TClient) *TDataServiceClient
func NewTDataServiceClientFactory ¶
func NewTDataServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceClient
func NewTDataServiceClientProtocol ¶
func NewTDataServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceClient
func (*TDataServiceClient) Client_ ¶
func (p *TDataServiceClient) Client_() thrift.TClient
type TDataServiceProcessor ¶
type TDataServiceProcessor struct {
// contains filtered or unexported fields
}
func NewTDataServiceProcessor ¶
func NewTDataServiceProcessor(handler TDataService) *TDataServiceProcessor
func (*TDataServiceProcessor) AddToProcessorMap ¶
func (p *TDataServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TDataServiceProcessor) GetProcessorFunction ¶
func (p *TDataServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TDataServiceProcessor) Process ¶
func (p *TDataServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TDataServiceProcessor) ProcessorMap ¶
func (p *TDataServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type TDataServiceR ¶
type TDataServiceR interface{}
type TDataServiceRClient ¶
type TDataServiceRClient struct {
// contains filtered or unexported fields
}
func NewTDataServiceRClient ¶
func NewTDataServiceRClient(c thrift.TClient) *TDataServiceRClient
func NewTDataServiceRClientFactory ¶
func NewTDataServiceRClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceRClient
func NewTDataServiceRClientProtocol ¶
func NewTDataServiceRClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceRClient
func (*TDataServiceRClient) Client_ ¶
func (p *TDataServiceRClient) Client_() thrift.TClient
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 TString2StringServicePutAddress2UidResult_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 TPubkey2UidResult_ ¶
type TPubkey2UidResult_ struct { ErrorCode TErrorCode `thrift:"errorCode,1" db:"errorCode" json:"errorCode"` Pubkey string `thrift:"pubkey,2" db:"pubkey" json:"pubkey"` UID int64 `thrift:"uid,3" db:"uid" json:"uid"` }
Attributes:
- ErrorCode
- Pubkey
- UID
var TString2StringServiceGetPubkey2UidResult_Success_DEFAULT *TPubkey2UidResult_
var TString2StringServiceGetUid2PubkeyResult_Success_DEFAULT *TPubkey2UidResult_
var TString2StringServicePutPubkey2UidResult_Success_DEFAULT *TPubkey2UidResult_
func NewTPubkey2UidResult_ ¶
func NewTPubkey2UidResult_() *TPubkey2UidResult_
func (*TPubkey2UidResult_) GetErrorCode ¶
func (p *TPubkey2UidResult_) GetErrorCode() TErrorCode
func (*TPubkey2UidResult_) GetPubkey ¶
func (p *TPubkey2UidResult_) GetPubkey() string
func (*TPubkey2UidResult_) GetUID ¶
func (p *TPubkey2UidResult_) GetUID() int64
func (*TPubkey2UidResult_) ReadField1 ¶
func (p *TPubkey2UidResult_) ReadField1(iprot thrift.TProtocol) error
func (*TPubkey2UidResult_) ReadField2 ¶
func (p *TPubkey2UidResult_) ReadField2(iprot thrift.TProtocol) error
func (*TPubkey2UidResult_) ReadField3 ¶
func (p *TPubkey2UidResult_) ReadField3(iprot thrift.TProtocol) error
func (*TPubkey2UidResult_) String ¶
func (p *TPubkey2UidResult_) String() string
type TString2StringService ¶
type TString2StringService interface { TDataService // Parameters: // - Pubkey PutPubkey2Uid(ctx context.Context, pubkey TKey) (r *TPubkey2UidResult_, err error) // Parameters: // - Address // - UID PutAddress2Uid(ctx context.Context, address TKey, uid int64) (r TErrorCode, err error) // Parameters: // - Address GetAddress2Uid(ctx context.Context, address TKey) (r *TAddress2UidResult_, err error) // Parameters: // - Pubkey GetPubkey2Uid(ctx context.Context, pubkey TKey) (r *TPubkey2UidResult_, err error) // Parameters: // - UID GetUid2Pubkey(ctx context.Context, uid int64) (r *TPubkey2UidResult_, err error) }
type TString2StringServiceClient ¶
type TString2StringServiceClient struct {
*TDataServiceClient
}
func NewTString2StringServiceClient ¶
func NewTString2StringServiceClient(c thrift.TClient) *TString2StringServiceClient
func NewTString2StringServiceClientFactory ¶
func NewTString2StringServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TString2StringServiceClient
func NewTString2StringServiceClientProtocol ¶
func NewTString2StringServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TString2StringServiceClient
func (*TString2StringServiceClient) GetAddress2Uid ¶
func (p *TString2StringServiceClient) GetAddress2Uid(ctx context.Context, address TKey) (r *TAddress2UidResult_, err error)
Parameters:
- Address
func (*TString2StringServiceClient) GetPubkey2Uid ¶
func (p *TString2StringServiceClient) GetPubkey2Uid(ctx context.Context, pubkey TKey) (r *TPubkey2UidResult_, err error)
Parameters:
- Pubkey
func (*TString2StringServiceClient) GetUid2Pubkey ¶
func (p *TString2StringServiceClient) GetUid2Pubkey(ctx context.Context, uid int64) (r *TPubkey2UidResult_, err error)
Parameters:
- UID
func (*TString2StringServiceClient) PutAddress2Uid ¶
func (p *TString2StringServiceClient) PutAddress2Uid(ctx context.Context, address TKey, uid int64) (r TErrorCode, err error)
Parameters:
- Address
- UID
func (*TString2StringServiceClient) PutPubkey2Uid ¶
func (p *TString2StringServiceClient) PutPubkey2Uid(ctx context.Context, pubkey TKey) (r *TPubkey2UidResult_, err error)
Parameters:
- Pubkey
type TString2StringServiceGetAddress2UidArgs ¶
type TString2StringServiceGetAddress2UidArgs struct {
Address TKey `thrift:"address,1" db:"address" json:"address"`
}
Attributes:
- Address
func NewTString2StringServiceGetAddress2UidArgs ¶
func NewTString2StringServiceGetAddress2UidArgs() *TString2StringServiceGetAddress2UidArgs
func (*TString2StringServiceGetAddress2UidArgs) GetAddress ¶
func (p *TString2StringServiceGetAddress2UidArgs) GetAddress() TKey
func (*TString2StringServiceGetAddress2UidArgs) Read ¶
func (p *TString2StringServiceGetAddress2UidArgs) Read(iprot thrift.TProtocol) error
func (*TString2StringServiceGetAddress2UidArgs) ReadField1 ¶
func (p *TString2StringServiceGetAddress2UidArgs) ReadField1(iprot thrift.TProtocol) error
func (*TString2StringServiceGetAddress2UidArgs) String ¶
func (p *TString2StringServiceGetAddress2UidArgs) String() string
type TString2StringServiceGetAddress2UidResult ¶
type TString2StringServiceGetAddress2UidResult struct {
Success *TAddress2UidResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTString2StringServiceGetAddress2UidResult ¶
func NewTString2StringServiceGetAddress2UidResult() *TString2StringServiceGetAddress2UidResult
func (*TString2StringServiceGetAddress2UidResult) GetSuccess ¶
func (p *TString2StringServiceGetAddress2UidResult) GetSuccess() *TAddress2UidResult_
func (*TString2StringServiceGetAddress2UidResult) IsSetSuccess ¶
func (p *TString2StringServiceGetAddress2UidResult) IsSetSuccess() bool
func (*TString2StringServiceGetAddress2UidResult) Read ¶
func (p *TString2StringServiceGetAddress2UidResult) Read(iprot thrift.TProtocol) error
func (*TString2StringServiceGetAddress2UidResult) ReadField0 ¶
func (p *TString2StringServiceGetAddress2UidResult) ReadField0(iprot thrift.TProtocol) error
func (*TString2StringServiceGetAddress2UidResult) String ¶
func (p *TString2StringServiceGetAddress2UidResult) String() string
type TString2StringServiceGetPubkey2UidArgs ¶
type TString2StringServiceGetPubkey2UidArgs struct {
Pubkey TKey `thrift:"pubkey,1" db:"pubkey" json:"pubkey"`
}
Attributes:
- Pubkey
func NewTString2StringServiceGetPubkey2UidArgs ¶
func NewTString2StringServiceGetPubkey2UidArgs() *TString2StringServiceGetPubkey2UidArgs
func (*TString2StringServiceGetPubkey2UidArgs) GetPubkey ¶
func (p *TString2StringServiceGetPubkey2UidArgs) GetPubkey() TKey
func (*TString2StringServiceGetPubkey2UidArgs) Read ¶
func (p *TString2StringServiceGetPubkey2UidArgs) Read(iprot thrift.TProtocol) error
func (*TString2StringServiceGetPubkey2UidArgs) ReadField1 ¶
func (p *TString2StringServiceGetPubkey2UidArgs) ReadField1(iprot thrift.TProtocol) error
func (*TString2StringServiceGetPubkey2UidArgs) String ¶
func (p *TString2StringServiceGetPubkey2UidArgs) String() string
type TString2StringServiceGetPubkey2UidResult ¶
type TString2StringServiceGetPubkey2UidResult struct {
Success *TPubkey2UidResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTString2StringServiceGetPubkey2UidResult ¶
func NewTString2StringServiceGetPubkey2UidResult() *TString2StringServiceGetPubkey2UidResult
func (*TString2StringServiceGetPubkey2UidResult) GetSuccess ¶
func (p *TString2StringServiceGetPubkey2UidResult) GetSuccess() *TPubkey2UidResult_
func (*TString2StringServiceGetPubkey2UidResult) IsSetSuccess ¶
func (p *TString2StringServiceGetPubkey2UidResult) IsSetSuccess() bool
func (*TString2StringServiceGetPubkey2UidResult) Read ¶
func (p *TString2StringServiceGetPubkey2UidResult) Read(iprot thrift.TProtocol) error
func (*TString2StringServiceGetPubkey2UidResult) ReadField0 ¶
func (p *TString2StringServiceGetPubkey2UidResult) ReadField0(iprot thrift.TProtocol) error
func (*TString2StringServiceGetPubkey2UidResult) String ¶
func (p *TString2StringServiceGetPubkey2UidResult) String() string
type TString2StringServiceGetUid2PubkeyArgs ¶
type TString2StringServiceGetUid2PubkeyArgs struct {
UID int64 `thrift:"uid,1" db:"uid" json:"uid"`
}
Attributes:
- UID
func NewTString2StringServiceGetUid2PubkeyArgs ¶
func NewTString2StringServiceGetUid2PubkeyArgs() *TString2StringServiceGetUid2PubkeyArgs
func (*TString2StringServiceGetUid2PubkeyArgs) GetUID ¶
func (p *TString2StringServiceGetUid2PubkeyArgs) GetUID() int64
func (*TString2StringServiceGetUid2PubkeyArgs) Read ¶
func (p *TString2StringServiceGetUid2PubkeyArgs) Read(iprot thrift.TProtocol) error
func (*TString2StringServiceGetUid2PubkeyArgs) ReadField1 ¶
func (p *TString2StringServiceGetUid2PubkeyArgs) ReadField1(iprot thrift.TProtocol) error
func (*TString2StringServiceGetUid2PubkeyArgs) String ¶
func (p *TString2StringServiceGetUid2PubkeyArgs) String() string
type TString2StringServiceGetUid2PubkeyResult ¶
type TString2StringServiceGetUid2PubkeyResult struct {
Success *TPubkey2UidResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTString2StringServiceGetUid2PubkeyResult ¶
func NewTString2StringServiceGetUid2PubkeyResult() *TString2StringServiceGetUid2PubkeyResult
func (*TString2StringServiceGetUid2PubkeyResult) GetSuccess ¶
func (p *TString2StringServiceGetUid2PubkeyResult) GetSuccess() *TPubkey2UidResult_
func (*TString2StringServiceGetUid2PubkeyResult) IsSetSuccess ¶
func (p *TString2StringServiceGetUid2PubkeyResult) IsSetSuccess() bool
func (*TString2StringServiceGetUid2PubkeyResult) Read ¶
func (p *TString2StringServiceGetUid2PubkeyResult) Read(iprot thrift.TProtocol) error
func (*TString2StringServiceGetUid2PubkeyResult) ReadField0 ¶
func (p *TString2StringServiceGetUid2PubkeyResult) ReadField0(iprot thrift.TProtocol) error
func (*TString2StringServiceGetUid2PubkeyResult) String ¶
func (p *TString2StringServiceGetUid2PubkeyResult) String() string
type TString2StringServiceProcessor ¶
type TString2StringServiceProcessor struct {
*TDataServiceProcessor
}
func NewTString2StringServiceProcessor ¶
func NewTString2StringServiceProcessor(handler TString2StringService) *TString2StringServiceProcessor
type TString2StringServicePutAddress2UidArgs ¶
type TString2StringServicePutAddress2UidArgs struct { Address TKey `thrift:"address,1" db:"address" json:"address"` UID int64 `thrift:"uid,2" db:"uid" json:"uid"` }
Attributes:
- Address
- UID
func NewTString2StringServicePutAddress2UidArgs ¶
func NewTString2StringServicePutAddress2UidArgs() *TString2StringServicePutAddress2UidArgs
func (*TString2StringServicePutAddress2UidArgs) GetAddress ¶
func (p *TString2StringServicePutAddress2UidArgs) GetAddress() TKey
func (*TString2StringServicePutAddress2UidArgs) GetUID ¶
func (p *TString2StringServicePutAddress2UidArgs) GetUID() int64
func (*TString2StringServicePutAddress2UidArgs) Read ¶
func (p *TString2StringServicePutAddress2UidArgs) Read(iprot thrift.TProtocol) error
func (*TString2StringServicePutAddress2UidArgs) ReadField1 ¶
func (p *TString2StringServicePutAddress2UidArgs) ReadField1(iprot thrift.TProtocol) error
func (*TString2StringServicePutAddress2UidArgs) ReadField2 ¶
func (p *TString2StringServicePutAddress2UidArgs) ReadField2(iprot thrift.TProtocol) error
func (*TString2StringServicePutAddress2UidArgs) String ¶
func (p *TString2StringServicePutAddress2UidArgs) String() string
type TString2StringServicePutAddress2UidResult ¶
type TString2StringServicePutAddress2UidResult struct {
Success *TErrorCode `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTString2StringServicePutAddress2UidResult ¶
func NewTString2StringServicePutAddress2UidResult() *TString2StringServicePutAddress2UidResult
func (*TString2StringServicePutAddress2UidResult) GetSuccess ¶
func (p *TString2StringServicePutAddress2UidResult) GetSuccess() TErrorCode
func (*TString2StringServicePutAddress2UidResult) IsSetSuccess ¶
func (p *TString2StringServicePutAddress2UidResult) IsSetSuccess() bool
func (*TString2StringServicePutAddress2UidResult) Read ¶
func (p *TString2StringServicePutAddress2UidResult) Read(iprot thrift.TProtocol) error
func (*TString2StringServicePutAddress2UidResult) ReadField0 ¶
func (p *TString2StringServicePutAddress2UidResult) ReadField0(iprot thrift.TProtocol) error
func (*TString2StringServicePutAddress2UidResult) String ¶
func (p *TString2StringServicePutAddress2UidResult) String() string
type TString2StringServicePutPubkey2UidArgs ¶
type TString2StringServicePutPubkey2UidArgs struct {
Pubkey TKey `thrift:"pubkey,1" db:"pubkey" json:"pubkey"`
}
Attributes:
- Pubkey
func NewTString2StringServicePutPubkey2UidArgs ¶
func NewTString2StringServicePutPubkey2UidArgs() *TString2StringServicePutPubkey2UidArgs
func (*TString2StringServicePutPubkey2UidArgs) GetPubkey ¶
func (p *TString2StringServicePutPubkey2UidArgs) GetPubkey() TKey
func (*TString2StringServicePutPubkey2UidArgs) Read ¶
func (p *TString2StringServicePutPubkey2UidArgs) Read(iprot thrift.TProtocol) error
func (*TString2StringServicePutPubkey2UidArgs) ReadField1 ¶
func (p *TString2StringServicePutPubkey2UidArgs) ReadField1(iprot thrift.TProtocol) error
func (*TString2StringServicePutPubkey2UidArgs) String ¶
func (p *TString2StringServicePutPubkey2UidArgs) String() string
type TString2StringServicePutPubkey2UidResult ¶
type TString2StringServicePutPubkey2UidResult struct {
Success *TPubkey2UidResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTString2StringServicePutPubkey2UidResult ¶
func NewTString2StringServicePutPubkey2UidResult() *TString2StringServicePutPubkey2UidResult
func (*TString2StringServicePutPubkey2UidResult) GetSuccess ¶
func (p *TString2StringServicePutPubkey2UidResult) GetSuccess() *TPubkey2UidResult_
func (*TString2StringServicePutPubkey2UidResult) IsSetSuccess ¶
func (p *TString2StringServicePutPubkey2UidResult) IsSetSuccess() bool
func (*TString2StringServicePutPubkey2UidResult) Read ¶
func (p *TString2StringServicePutPubkey2UidResult) Read(iprot thrift.TProtocol) error
func (*TString2StringServicePutPubkey2UidResult) ReadField0 ¶
func (p *TString2StringServicePutPubkey2UidResult) ReadField0(iprot thrift.TProtocol) error
func (*TString2StringServicePutPubkey2UidResult) String ¶
func (p *TString2StringServicePutPubkey2UidResult) String() string
type TStringValue ¶
type TStringValue struct { Key TKey `thrift:"key,1" db:"key" json:"key"` Value string `thrift:"value,2" db:"value" json:"value"` Counter int64 `thrift:"counter,3" db:"counter" json:"counter"` }
Attributes:
- Key
- Value
- Counter
var TDataResult__Data_DEFAULT *TStringValue
func NewTStringValue ¶
func NewTStringValue() *TStringValue
func (*TStringValue) GetCounter ¶
func (p *TStringValue) GetCounter() int64
func (*TStringValue) GetKey ¶
func (p *TStringValue) GetKey() TKey
func (*TStringValue) GetValue ¶
func (p *TStringValue) GetValue() string
func (*TStringValue) ReadField1 ¶
func (p *TStringValue) ReadField1(iprot thrift.TProtocol) error
func (*TStringValue) ReadField2 ¶
func (p *TStringValue) ReadField2(iprot thrift.TProtocol) error
func (*TStringValue) ReadField3 ¶
func (p *TStringValue) ReadField3(iprot thrift.TProtocol) error
func (*TStringValue) String ¶
func (p *TStringValue) String() string
Click to show internal directories.
Click to hide internal directories.