Documentation ¶
Index ¶
- Variables
- type ActionRequest
- func (p *ActionRequest) BLength() int
- func (p *ActionRequest) DeepEqual(ano *ActionRequest) bool
- func (p *ActionRequest) FastRead(buf []byte) (int, error)
- func (p *ActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *ActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *ActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *ActionRequest) FastWrite(buf []byte) int
- func (p *ActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ActionRequest) Field1DeepEqual(src string) bool
- func (p *ActionRequest) Field2DeepEqual(src int64) bool
- func (p *ActionRequest) Field3DeepEqual(src int32) bool
- func (p *ActionRequest) GetActionType() (v int32)
- func (p *ActionRequest) GetToUserId() (v int64)
- func (p *ActionRequest) GetToken() (v string)
- func (p *ActionRequest) InitDefault()
- func (p *ActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *ActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *ActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *ActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *ActionRequest) SetActionType(val int32)
- func (p *ActionRequest) SetToUserId(val int64)
- func (p *ActionRequest) SetToken(val string)
- func (p *ActionRequest) String() string
- func (p *ActionRequest) Write(oprot thrift.TProtocol) (err error)
- type ActionResponse
- func (p *ActionResponse) BLength() int
- func (p *ActionResponse) DeepEqual(ano *ActionResponse) bool
- func (p *ActionResponse) FastRead(buf []byte) (int, error)
- func (p *ActionResponse) FastReadField1(buf []byte) (int, error)
- func (p *ActionResponse) FastReadField2(buf []byte) (int, error)
- func (p *ActionResponse) FastWrite(buf []byte) int
- func (p *ActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ActionResponse) Field1DeepEqual(src int32) bool
- func (p *ActionResponse) Field2DeepEqual(src *string) bool
- func (p *ActionResponse) GetStatusCode() (v int32)
- func (p *ActionResponse) GetStatusMsg() (v string)
- func (p *ActionResponse) InitDefault()
- func (p *ActionResponse) IsSetStatusMsg() bool
- func (p *ActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *ActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *ActionResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *ActionResponse) SetStatusCode(val int32)
- func (p *ActionResponse) SetStatusMsg(val *string)
- func (p *ActionResponse) String() string
- func (p *ActionResponse) Write(oprot thrift.TProtocol) (err error)
- type FollowListRequest
- func (p *FollowListRequest) BLength() int
- func (p *FollowListRequest) DeepEqual(ano *FollowListRequest) bool
- func (p *FollowListRequest) FastRead(buf []byte) (int, error)
- func (p *FollowListRequest) FastReadField1(buf []byte) (int, error)
- func (p *FollowListRequest) FastReadField2(buf []byte) (int, error)
- func (p *FollowListRequest) FastWrite(buf []byte) int
- func (p *FollowListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FollowListRequest) Field1DeepEqual(src int64) bool
- func (p *FollowListRequest) Field2DeepEqual(src string) bool
- func (p *FollowListRequest) GetToken() (v string)
- func (p *FollowListRequest) GetUserId() (v int64)
- func (p *FollowListRequest) InitDefault()
- func (p *FollowListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowListRequest) SetToken(val string)
- func (p *FollowListRequest) SetUserId(val int64)
- func (p *FollowListRequest) String() string
- func (p *FollowListRequest) Write(oprot thrift.TProtocol) (err error)
- type FollowListResponse
- func (p *FollowListResponse) BLength() int
- func (p *FollowListResponse) DeepEqual(ano *FollowListResponse) bool
- func (p *FollowListResponse) FastRead(buf []byte) (int, error)
- func (p *FollowListResponse) FastReadField1(buf []byte) (int, error)
- func (p *FollowListResponse) FastReadField2(buf []byte) (int, error)
- func (p *FollowListResponse) FastReadField3(buf []byte) (int, error)
- func (p *FollowListResponse) FastWrite(buf []byte) int
- func (p *FollowListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FollowListResponse) Field1DeepEqual(src int32) bool
- func (p *FollowListResponse) Field2DeepEqual(src *string) bool
- func (p *FollowListResponse) Field3DeepEqual(src []*user.User) bool
- func (p *FollowListResponse) GetStatusCode() (v int32)
- func (p *FollowListResponse) GetStatusMsg() (v string)
- func (p *FollowListResponse) GetUserList() (v []*user.User)
- func (p *FollowListResponse) InitDefault()
- func (p *FollowListResponse) IsSetStatusMsg() bool
- func (p *FollowListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FollowListResponse) SetStatusCode(val int32)
- func (p *FollowListResponse) SetStatusMsg(val *string)
- func (p *FollowListResponse) SetUserList(val []*user.User)
- func (p *FollowListResponse) String() string
- func (p *FollowListResponse) Write(oprot thrift.TProtocol) (err error)
- type FollowerListRequest
- func (p *FollowerListRequest) BLength() int
- func (p *FollowerListRequest) DeepEqual(ano *FollowerListRequest) bool
- func (p *FollowerListRequest) FastRead(buf []byte) (int, error)
- func (p *FollowerListRequest) FastReadField1(buf []byte) (int, error)
- func (p *FollowerListRequest) FastReadField2(buf []byte) (int, error)
- func (p *FollowerListRequest) FastWrite(buf []byte) int
- func (p *FollowerListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FollowerListRequest) Field1DeepEqual(src int64) bool
- func (p *FollowerListRequest) Field2DeepEqual(src string) bool
- func (p *FollowerListRequest) GetToken() (v string)
- func (p *FollowerListRequest) GetUserId() (v int64)
- func (p *FollowerListRequest) InitDefault()
- func (p *FollowerListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowerListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowerListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowerListRequest) SetToken(val string)
- func (p *FollowerListRequest) SetUserId(val int64)
- func (p *FollowerListRequest) String() string
- func (p *FollowerListRequest) Write(oprot thrift.TProtocol) (err error)
- type FollowerListResponse
- func (p *FollowerListResponse) BLength() int
- func (p *FollowerListResponse) DeepEqual(ano *FollowerListResponse) bool
- func (p *FollowerListResponse) FastRead(buf []byte) (int, error)
- func (p *FollowerListResponse) FastReadField1(buf []byte) (int, error)
- func (p *FollowerListResponse) FastReadField2(buf []byte) (int, error)
- func (p *FollowerListResponse) FastReadField3(buf []byte) (int, error)
- func (p *FollowerListResponse) FastWrite(buf []byte) int
- func (p *FollowerListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FollowerListResponse) Field1DeepEqual(src int32) bool
- func (p *FollowerListResponse) Field2DeepEqual(src *string) bool
- func (p *FollowerListResponse) Field3DeepEqual(src []*user.User) bool
- func (p *FollowerListResponse) GetStatusCode() (v int32)
- func (p *FollowerListResponse) GetStatusMsg() (v string)
- func (p *FollowerListResponse) GetUserList() (v []*user.User)
- func (p *FollowerListResponse) InitDefault()
- func (p *FollowerListResponse) IsSetStatusMsg() bool
- func (p *FollowerListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowerListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowerListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowerListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FollowerListResponse) SetStatusCode(val int32)
- func (p *FollowerListResponse) SetStatusMsg(val *string)
- func (p *FollowerListResponse) SetUserList(val []*user.User)
- func (p *FollowerListResponse) String() string
- func (p *FollowerListResponse) Write(oprot thrift.TProtocol) (err error)
- type FriendListRequest
- func (p *FriendListRequest) BLength() int
- func (p *FriendListRequest) DeepEqual(ano *FriendListRequest) bool
- func (p *FriendListRequest) FastRead(buf []byte) (int, error)
- func (p *FriendListRequest) FastReadField1(buf []byte) (int, error)
- func (p *FriendListRequest) FastReadField2(buf []byte) (int, error)
- func (p *FriendListRequest) FastWrite(buf []byte) int
- func (p *FriendListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FriendListRequest) Field1DeepEqual(src int64) bool
- func (p *FriendListRequest) Field2DeepEqual(src string) bool
- func (p *FriendListRequest) GetToken() (v string)
- func (p *FriendListRequest) GetUserId() (v int64)
- func (p *FriendListRequest) InitDefault()
- func (p *FriendListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FriendListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FriendListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FriendListRequest) SetToken(val string)
- func (p *FriendListRequest) SetUserId(val int64)
- func (p *FriendListRequest) String() string
- func (p *FriendListRequest) Write(oprot thrift.TProtocol) (err error)
- type FriendListResponse
- func (p *FriendListResponse) BLength() int
- func (p *FriendListResponse) DeepEqual(ano *FriendListResponse) bool
- func (p *FriendListResponse) FastRead(buf []byte) (int, error)
- func (p *FriendListResponse) FastReadField1(buf []byte) (int, error)
- func (p *FriendListResponse) FastReadField2(buf []byte) (int, error)
- func (p *FriendListResponse) FastReadField3(buf []byte) (int, error)
- func (p *FriendListResponse) FastWrite(buf []byte) int
- func (p *FriendListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FriendListResponse) Field1DeepEqual(src int32) bool
- func (p *FriendListResponse) Field2DeepEqual(src *string) bool
- func (p *FriendListResponse) Field3DeepEqual(src []*FriendUser) bool
- func (p *FriendListResponse) GetStatusCode() (v int32)
- func (p *FriendListResponse) GetStatusMsg() (v string)
- func (p *FriendListResponse) GetUserList() (v []*FriendUser)
- func (p *FriendListResponse) InitDefault()
- func (p *FriendListResponse) IsSetStatusMsg() bool
- func (p *FriendListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FriendListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FriendListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FriendListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FriendListResponse) SetStatusCode(val int32)
- func (p *FriendListResponse) SetStatusMsg(val *string)
- func (p *FriendListResponse) SetUserList(val []*FriendUser)
- func (p *FriendListResponse) String() string
- func (p *FriendListResponse) Write(oprot thrift.TProtocol) (err error)
- type FriendUser
- func (p *FriendUser) BLength() int
- func (p *FriendUser) DeepEqual(ano *FriendUser) bool
- func (p *FriendUser) FastRead(buf []byte) (int, error)
- func (p *FriendUser) FastReadField1(buf []byte) (int, error)
- func (p *FriendUser) FastReadField10(buf []byte) (int, error)
- func (p *FriendUser) FastReadField11(buf []byte) (int, error)
- func (p *FriendUser) FastReadField12(buf []byte) (int, error)
- func (p *FriendUser) FastReadField13(buf []byte) (int, error)
- func (p *FriendUser) FastReadField2(buf []byte) (int, error)
- func (p *FriendUser) FastReadField3(buf []byte) (int, error)
- func (p *FriendUser) FastReadField4(buf []byte) (int, error)
- func (p *FriendUser) FastReadField5(buf []byte) (int, error)
- func (p *FriendUser) FastReadField6(buf []byte) (int, error)
- func (p *FriendUser) FastReadField7(buf []byte) (int, error)
- func (p *FriendUser) FastReadField8(buf []byte) (int, error)
- func (p *FriendUser) FastReadField9(buf []byte) (int, error)
- func (p *FriendUser) FastWrite(buf []byte) int
- func (p *FriendUser) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FriendUser) Field10DeepEqual(src *int64) bool
- func (p *FriendUser) Field11DeepEqual(src *int64) bool
- func (p *FriendUser) Field12DeepEqual(src *string) bool
- func (p *FriendUser) Field13DeepEqual(src int64) bool
- func (p *FriendUser) Field1DeepEqual(src int64) bool
- func (p *FriendUser) Field2DeepEqual(src string) bool
- func (p *FriendUser) Field3DeepEqual(src *int64) bool
- func (p *FriendUser) Field4DeepEqual(src *int64) bool
- func (p *FriendUser) Field5DeepEqual(src bool) bool
- func (p *FriendUser) Field6DeepEqual(src *string) bool
- func (p *FriendUser) Field7DeepEqual(src *string) bool
- func (p *FriendUser) Field8DeepEqual(src *string) bool
- func (p *FriendUser) Field9DeepEqual(src *int64) bool
- func (p *FriendUser) GetAvatar() (v string)
- func (p *FriendUser) GetBackgroundImage() (v string)
- func (p *FriendUser) GetFavoriteCount() (v int64)
- func (p *FriendUser) GetFollowCount() (v int64)
- func (p *FriendUser) GetFollowerCount() (v int64)
- func (p *FriendUser) GetId() (v int64)
- func (p *FriendUser) GetIsFollow() (v bool)
- func (p *FriendUser) GetMessage() (v string)
- func (p *FriendUser) GetMsgType() (v int64)
- func (p *FriendUser) GetName() (v string)
- func (p *FriendUser) GetSignature() (v string)
- func (p *FriendUser) GetTotalFavorited() (v int64)
- func (p *FriendUser) GetWorkCount() (v int64)
- func (p *FriendUser) InitDefault()
- func (p *FriendUser) IsSetAvatar() bool
- func (p *FriendUser) IsSetBackgroundImage() bool
- func (p *FriendUser) IsSetFavoriteCount() bool
- func (p *FriendUser) IsSetFollowCount() bool
- func (p *FriendUser) IsSetFollowerCount() bool
- func (p *FriendUser) IsSetMessage() bool
- func (p *FriendUser) IsSetSignature() bool
- func (p *FriendUser) IsSetTotalFavorited() bool
- func (p *FriendUser) IsSetWorkCount() bool
- func (p *FriendUser) Read(iprot thrift.TProtocol) (err error)
- func (p *FriendUser) ReadField1(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField10(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField11(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField12(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField13(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField2(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField3(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField4(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField5(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField6(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField7(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField8(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField9(iprot thrift.TProtocol) error
- func (p *FriendUser) SetAvatar(val *string)
- func (p *FriendUser) SetBackgroundImage(val *string)
- func (p *FriendUser) SetFavoriteCount(val *int64)
- func (p *FriendUser) SetFollowCount(val *int64)
- func (p *FriendUser) SetFollowerCount(val *int64)
- func (p *FriendUser) SetId(val int64)
- func (p *FriendUser) SetIsFollow(val bool)
- func (p *FriendUser) SetMessage(val *string)
- func (p *FriendUser) SetMsgType(val int64)
- func (p *FriendUser) SetName(val string)
- func (p *FriendUser) SetSignature(val *string)
- func (p *FriendUser) SetTotalFavorited(val *int64)
- func (p *FriendUser) SetWorkCount(val *int64)
- func (p *FriendUser) String() string
- func (p *FriendUser) Write(oprot thrift.TProtocol) (err error)
- type RelationService
- type RelationServiceClient
- func NewRelationServiceClient(c thrift.TClient) *RelationServiceClient
- func NewRelationServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *RelationServiceClient
- func NewRelationServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *RelationServiceClient
- func (p *RelationServiceClient) Client_() thrift.TClient
- func (p *RelationServiceClient) RelationAction(ctx context.Context, req *ActionRequest) (r *ActionResponse, err error)
- func (p *RelationServiceClient) RelationFollowList(ctx context.Context, req *FollowListRequest) (r *FollowListResponse, err error)
- func (p *RelationServiceClient) RelationFollowerList(ctx context.Context, req *FollowerListRequest) (r *FollowerListResponse, err error)
- func (p *RelationServiceClient) RelationFriendList(ctx context.Context, req *FriendListRequest) (r *FriendListResponse, err error)
- type RelationServiceProcessor
- func (p *RelationServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *RelationServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *RelationServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *RelationServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type RelationServiceRelationActionArgs
- func (p *RelationServiceRelationActionArgs) BLength() int
- func (p *RelationServiceRelationActionArgs) DeepEqual(ano *RelationServiceRelationActionArgs) bool
- func (p *RelationServiceRelationActionArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceRelationActionArgs) FastWrite(buf []byte) int
- func (p *RelationServiceRelationActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationActionArgs) Field1DeepEqual(src *ActionRequest) bool
- func (p *RelationServiceRelationActionArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationActionArgs) GetReq() (v *ActionRequest)
- func (p *RelationServiceRelationActionArgs) InitDefault()
- func (p *RelationServiceRelationActionArgs) IsSetReq() bool
- func (p *RelationServiceRelationActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationActionArgs) SetReq(val *ActionRequest)
- func (p *RelationServiceRelationActionArgs) String() string
- func (p *RelationServiceRelationActionArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationActionResult
- func (p *RelationServiceRelationActionResult) BLength() int
- func (p *RelationServiceRelationActionResult) DeepEqual(ano *RelationServiceRelationActionResult) bool
- func (p *RelationServiceRelationActionResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationActionResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceRelationActionResult) FastWrite(buf []byte) int
- func (p *RelationServiceRelationActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationActionResult) Field0DeepEqual(src *ActionResponse) bool
- func (p *RelationServiceRelationActionResult) GetResult() interface{}
- func (p *RelationServiceRelationActionResult) GetSuccess() (v *ActionResponse)
- func (p *RelationServiceRelationActionResult) InitDefault()
- func (p *RelationServiceRelationActionResult) IsSetSuccess() bool
- func (p *RelationServiceRelationActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationActionResult) SetSuccess(x interface{})
- func (p *RelationServiceRelationActionResult) String() string
- func (p *RelationServiceRelationActionResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationFollowListArgs
- func (p *RelationServiceRelationFollowListArgs) BLength() int
- func (p *RelationServiceRelationFollowListArgs) DeepEqual(ano *RelationServiceRelationFollowListArgs) bool
- func (p *RelationServiceRelationFollowListArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowListArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowListArgs) FastWrite(buf []byte) int
- func (p *RelationServiceRelationFollowListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationFollowListArgs) Field1DeepEqual(src *FollowListRequest) bool
- func (p *RelationServiceRelationFollowListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationFollowListArgs) GetReq() (v *FollowListRequest)
- func (p *RelationServiceRelationFollowListArgs) InitDefault()
- func (p *RelationServiceRelationFollowListArgs) IsSetReq() bool
- func (p *RelationServiceRelationFollowListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationFollowListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationFollowListArgs) SetReq(val *FollowListRequest)
- func (p *RelationServiceRelationFollowListArgs) String() string
- func (p *RelationServiceRelationFollowListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationFollowListResult
- func (p *RelationServiceRelationFollowListResult) BLength() int
- func (p *RelationServiceRelationFollowListResult) DeepEqual(ano *RelationServiceRelationFollowListResult) bool
- func (p *RelationServiceRelationFollowListResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowListResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowListResult) FastWrite(buf []byte) int
- func (p *RelationServiceRelationFollowListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationFollowListResult) Field0DeepEqual(src *FollowListResponse) bool
- func (p *RelationServiceRelationFollowListResult) GetResult() interface{}
- func (p *RelationServiceRelationFollowListResult) GetSuccess() (v *FollowListResponse)
- func (p *RelationServiceRelationFollowListResult) InitDefault()
- func (p *RelationServiceRelationFollowListResult) IsSetSuccess() bool
- func (p *RelationServiceRelationFollowListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationFollowListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationFollowListResult) SetSuccess(x interface{})
- func (p *RelationServiceRelationFollowListResult) String() string
- func (p *RelationServiceRelationFollowListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationFollowerListArgs
- func (p *RelationServiceRelationFollowerListArgs) BLength() int
- func (p *RelationServiceRelationFollowerListArgs) DeepEqual(ano *RelationServiceRelationFollowerListArgs) bool
- func (p *RelationServiceRelationFollowerListArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowerListArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowerListArgs) FastWrite(buf []byte) int
- func (p *RelationServiceRelationFollowerListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationFollowerListArgs) Field1DeepEqual(src *FollowerListRequest) bool
- func (p *RelationServiceRelationFollowerListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationFollowerListArgs) GetReq() (v *FollowerListRequest)
- func (p *RelationServiceRelationFollowerListArgs) InitDefault()
- func (p *RelationServiceRelationFollowerListArgs) IsSetReq() bool
- func (p *RelationServiceRelationFollowerListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationFollowerListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationFollowerListArgs) SetReq(val *FollowerListRequest)
- func (p *RelationServiceRelationFollowerListArgs) String() string
- func (p *RelationServiceRelationFollowerListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationFollowerListResult
- func (p *RelationServiceRelationFollowerListResult) BLength() int
- func (p *RelationServiceRelationFollowerListResult) DeepEqual(ano *RelationServiceRelationFollowerListResult) bool
- func (p *RelationServiceRelationFollowerListResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowerListResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceRelationFollowerListResult) FastWrite(buf []byte) int
- func (p *RelationServiceRelationFollowerListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationFollowerListResult) Field0DeepEqual(src *FollowerListResponse) bool
- func (p *RelationServiceRelationFollowerListResult) GetResult() interface{}
- func (p *RelationServiceRelationFollowerListResult) GetSuccess() (v *FollowerListResponse)
- func (p *RelationServiceRelationFollowerListResult) InitDefault()
- func (p *RelationServiceRelationFollowerListResult) IsSetSuccess() bool
- func (p *RelationServiceRelationFollowerListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationFollowerListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationFollowerListResult) SetSuccess(x interface{})
- func (p *RelationServiceRelationFollowerListResult) String() string
- func (p *RelationServiceRelationFollowerListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationFriendListArgs
- func (p *RelationServiceRelationFriendListArgs) BLength() int
- func (p *RelationServiceRelationFriendListArgs) DeepEqual(ano *RelationServiceRelationFriendListArgs) bool
- func (p *RelationServiceRelationFriendListArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationFriendListArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceRelationFriendListArgs) FastWrite(buf []byte) int
- func (p *RelationServiceRelationFriendListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationFriendListArgs) Field1DeepEqual(src *FriendListRequest) bool
- func (p *RelationServiceRelationFriendListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationFriendListArgs) GetReq() (v *FriendListRequest)
- func (p *RelationServiceRelationFriendListArgs) InitDefault()
- func (p *RelationServiceRelationFriendListArgs) IsSetReq() bool
- func (p *RelationServiceRelationFriendListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationFriendListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationFriendListArgs) SetReq(val *FriendListRequest)
- func (p *RelationServiceRelationFriendListArgs) String() string
- func (p *RelationServiceRelationFriendListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceRelationFriendListResult
- func (p *RelationServiceRelationFriendListResult) BLength() int
- func (p *RelationServiceRelationFriendListResult) DeepEqual(ano *RelationServiceRelationFriendListResult) bool
- func (p *RelationServiceRelationFriendListResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceRelationFriendListResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceRelationFriendListResult) FastWrite(buf []byte) int
- func (p *RelationServiceRelationFriendListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceRelationFriendListResult) Field0DeepEqual(src *FriendListResponse) bool
- func (p *RelationServiceRelationFriendListResult) GetResult() interface{}
- func (p *RelationServiceRelationFriendListResult) GetSuccess() (v *FriendListResponse)
- func (p *RelationServiceRelationFriendListResult) InitDefault()
- func (p *RelationServiceRelationFriendListResult) IsSetSuccess() bool
- func (p *RelationServiceRelationFriendListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceRelationFriendListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceRelationFriendListResult) SetSuccess(x interface{})
- func (p *RelationServiceRelationFriendListResult) String() string
- func (p *RelationServiceRelationFriendListResult) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionResponse_StatusMsg_DEFAULT string
View Source
var FollowListResponse_StatusMsg_DEFAULT string
View Source
var FollowerListResponse_StatusMsg_DEFAULT string
View Source
var FriendListResponse_StatusMsg_DEFAULT string
View Source
var FriendUser_Avatar_DEFAULT string
View Source
var FriendUser_BackgroundImage_DEFAULT string
View Source
var FriendUser_FavoriteCount_DEFAULT int64
View Source
var FriendUser_FollowCount_DEFAULT int64
View Source
var FriendUser_FollowerCount_DEFAULT int64
View Source
var FriendUser_Message_DEFAULT string
View Source
var FriendUser_Signature_DEFAULT string
View Source
var FriendUser_TotalFavorited_DEFAULT int64
View Source
var FriendUser_WorkCount_DEFAULT int64
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type ActionRequest ¶
type ActionRequest struct { Token string `thrift:"token,1,required" frugal:"1,required,string" json:"token"` ToUserId int64 `thrift:"to_user_id,2,required" frugal:"2,required,i64" json:"to_user_id"` ActionType int32 `thrift:"action_type,3,required" frugal:"3,required,i32" json:"action_type"` }
var RelationServiceRelationActionArgs_Req_DEFAULT *ActionRequest
func NewActionRequest ¶
func NewActionRequest() *ActionRequest
func (*ActionRequest) BLength ¶
func (p *ActionRequest) BLength() int
func (*ActionRequest) DeepEqual ¶
func (p *ActionRequest) DeepEqual(ano *ActionRequest) bool
func (*ActionRequest) FastReadField1 ¶
func (p *ActionRequest) FastReadField1(buf []byte) (int, error)
func (*ActionRequest) FastReadField2 ¶
func (p *ActionRequest) FastReadField2(buf []byte) (int, error)
func (*ActionRequest) FastReadField3 ¶
func (p *ActionRequest) FastReadField3(buf []byte) (int, error)
func (*ActionRequest) FastWrite ¶
func (p *ActionRequest) FastWrite(buf []byte) int
for compatibility
func (*ActionRequest) FastWriteNocopy ¶
func (p *ActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ActionRequest) Field1DeepEqual ¶
func (p *ActionRequest) Field1DeepEqual(src string) bool
func (*ActionRequest) Field2DeepEqual ¶
func (p *ActionRequest) Field2DeepEqual(src int64) bool
func (*ActionRequest) Field3DeepEqual ¶
func (p *ActionRequest) Field3DeepEqual(src int32) bool
func (*ActionRequest) GetActionType ¶
func (p *ActionRequest) GetActionType() (v int32)
func (*ActionRequest) GetToUserId ¶
func (p *ActionRequest) GetToUserId() (v int64)
func (*ActionRequest) GetToken ¶
func (p *ActionRequest) GetToken() (v string)
func (*ActionRequest) InitDefault ¶
func (p *ActionRequest) InitDefault()
func (*ActionRequest) ReadField1 ¶
func (p *ActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*ActionRequest) ReadField2 ¶
func (p *ActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*ActionRequest) ReadField3 ¶
func (p *ActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*ActionRequest) SetActionType ¶
func (p *ActionRequest) SetActionType(val int32)
func (*ActionRequest) SetToUserId ¶
func (p *ActionRequest) SetToUserId(val int64)
func (*ActionRequest) SetToken ¶
func (p *ActionRequest) SetToken(val string)
func (*ActionRequest) String ¶
func (p *ActionRequest) String() string
type ActionResponse ¶
type ActionResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` }
var RelationServiceRelationActionResult_Success_DEFAULT *ActionResponse
func NewActionResponse ¶
func NewActionResponse() *ActionResponse
func (*ActionResponse) BLength ¶
func (p *ActionResponse) BLength() int
func (*ActionResponse) DeepEqual ¶
func (p *ActionResponse) DeepEqual(ano *ActionResponse) bool
func (*ActionResponse) FastReadField1 ¶
func (p *ActionResponse) FastReadField1(buf []byte) (int, error)
func (*ActionResponse) FastReadField2 ¶
func (p *ActionResponse) FastReadField2(buf []byte) (int, error)
func (*ActionResponse) FastWrite ¶
func (p *ActionResponse) FastWrite(buf []byte) int
for compatibility
func (*ActionResponse) FastWriteNocopy ¶
func (p *ActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ActionResponse) Field1DeepEqual ¶
func (p *ActionResponse) Field1DeepEqual(src int32) bool
func (*ActionResponse) Field2DeepEqual ¶
func (p *ActionResponse) Field2DeepEqual(src *string) bool
func (*ActionResponse) GetStatusCode ¶
func (p *ActionResponse) GetStatusCode() (v int32)
func (*ActionResponse) GetStatusMsg ¶
func (p *ActionResponse) GetStatusMsg() (v string)
func (*ActionResponse) InitDefault ¶
func (p *ActionResponse) InitDefault()
func (*ActionResponse) IsSetStatusMsg ¶
func (p *ActionResponse) IsSetStatusMsg() bool
func (*ActionResponse) ReadField1 ¶
func (p *ActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*ActionResponse) ReadField2 ¶
func (p *ActionResponse) ReadField2(iprot thrift.TProtocol) error
func (*ActionResponse) SetStatusCode ¶
func (p *ActionResponse) SetStatusCode(val int32)
func (*ActionResponse) SetStatusMsg ¶
func (p *ActionResponse) SetStatusMsg(val *string)
func (*ActionResponse) String ¶
func (p *ActionResponse) String() string
type FollowListRequest ¶
type FollowListRequest struct { UserId int64 `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"` Token string `thrift:"token,2,required" frugal:"2,required,string" json:"token"` }
var RelationServiceRelationFollowListArgs_Req_DEFAULT *FollowListRequest
func NewFollowListRequest ¶
func NewFollowListRequest() *FollowListRequest
func (*FollowListRequest) BLength ¶
func (p *FollowListRequest) BLength() int
func (*FollowListRequest) DeepEqual ¶
func (p *FollowListRequest) DeepEqual(ano *FollowListRequest) bool
func (*FollowListRequest) FastReadField1 ¶
func (p *FollowListRequest) FastReadField1(buf []byte) (int, error)
func (*FollowListRequest) FastReadField2 ¶
func (p *FollowListRequest) FastReadField2(buf []byte) (int, error)
func (*FollowListRequest) FastWrite ¶
func (p *FollowListRequest) FastWrite(buf []byte) int
for compatibility
func (*FollowListRequest) FastWriteNocopy ¶
func (p *FollowListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FollowListRequest) Field1DeepEqual ¶
func (p *FollowListRequest) Field1DeepEqual(src int64) bool
func (*FollowListRequest) Field2DeepEqual ¶
func (p *FollowListRequest) Field2DeepEqual(src string) bool
func (*FollowListRequest) GetToken ¶
func (p *FollowListRequest) GetToken() (v string)
func (*FollowListRequest) GetUserId ¶
func (p *FollowListRequest) GetUserId() (v int64)
func (*FollowListRequest) InitDefault ¶
func (p *FollowListRequest) InitDefault()
func (*FollowListRequest) Read ¶
func (p *FollowListRequest) Read(iprot thrift.TProtocol) (err error)
func (*FollowListRequest) ReadField1 ¶
func (p *FollowListRequest) ReadField1(iprot thrift.TProtocol) error
func (*FollowListRequest) ReadField2 ¶
func (p *FollowListRequest) ReadField2(iprot thrift.TProtocol) error
func (*FollowListRequest) SetToken ¶
func (p *FollowListRequest) SetToken(val string)
func (*FollowListRequest) SetUserId ¶
func (p *FollowListRequest) SetUserId(val int64)
func (*FollowListRequest) String ¶
func (p *FollowListRequest) String() string
type FollowListResponse ¶
type FollowListResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserList []*user.User `thrift:"user_list,3,required" frugal:"3,required,list<user.User>" json:"user_list"` }
var RelationServiceRelationFollowListResult_Success_DEFAULT *FollowListResponse
func NewFollowListResponse ¶
func NewFollowListResponse() *FollowListResponse
func (*FollowListResponse) BLength ¶
func (p *FollowListResponse) BLength() int
func (*FollowListResponse) DeepEqual ¶
func (p *FollowListResponse) DeepEqual(ano *FollowListResponse) bool
func (*FollowListResponse) FastRead ¶
func (p *FollowListResponse) FastRead(buf []byte) (int, error)
func (*FollowListResponse) FastReadField1 ¶
func (p *FollowListResponse) FastReadField1(buf []byte) (int, error)
func (*FollowListResponse) FastReadField2 ¶
func (p *FollowListResponse) FastReadField2(buf []byte) (int, error)
func (*FollowListResponse) FastReadField3 ¶
func (p *FollowListResponse) FastReadField3(buf []byte) (int, error)
func (*FollowListResponse) FastWrite ¶
func (p *FollowListResponse) FastWrite(buf []byte) int
for compatibility
func (*FollowListResponse) FastWriteNocopy ¶
func (p *FollowListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FollowListResponse) Field1DeepEqual ¶
func (p *FollowListResponse) Field1DeepEqual(src int32) bool
func (*FollowListResponse) Field2DeepEqual ¶
func (p *FollowListResponse) Field2DeepEqual(src *string) bool
func (*FollowListResponse) Field3DeepEqual ¶
func (p *FollowListResponse) Field3DeepEqual(src []*user.User) bool
func (*FollowListResponse) GetStatusCode ¶
func (p *FollowListResponse) GetStatusCode() (v int32)
func (*FollowListResponse) GetStatusMsg ¶
func (p *FollowListResponse) GetStatusMsg() (v string)
func (*FollowListResponse) GetUserList ¶
func (p *FollowListResponse) GetUserList() (v []*user.User)
func (*FollowListResponse) InitDefault ¶
func (p *FollowListResponse) InitDefault()
func (*FollowListResponse) IsSetStatusMsg ¶
func (p *FollowListResponse) IsSetStatusMsg() bool
func (*FollowListResponse) Read ¶
func (p *FollowListResponse) Read(iprot thrift.TProtocol) (err error)
func (*FollowListResponse) ReadField1 ¶
func (p *FollowListResponse) ReadField1(iprot thrift.TProtocol) error
func (*FollowListResponse) ReadField2 ¶
func (p *FollowListResponse) ReadField2(iprot thrift.TProtocol) error
func (*FollowListResponse) ReadField3 ¶
func (p *FollowListResponse) ReadField3(iprot thrift.TProtocol) error
func (*FollowListResponse) SetStatusCode ¶
func (p *FollowListResponse) SetStatusCode(val int32)
func (*FollowListResponse) SetStatusMsg ¶
func (p *FollowListResponse) SetStatusMsg(val *string)
func (*FollowListResponse) SetUserList ¶
func (p *FollowListResponse) SetUserList(val []*user.User)
func (*FollowListResponse) String ¶
func (p *FollowListResponse) String() string
type FollowerListRequest ¶
type FollowerListRequest struct { UserId int64 `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"` Token string `thrift:"token,2,required" frugal:"2,required,string" json:"token"` }
var RelationServiceRelationFollowerListArgs_Req_DEFAULT *FollowerListRequest
func NewFollowerListRequest ¶
func NewFollowerListRequest() *FollowerListRequest
func (*FollowerListRequest) BLength ¶
func (p *FollowerListRequest) BLength() int
func (*FollowerListRequest) DeepEqual ¶
func (p *FollowerListRequest) DeepEqual(ano *FollowerListRequest) bool
func (*FollowerListRequest) FastRead ¶
func (p *FollowerListRequest) FastRead(buf []byte) (int, error)
func (*FollowerListRequest) FastReadField1 ¶
func (p *FollowerListRequest) FastReadField1(buf []byte) (int, error)
func (*FollowerListRequest) FastReadField2 ¶
func (p *FollowerListRequest) FastReadField2(buf []byte) (int, error)
func (*FollowerListRequest) FastWrite ¶
func (p *FollowerListRequest) FastWrite(buf []byte) int
for compatibility
func (*FollowerListRequest) FastWriteNocopy ¶
func (p *FollowerListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FollowerListRequest) Field1DeepEqual ¶
func (p *FollowerListRequest) Field1DeepEqual(src int64) bool
func (*FollowerListRequest) Field2DeepEqual ¶
func (p *FollowerListRequest) Field2DeepEqual(src string) bool
func (*FollowerListRequest) GetToken ¶
func (p *FollowerListRequest) GetToken() (v string)
func (*FollowerListRequest) GetUserId ¶
func (p *FollowerListRequest) GetUserId() (v int64)
func (*FollowerListRequest) InitDefault ¶
func (p *FollowerListRequest) InitDefault()
func (*FollowerListRequest) Read ¶
func (p *FollowerListRequest) Read(iprot thrift.TProtocol) (err error)
func (*FollowerListRequest) ReadField1 ¶
func (p *FollowerListRequest) ReadField1(iprot thrift.TProtocol) error
func (*FollowerListRequest) ReadField2 ¶
func (p *FollowerListRequest) ReadField2(iprot thrift.TProtocol) error
func (*FollowerListRequest) SetToken ¶
func (p *FollowerListRequest) SetToken(val string)
func (*FollowerListRequest) SetUserId ¶
func (p *FollowerListRequest) SetUserId(val int64)
func (*FollowerListRequest) String ¶
func (p *FollowerListRequest) String() string
type FollowerListResponse ¶
type FollowerListResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserList []*user.User `thrift:"user_list,3,required" frugal:"3,required,list<user.User>" json:"user_list"` }
var RelationServiceRelationFollowerListResult_Success_DEFAULT *FollowerListResponse
func NewFollowerListResponse ¶
func NewFollowerListResponse() *FollowerListResponse
func (*FollowerListResponse) BLength ¶
func (p *FollowerListResponse) BLength() int
func (*FollowerListResponse) DeepEqual ¶
func (p *FollowerListResponse) DeepEqual(ano *FollowerListResponse) bool
func (*FollowerListResponse) FastRead ¶
func (p *FollowerListResponse) FastRead(buf []byte) (int, error)
func (*FollowerListResponse) FastReadField1 ¶
func (p *FollowerListResponse) FastReadField1(buf []byte) (int, error)
func (*FollowerListResponse) FastReadField2 ¶
func (p *FollowerListResponse) FastReadField2(buf []byte) (int, error)
func (*FollowerListResponse) FastReadField3 ¶
func (p *FollowerListResponse) FastReadField3(buf []byte) (int, error)
func (*FollowerListResponse) FastWrite ¶
func (p *FollowerListResponse) FastWrite(buf []byte) int
for compatibility
func (*FollowerListResponse) FastWriteNocopy ¶
func (p *FollowerListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FollowerListResponse) Field1DeepEqual ¶
func (p *FollowerListResponse) Field1DeepEqual(src int32) bool
func (*FollowerListResponse) Field2DeepEqual ¶
func (p *FollowerListResponse) Field2DeepEqual(src *string) bool
func (*FollowerListResponse) Field3DeepEqual ¶
func (p *FollowerListResponse) Field3DeepEqual(src []*user.User) bool
func (*FollowerListResponse) GetStatusCode ¶
func (p *FollowerListResponse) GetStatusCode() (v int32)
func (*FollowerListResponse) GetStatusMsg ¶
func (p *FollowerListResponse) GetStatusMsg() (v string)
func (*FollowerListResponse) GetUserList ¶
func (p *FollowerListResponse) GetUserList() (v []*user.User)
func (*FollowerListResponse) InitDefault ¶
func (p *FollowerListResponse) InitDefault()
func (*FollowerListResponse) IsSetStatusMsg ¶
func (p *FollowerListResponse) IsSetStatusMsg() bool
func (*FollowerListResponse) Read ¶
func (p *FollowerListResponse) Read(iprot thrift.TProtocol) (err error)
func (*FollowerListResponse) ReadField1 ¶
func (p *FollowerListResponse) ReadField1(iprot thrift.TProtocol) error
func (*FollowerListResponse) ReadField2 ¶
func (p *FollowerListResponse) ReadField2(iprot thrift.TProtocol) error
func (*FollowerListResponse) ReadField3 ¶
func (p *FollowerListResponse) ReadField3(iprot thrift.TProtocol) error
func (*FollowerListResponse) SetStatusCode ¶
func (p *FollowerListResponse) SetStatusCode(val int32)
func (*FollowerListResponse) SetStatusMsg ¶
func (p *FollowerListResponse) SetStatusMsg(val *string)
func (*FollowerListResponse) SetUserList ¶
func (p *FollowerListResponse) SetUserList(val []*user.User)
func (*FollowerListResponse) String ¶
func (p *FollowerListResponse) String() string
type FriendListRequest ¶
type FriendListRequest struct { UserId int64 `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"` Token string `thrift:"token,2,required" frugal:"2,required,string" json:"token"` }
var RelationServiceRelationFriendListArgs_Req_DEFAULT *FriendListRequest
func NewFriendListRequest ¶
func NewFriendListRequest() *FriendListRequest
func (*FriendListRequest) BLength ¶
func (p *FriendListRequest) BLength() int
func (*FriendListRequest) DeepEqual ¶
func (p *FriendListRequest) DeepEqual(ano *FriendListRequest) bool
func (*FriendListRequest) FastReadField1 ¶
func (p *FriendListRequest) FastReadField1(buf []byte) (int, error)
func (*FriendListRequest) FastReadField2 ¶
func (p *FriendListRequest) FastReadField2(buf []byte) (int, error)
func (*FriendListRequest) FastWrite ¶
func (p *FriendListRequest) FastWrite(buf []byte) int
for compatibility
func (*FriendListRequest) FastWriteNocopy ¶
func (p *FriendListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FriendListRequest) Field1DeepEqual ¶
func (p *FriendListRequest) Field1DeepEqual(src int64) bool
func (*FriendListRequest) Field2DeepEqual ¶
func (p *FriendListRequest) Field2DeepEqual(src string) bool
func (*FriendListRequest) GetToken ¶
func (p *FriendListRequest) GetToken() (v string)
func (*FriendListRequest) GetUserId ¶
func (p *FriendListRequest) GetUserId() (v int64)
func (*FriendListRequest) InitDefault ¶
func (p *FriendListRequest) InitDefault()
func (*FriendListRequest) Read ¶
func (p *FriendListRequest) Read(iprot thrift.TProtocol) (err error)
func (*FriendListRequest) ReadField1 ¶
func (p *FriendListRequest) ReadField1(iprot thrift.TProtocol) error
func (*FriendListRequest) ReadField2 ¶
func (p *FriendListRequest) ReadField2(iprot thrift.TProtocol) error
func (*FriendListRequest) SetToken ¶
func (p *FriendListRequest) SetToken(val string)
func (*FriendListRequest) SetUserId ¶
func (p *FriendListRequest) SetUserId(val int64)
func (*FriendListRequest) String ¶
func (p *FriendListRequest) String() string
type FriendListResponse ¶
type FriendListResponse struct { StatusCode int32 `thrift:"status_code,1,required" frugal:"1,required,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserList []*FriendUser `thrift:"user_list,3,required" frugal:"3,required,list<FriendUser>" json:"user_list"` }
var RelationServiceRelationFriendListResult_Success_DEFAULT *FriendListResponse
func NewFriendListResponse ¶
func NewFriendListResponse() *FriendListResponse
func (*FriendListResponse) BLength ¶
func (p *FriendListResponse) BLength() int
func (*FriendListResponse) DeepEqual ¶
func (p *FriendListResponse) DeepEqual(ano *FriendListResponse) bool
func (*FriendListResponse) FastRead ¶
func (p *FriendListResponse) FastRead(buf []byte) (int, error)
func (*FriendListResponse) FastReadField1 ¶
func (p *FriendListResponse) FastReadField1(buf []byte) (int, error)
func (*FriendListResponse) FastReadField2 ¶
func (p *FriendListResponse) FastReadField2(buf []byte) (int, error)
func (*FriendListResponse) FastReadField3 ¶
func (p *FriendListResponse) FastReadField3(buf []byte) (int, error)
func (*FriendListResponse) FastWrite ¶
func (p *FriendListResponse) FastWrite(buf []byte) int
for compatibility
func (*FriendListResponse) FastWriteNocopy ¶
func (p *FriendListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FriendListResponse) Field1DeepEqual ¶
func (p *FriendListResponse) Field1DeepEqual(src int32) bool
func (*FriendListResponse) Field2DeepEqual ¶
func (p *FriendListResponse) Field2DeepEqual(src *string) bool
func (*FriendListResponse) Field3DeepEqual ¶
func (p *FriendListResponse) Field3DeepEqual(src []*FriendUser) bool
func (*FriendListResponse) GetStatusCode ¶
func (p *FriendListResponse) GetStatusCode() (v int32)
func (*FriendListResponse) GetStatusMsg ¶
func (p *FriendListResponse) GetStatusMsg() (v string)
func (*FriendListResponse) GetUserList ¶
func (p *FriendListResponse) GetUserList() (v []*FriendUser)
func (*FriendListResponse) InitDefault ¶
func (p *FriendListResponse) InitDefault()
func (*FriendListResponse) IsSetStatusMsg ¶
func (p *FriendListResponse) IsSetStatusMsg() bool
func (*FriendListResponse) Read ¶
func (p *FriendListResponse) Read(iprot thrift.TProtocol) (err error)
func (*FriendListResponse) ReadField1 ¶
func (p *FriendListResponse) ReadField1(iprot thrift.TProtocol) error
func (*FriendListResponse) ReadField2 ¶
func (p *FriendListResponse) ReadField2(iprot thrift.TProtocol) error
func (*FriendListResponse) ReadField3 ¶
func (p *FriendListResponse) ReadField3(iprot thrift.TProtocol) error
func (*FriendListResponse) SetStatusCode ¶
func (p *FriendListResponse) SetStatusCode(val int32)
func (*FriendListResponse) SetStatusMsg ¶
func (p *FriendListResponse) SetStatusMsg(val *string)
func (*FriendListResponse) SetUserList ¶
func (p *FriendListResponse) SetUserList(val []*FriendUser)
func (*FriendListResponse) String ¶
func (p *FriendListResponse) String() string
type FriendUser ¶
type FriendUser struct { Id int64 `thrift:"id,1,required" frugal:"1,required,i64" json:"id"` Name string `thrift:"name,2,required" frugal:"2,required,string" json:"name"` FollowCount *int64 `thrift:"follow_count,3,optional" frugal:"3,optional,i64" json:"follow_count,omitempty"` FollowerCount *int64 `thrift:"follower_count,4,optional" frugal:"4,optional,i64" json:"follower_count,omitempty"` IsFollow bool `thrift:"is_follow,5,required" frugal:"5,required,bool" json:"is_follow"` Avatar *string `thrift:"avatar,6,optional" frugal:"6,optional,string" json:"avatar,omitempty"` BackgroundImage *string `thrift:"background_image,7,optional" frugal:"7,optional,string" json:"background_image,omitempty"` Signature *string `thrift:"signature,8,optional" frugal:"8,optional,string" json:"signature,omitempty"` TotalFavorited *int64 `thrift:"total_favorited,9,optional" frugal:"9,optional,i64" json:"total_favorited,omitempty"` WorkCount *int64 `thrift:"work_count,10,optional" frugal:"10,optional,i64" json:"work_count,omitempty"` FavoriteCount *int64 `thrift:"favorite_count,11,optional" frugal:"11,optional,i64" json:"favorite_count,omitempty"` Message *string `thrift:"message,12,optional" frugal:"12,optional,string" json:"message,omitempty"` MsgType int64 `thrift:"msgType,13,required" frugal:"13,required,i64" json:"msgType"` }
func NewFriendUser ¶
func NewFriendUser() *FriendUser
func (*FriendUser) BLength ¶
func (p *FriendUser) BLength() int
func (*FriendUser) DeepEqual ¶
func (p *FriendUser) DeepEqual(ano *FriendUser) bool
func (*FriendUser) FastReadField1 ¶
func (p *FriendUser) FastReadField1(buf []byte) (int, error)
func (*FriendUser) FastReadField10 ¶
func (p *FriendUser) FastReadField10(buf []byte) (int, error)
func (*FriendUser) FastReadField11 ¶
func (p *FriendUser) FastReadField11(buf []byte) (int, error)
func (*FriendUser) FastReadField12 ¶
func (p *FriendUser) FastReadField12(buf []byte) (int, error)
func (*FriendUser) FastReadField13 ¶
func (p *FriendUser) FastReadField13(buf []byte) (int, error)
func (*FriendUser) FastReadField2 ¶
func (p *FriendUser) FastReadField2(buf []byte) (int, error)
func (*FriendUser) FastReadField3 ¶
func (p *FriendUser) FastReadField3(buf []byte) (int, error)
func (*FriendUser) FastReadField4 ¶
func (p *FriendUser) FastReadField4(buf []byte) (int, error)
func (*FriendUser) FastReadField5 ¶
func (p *FriendUser) FastReadField5(buf []byte) (int, error)
func (*FriendUser) FastReadField6 ¶
func (p *FriendUser) FastReadField6(buf []byte) (int, error)
func (*FriendUser) FastReadField7 ¶
func (p *FriendUser) FastReadField7(buf []byte) (int, error)
func (*FriendUser) FastReadField8 ¶
func (p *FriendUser) FastReadField8(buf []byte) (int, error)
func (*FriendUser) FastReadField9 ¶
func (p *FriendUser) FastReadField9(buf []byte) (int, error)
func (*FriendUser) FastWriteNocopy ¶
func (p *FriendUser) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FriendUser) Field10DeepEqual ¶
func (p *FriendUser) Field10DeepEqual(src *int64) bool
func (*FriendUser) Field11DeepEqual ¶
func (p *FriendUser) Field11DeepEqual(src *int64) bool
func (*FriendUser) Field12DeepEqual ¶
func (p *FriendUser) Field12DeepEqual(src *string) bool
func (*FriendUser) Field13DeepEqual ¶
func (p *FriendUser) Field13DeepEqual(src int64) bool
func (*FriendUser) Field1DeepEqual ¶
func (p *FriendUser) Field1DeepEqual(src int64) bool
func (*FriendUser) Field2DeepEqual ¶
func (p *FriendUser) Field2DeepEqual(src string) bool
func (*FriendUser) Field3DeepEqual ¶
func (p *FriendUser) Field3DeepEqual(src *int64) bool
func (*FriendUser) Field4DeepEqual ¶
func (p *FriendUser) Field4DeepEqual(src *int64) bool
func (*FriendUser) Field5DeepEqual ¶
func (p *FriendUser) Field5DeepEqual(src bool) bool
func (*FriendUser) Field6DeepEqual ¶
func (p *FriendUser) Field6DeepEqual(src *string) bool
func (*FriendUser) Field7DeepEqual ¶
func (p *FriendUser) Field7DeepEqual(src *string) bool
func (*FriendUser) Field8DeepEqual ¶
func (p *FriendUser) Field8DeepEqual(src *string) bool
func (*FriendUser) Field9DeepEqual ¶
func (p *FriendUser) Field9DeepEqual(src *int64) bool
func (*FriendUser) GetAvatar ¶
func (p *FriendUser) GetAvatar() (v string)
func (*FriendUser) GetBackgroundImage ¶
func (p *FriendUser) GetBackgroundImage() (v string)
func (*FriendUser) GetFavoriteCount ¶
func (p *FriendUser) GetFavoriteCount() (v int64)
func (*FriendUser) GetFollowCount ¶
func (p *FriendUser) GetFollowCount() (v int64)
func (*FriendUser) GetFollowerCount ¶
func (p *FriendUser) GetFollowerCount() (v int64)
func (*FriendUser) GetId ¶
func (p *FriendUser) GetId() (v int64)
func (*FriendUser) GetIsFollow ¶
func (p *FriendUser) GetIsFollow() (v bool)
func (*FriendUser) GetMessage ¶
func (p *FriendUser) GetMessage() (v string)
func (*FriendUser) GetMsgType ¶
func (p *FriendUser) GetMsgType() (v int64)
func (*FriendUser) GetName ¶
func (p *FriendUser) GetName() (v string)
func (*FriendUser) GetSignature ¶
func (p *FriendUser) GetSignature() (v string)
func (*FriendUser) GetTotalFavorited ¶
func (p *FriendUser) GetTotalFavorited() (v int64)
func (*FriendUser) GetWorkCount ¶
func (p *FriendUser) GetWorkCount() (v int64)
func (*FriendUser) InitDefault ¶
func (p *FriendUser) InitDefault()
func (*FriendUser) IsSetAvatar ¶
func (p *FriendUser) IsSetAvatar() bool
func (*FriendUser) IsSetBackgroundImage ¶
func (p *FriendUser) IsSetBackgroundImage() bool
func (*FriendUser) IsSetFavoriteCount ¶
func (p *FriendUser) IsSetFavoriteCount() bool
func (*FriendUser) IsSetFollowCount ¶
func (p *FriendUser) IsSetFollowCount() bool
func (*FriendUser) IsSetFollowerCount ¶
func (p *FriendUser) IsSetFollowerCount() bool
func (*FriendUser) IsSetMessage ¶
func (p *FriendUser) IsSetMessage() bool
func (*FriendUser) IsSetSignature ¶
func (p *FriendUser) IsSetSignature() bool
func (*FriendUser) IsSetTotalFavorited ¶
func (p *FriendUser) IsSetTotalFavorited() bool
func (*FriendUser) IsSetWorkCount ¶
func (p *FriendUser) IsSetWorkCount() bool
func (*FriendUser) ReadField1 ¶
func (p *FriendUser) ReadField1(iprot thrift.TProtocol) error
func (*FriendUser) ReadField10 ¶
func (p *FriendUser) ReadField10(iprot thrift.TProtocol) error
func (*FriendUser) ReadField11 ¶
func (p *FriendUser) ReadField11(iprot thrift.TProtocol) error
func (*FriendUser) ReadField12 ¶
func (p *FriendUser) ReadField12(iprot thrift.TProtocol) error
func (*FriendUser) ReadField13 ¶
func (p *FriendUser) ReadField13(iprot thrift.TProtocol) error
func (*FriendUser) ReadField2 ¶
func (p *FriendUser) ReadField2(iprot thrift.TProtocol) error
func (*FriendUser) ReadField3 ¶
func (p *FriendUser) ReadField3(iprot thrift.TProtocol) error
func (*FriendUser) ReadField4 ¶
func (p *FriendUser) ReadField4(iprot thrift.TProtocol) error
func (*FriendUser) ReadField5 ¶
func (p *FriendUser) ReadField5(iprot thrift.TProtocol) error
func (*FriendUser) ReadField6 ¶
func (p *FriendUser) ReadField6(iprot thrift.TProtocol) error
func (*FriendUser) ReadField7 ¶
func (p *FriendUser) ReadField7(iprot thrift.TProtocol) error
func (*FriendUser) ReadField8 ¶
func (p *FriendUser) ReadField8(iprot thrift.TProtocol) error
func (*FriendUser) ReadField9 ¶
func (p *FriendUser) ReadField9(iprot thrift.TProtocol) error
func (*FriendUser) SetAvatar ¶
func (p *FriendUser) SetAvatar(val *string)
func (*FriendUser) SetBackgroundImage ¶
func (p *FriendUser) SetBackgroundImage(val *string)
func (*FriendUser) SetFavoriteCount ¶
func (p *FriendUser) SetFavoriteCount(val *int64)
func (*FriendUser) SetFollowCount ¶
func (p *FriendUser) SetFollowCount(val *int64)
func (*FriendUser) SetFollowerCount ¶
func (p *FriendUser) SetFollowerCount(val *int64)
func (*FriendUser) SetId ¶
func (p *FriendUser) SetId(val int64)
func (*FriendUser) SetIsFollow ¶
func (p *FriendUser) SetIsFollow(val bool)
func (*FriendUser) SetMessage ¶
func (p *FriendUser) SetMessage(val *string)
func (*FriendUser) SetMsgType ¶
func (p *FriendUser) SetMsgType(val int64)
func (*FriendUser) SetName ¶
func (p *FriendUser) SetName(val string)
func (*FriendUser) SetSignature ¶
func (p *FriendUser) SetSignature(val *string)
func (*FriendUser) SetTotalFavorited ¶
func (p *FriendUser) SetTotalFavorited(val *int64)
func (*FriendUser) SetWorkCount ¶
func (p *FriendUser) SetWorkCount(val *int64)
func (*FriendUser) String ¶
func (p *FriendUser) String() string
type RelationService ¶
type RelationService interface { RelationAction(ctx context.Context, req *ActionRequest) (r *ActionResponse, err error) RelationFollowList(ctx context.Context, req *FollowListRequest) (r *FollowListResponse, err error) RelationFollowerList(ctx context.Context, req *FollowerListRequest) (r *FollowerListResponse, err error) RelationFriendList(ctx context.Context, req *FriendListRequest) (r *FriendListResponse, err error) }
type RelationServiceClient ¶
type RelationServiceClient struct {
// contains filtered or unexported fields
}
func NewRelationServiceClient ¶
func NewRelationServiceClient(c thrift.TClient) *RelationServiceClient
func NewRelationServiceClientFactory ¶
func NewRelationServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *RelationServiceClient
func NewRelationServiceClientProtocol ¶
func NewRelationServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *RelationServiceClient
func (*RelationServiceClient) Client_ ¶
func (p *RelationServiceClient) Client_() thrift.TClient
func (*RelationServiceClient) RelationAction ¶
func (p *RelationServiceClient) RelationAction(ctx context.Context, req *ActionRequest) (r *ActionResponse, err error)
func (*RelationServiceClient) RelationFollowList ¶
func (p *RelationServiceClient) RelationFollowList(ctx context.Context, req *FollowListRequest) (r *FollowListResponse, err error)
func (*RelationServiceClient) RelationFollowerList ¶
func (p *RelationServiceClient) RelationFollowerList(ctx context.Context, req *FollowerListRequest) (r *FollowerListResponse, err error)
func (*RelationServiceClient) RelationFriendList ¶
func (p *RelationServiceClient) RelationFriendList(ctx context.Context, req *FriendListRequest) (r *FriendListResponse, err error)
type RelationServiceProcessor ¶
type RelationServiceProcessor struct {
// contains filtered or unexported fields
}
func NewRelationServiceProcessor ¶
func NewRelationServiceProcessor(handler RelationService) *RelationServiceProcessor
func (*RelationServiceProcessor) AddToProcessorMap ¶
func (p *RelationServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*RelationServiceProcessor) GetProcessorFunction ¶
func (p *RelationServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*RelationServiceProcessor) Process ¶
func (p *RelationServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*RelationServiceProcessor) ProcessorMap ¶
func (p *RelationServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type RelationServiceRelationActionArgs ¶
type RelationServiceRelationActionArgs struct {
Req *ActionRequest `thrift:"req,1" frugal:"1,default,ActionRequest" json:"req"`
}
func NewRelationServiceRelationActionArgs ¶
func NewRelationServiceRelationActionArgs() *RelationServiceRelationActionArgs
func (*RelationServiceRelationActionArgs) BLength ¶
func (p *RelationServiceRelationActionArgs) BLength() int
func (*RelationServiceRelationActionArgs) DeepEqual ¶
func (p *RelationServiceRelationActionArgs) DeepEqual(ano *RelationServiceRelationActionArgs) bool
func (*RelationServiceRelationActionArgs) FastRead ¶
func (p *RelationServiceRelationActionArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationActionArgs) FastReadField1 ¶
func (p *RelationServiceRelationActionArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceRelationActionArgs) FastWrite ¶
func (p *RelationServiceRelationActionArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationActionArgs) FastWriteNocopy ¶
func (p *RelationServiceRelationActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationActionArgs) Field1DeepEqual ¶
func (p *RelationServiceRelationActionArgs) Field1DeepEqual(src *ActionRequest) bool
func (*RelationServiceRelationActionArgs) GetFirstArgument ¶
func (p *RelationServiceRelationActionArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationActionArgs) GetReq ¶
func (p *RelationServiceRelationActionArgs) GetReq() (v *ActionRequest)
func (*RelationServiceRelationActionArgs) InitDefault ¶
func (p *RelationServiceRelationActionArgs) InitDefault()
func (*RelationServiceRelationActionArgs) IsSetReq ¶
func (p *RelationServiceRelationActionArgs) IsSetReq() bool
func (*RelationServiceRelationActionArgs) Read ¶
func (p *RelationServiceRelationActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationActionArgs) ReadField1 ¶
func (p *RelationServiceRelationActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceRelationActionArgs) SetReq ¶
func (p *RelationServiceRelationActionArgs) SetReq(val *ActionRequest)
func (*RelationServiceRelationActionArgs) String ¶
func (p *RelationServiceRelationActionArgs) String() string
type RelationServiceRelationActionResult ¶
type RelationServiceRelationActionResult struct {
Success *ActionResponse `thrift:"success,0,optional" frugal:"0,optional,ActionResponse" json:"success,omitempty"`
}
func NewRelationServiceRelationActionResult ¶
func NewRelationServiceRelationActionResult() *RelationServiceRelationActionResult
func (*RelationServiceRelationActionResult) BLength ¶
func (p *RelationServiceRelationActionResult) BLength() int
func (*RelationServiceRelationActionResult) DeepEqual ¶
func (p *RelationServiceRelationActionResult) DeepEqual(ano *RelationServiceRelationActionResult) bool
func (*RelationServiceRelationActionResult) FastRead ¶
func (p *RelationServiceRelationActionResult) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationActionResult) FastReadField0 ¶
func (p *RelationServiceRelationActionResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceRelationActionResult) FastWrite ¶
func (p *RelationServiceRelationActionResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationActionResult) FastWriteNocopy ¶
func (p *RelationServiceRelationActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationActionResult) Field0DeepEqual ¶
func (p *RelationServiceRelationActionResult) Field0DeepEqual(src *ActionResponse) bool
func (*RelationServiceRelationActionResult) GetResult ¶
func (p *RelationServiceRelationActionResult) GetResult() interface{}
func (*RelationServiceRelationActionResult) GetSuccess ¶
func (p *RelationServiceRelationActionResult) GetSuccess() (v *ActionResponse)
func (*RelationServiceRelationActionResult) InitDefault ¶
func (p *RelationServiceRelationActionResult) InitDefault()
func (*RelationServiceRelationActionResult) IsSetSuccess ¶
func (p *RelationServiceRelationActionResult) IsSetSuccess() bool
func (*RelationServiceRelationActionResult) Read ¶
func (p *RelationServiceRelationActionResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationActionResult) ReadField0 ¶
func (p *RelationServiceRelationActionResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceRelationActionResult) SetSuccess ¶
func (p *RelationServiceRelationActionResult) SetSuccess(x interface{})
func (*RelationServiceRelationActionResult) String ¶
func (p *RelationServiceRelationActionResult) String() string
type RelationServiceRelationFollowListArgs ¶
type RelationServiceRelationFollowListArgs struct {
Req *FollowListRequest `thrift:"req,1" frugal:"1,default,FollowListRequest" json:"req"`
}
func NewRelationServiceRelationFollowListArgs ¶
func NewRelationServiceRelationFollowListArgs() *RelationServiceRelationFollowListArgs
func (*RelationServiceRelationFollowListArgs) BLength ¶
func (p *RelationServiceRelationFollowListArgs) BLength() int
func (*RelationServiceRelationFollowListArgs) DeepEqual ¶
func (p *RelationServiceRelationFollowListArgs) DeepEqual(ano *RelationServiceRelationFollowListArgs) bool
func (*RelationServiceRelationFollowListArgs) FastRead ¶
func (p *RelationServiceRelationFollowListArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationFollowListArgs) FastReadField1 ¶
func (p *RelationServiceRelationFollowListArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceRelationFollowListArgs) FastWrite ¶
func (p *RelationServiceRelationFollowListArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationFollowListArgs) FastWriteNocopy ¶
func (p *RelationServiceRelationFollowListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationFollowListArgs) Field1DeepEqual ¶
func (p *RelationServiceRelationFollowListArgs) Field1DeepEqual(src *FollowListRequest) bool
func (*RelationServiceRelationFollowListArgs) GetFirstArgument ¶
func (p *RelationServiceRelationFollowListArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationFollowListArgs) GetReq ¶
func (p *RelationServiceRelationFollowListArgs) GetReq() (v *FollowListRequest)
func (*RelationServiceRelationFollowListArgs) InitDefault ¶
func (p *RelationServiceRelationFollowListArgs) InitDefault()
func (*RelationServiceRelationFollowListArgs) IsSetReq ¶
func (p *RelationServiceRelationFollowListArgs) IsSetReq() bool
func (*RelationServiceRelationFollowListArgs) Read ¶
func (p *RelationServiceRelationFollowListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationFollowListArgs) ReadField1 ¶
func (p *RelationServiceRelationFollowListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceRelationFollowListArgs) SetReq ¶
func (p *RelationServiceRelationFollowListArgs) SetReq(val *FollowListRequest)
func (*RelationServiceRelationFollowListArgs) String ¶
func (p *RelationServiceRelationFollowListArgs) String() string
type RelationServiceRelationFollowListResult ¶
type RelationServiceRelationFollowListResult struct {
Success *FollowListResponse `thrift:"success,0,optional" frugal:"0,optional,FollowListResponse" json:"success,omitempty"`
}
func NewRelationServiceRelationFollowListResult ¶
func NewRelationServiceRelationFollowListResult() *RelationServiceRelationFollowListResult
func (*RelationServiceRelationFollowListResult) BLength ¶
func (p *RelationServiceRelationFollowListResult) BLength() int
func (*RelationServiceRelationFollowListResult) DeepEqual ¶
func (p *RelationServiceRelationFollowListResult) DeepEqual(ano *RelationServiceRelationFollowListResult) bool
func (*RelationServiceRelationFollowListResult) FastRead ¶
func (p *RelationServiceRelationFollowListResult) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationFollowListResult) FastReadField0 ¶
func (p *RelationServiceRelationFollowListResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceRelationFollowListResult) FastWrite ¶
func (p *RelationServiceRelationFollowListResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationFollowListResult) FastWriteNocopy ¶
func (p *RelationServiceRelationFollowListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationFollowListResult) Field0DeepEqual ¶
func (p *RelationServiceRelationFollowListResult) Field0DeepEqual(src *FollowListResponse) bool
func (*RelationServiceRelationFollowListResult) GetResult ¶
func (p *RelationServiceRelationFollowListResult) GetResult() interface{}
func (*RelationServiceRelationFollowListResult) GetSuccess ¶
func (p *RelationServiceRelationFollowListResult) GetSuccess() (v *FollowListResponse)
func (*RelationServiceRelationFollowListResult) InitDefault ¶
func (p *RelationServiceRelationFollowListResult) InitDefault()
func (*RelationServiceRelationFollowListResult) IsSetSuccess ¶
func (p *RelationServiceRelationFollowListResult) IsSetSuccess() bool
func (*RelationServiceRelationFollowListResult) Read ¶
func (p *RelationServiceRelationFollowListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationFollowListResult) ReadField0 ¶
func (p *RelationServiceRelationFollowListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceRelationFollowListResult) SetSuccess ¶
func (p *RelationServiceRelationFollowListResult) SetSuccess(x interface{})
func (*RelationServiceRelationFollowListResult) String ¶
func (p *RelationServiceRelationFollowListResult) String() string
type RelationServiceRelationFollowerListArgs ¶
type RelationServiceRelationFollowerListArgs struct {
Req *FollowerListRequest `thrift:"req,1" frugal:"1,default,FollowerListRequest" json:"req"`
}
func NewRelationServiceRelationFollowerListArgs ¶
func NewRelationServiceRelationFollowerListArgs() *RelationServiceRelationFollowerListArgs
func (*RelationServiceRelationFollowerListArgs) BLength ¶
func (p *RelationServiceRelationFollowerListArgs) BLength() int
func (*RelationServiceRelationFollowerListArgs) DeepEqual ¶
func (p *RelationServiceRelationFollowerListArgs) DeepEqual(ano *RelationServiceRelationFollowerListArgs) bool
func (*RelationServiceRelationFollowerListArgs) FastRead ¶
func (p *RelationServiceRelationFollowerListArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationFollowerListArgs) FastReadField1 ¶
func (p *RelationServiceRelationFollowerListArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceRelationFollowerListArgs) FastWrite ¶
func (p *RelationServiceRelationFollowerListArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationFollowerListArgs) FastWriteNocopy ¶
func (p *RelationServiceRelationFollowerListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationFollowerListArgs) Field1DeepEqual ¶
func (p *RelationServiceRelationFollowerListArgs) Field1DeepEqual(src *FollowerListRequest) bool
func (*RelationServiceRelationFollowerListArgs) GetFirstArgument ¶
func (p *RelationServiceRelationFollowerListArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationFollowerListArgs) GetReq ¶
func (p *RelationServiceRelationFollowerListArgs) GetReq() (v *FollowerListRequest)
func (*RelationServiceRelationFollowerListArgs) InitDefault ¶
func (p *RelationServiceRelationFollowerListArgs) InitDefault()
func (*RelationServiceRelationFollowerListArgs) IsSetReq ¶
func (p *RelationServiceRelationFollowerListArgs) IsSetReq() bool
func (*RelationServiceRelationFollowerListArgs) Read ¶
func (p *RelationServiceRelationFollowerListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationFollowerListArgs) ReadField1 ¶
func (p *RelationServiceRelationFollowerListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceRelationFollowerListArgs) SetReq ¶
func (p *RelationServiceRelationFollowerListArgs) SetReq(val *FollowerListRequest)
func (*RelationServiceRelationFollowerListArgs) String ¶
func (p *RelationServiceRelationFollowerListArgs) String() string
type RelationServiceRelationFollowerListResult ¶
type RelationServiceRelationFollowerListResult struct {
Success *FollowerListResponse `thrift:"success,0,optional" frugal:"0,optional,FollowerListResponse" json:"success,omitempty"`
}
func NewRelationServiceRelationFollowerListResult ¶
func NewRelationServiceRelationFollowerListResult() *RelationServiceRelationFollowerListResult
func (*RelationServiceRelationFollowerListResult) BLength ¶
func (p *RelationServiceRelationFollowerListResult) BLength() int
func (*RelationServiceRelationFollowerListResult) DeepEqual ¶
func (p *RelationServiceRelationFollowerListResult) DeepEqual(ano *RelationServiceRelationFollowerListResult) bool
func (*RelationServiceRelationFollowerListResult) FastRead ¶
func (p *RelationServiceRelationFollowerListResult) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationFollowerListResult) FastReadField0 ¶
func (p *RelationServiceRelationFollowerListResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceRelationFollowerListResult) FastWrite ¶
func (p *RelationServiceRelationFollowerListResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationFollowerListResult) FastWriteNocopy ¶
func (p *RelationServiceRelationFollowerListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationFollowerListResult) Field0DeepEqual ¶
func (p *RelationServiceRelationFollowerListResult) Field0DeepEqual(src *FollowerListResponse) bool
func (*RelationServiceRelationFollowerListResult) GetResult ¶
func (p *RelationServiceRelationFollowerListResult) GetResult() interface{}
func (*RelationServiceRelationFollowerListResult) GetSuccess ¶
func (p *RelationServiceRelationFollowerListResult) GetSuccess() (v *FollowerListResponse)
func (*RelationServiceRelationFollowerListResult) InitDefault ¶
func (p *RelationServiceRelationFollowerListResult) InitDefault()
func (*RelationServiceRelationFollowerListResult) IsSetSuccess ¶
func (p *RelationServiceRelationFollowerListResult) IsSetSuccess() bool
func (*RelationServiceRelationFollowerListResult) Read ¶
func (p *RelationServiceRelationFollowerListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationFollowerListResult) ReadField0 ¶
func (p *RelationServiceRelationFollowerListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceRelationFollowerListResult) SetSuccess ¶
func (p *RelationServiceRelationFollowerListResult) SetSuccess(x interface{})
func (*RelationServiceRelationFollowerListResult) String ¶
func (p *RelationServiceRelationFollowerListResult) String() string
type RelationServiceRelationFriendListArgs ¶
type RelationServiceRelationFriendListArgs struct {
Req *FriendListRequest `thrift:"req,1" frugal:"1,default,FriendListRequest" json:"req"`
}
func NewRelationServiceRelationFriendListArgs ¶
func NewRelationServiceRelationFriendListArgs() *RelationServiceRelationFriendListArgs
func (*RelationServiceRelationFriendListArgs) BLength ¶
func (p *RelationServiceRelationFriendListArgs) BLength() int
func (*RelationServiceRelationFriendListArgs) DeepEqual ¶
func (p *RelationServiceRelationFriendListArgs) DeepEqual(ano *RelationServiceRelationFriendListArgs) bool
func (*RelationServiceRelationFriendListArgs) FastRead ¶
func (p *RelationServiceRelationFriendListArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationFriendListArgs) FastReadField1 ¶
func (p *RelationServiceRelationFriendListArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceRelationFriendListArgs) FastWrite ¶
func (p *RelationServiceRelationFriendListArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationFriendListArgs) FastWriteNocopy ¶
func (p *RelationServiceRelationFriendListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationFriendListArgs) Field1DeepEqual ¶
func (p *RelationServiceRelationFriendListArgs) Field1DeepEqual(src *FriendListRequest) bool
func (*RelationServiceRelationFriendListArgs) GetFirstArgument ¶
func (p *RelationServiceRelationFriendListArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationFriendListArgs) GetReq ¶
func (p *RelationServiceRelationFriendListArgs) GetReq() (v *FriendListRequest)
func (*RelationServiceRelationFriendListArgs) InitDefault ¶
func (p *RelationServiceRelationFriendListArgs) InitDefault()
func (*RelationServiceRelationFriendListArgs) IsSetReq ¶
func (p *RelationServiceRelationFriendListArgs) IsSetReq() bool
func (*RelationServiceRelationFriendListArgs) Read ¶
func (p *RelationServiceRelationFriendListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationFriendListArgs) ReadField1 ¶
func (p *RelationServiceRelationFriendListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceRelationFriendListArgs) SetReq ¶
func (p *RelationServiceRelationFriendListArgs) SetReq(val *FriendListRequest)
func (*RelationServiceRelationFriendListArgs) String ¶
func (p *RelationServiceRelationFriendListArgs) String() string
type RelationServiceRelationFriendListResult ¶
type RelationServiceRelationFriendListResult struct {
Success *FriendListResponse `thrift:"success,0,optional" frugal:"0,optional,FriendListResponse" json:"success,omitempty"`
}
func NewRelationServiceRelationFriendListResult ¶
func NewRelationServiceRelationFriendListResult() *RelationServiceRelationFriendListResult
func (*RelationServiceRelationFriendListResult) BLength ¶
func (p *RelationServiceRelationFriendListResult) BLength() int
func (*RelationServiceRelationFriendListResult) DeepEqual ¶
func (p *RelationServiceRelationFriendListResult) DeepEqual(ano *RelationServiceRelationFriendListResult) bool
func (*RelationServiceRelationFriendListResult) FastRead ¶
func (p *RelationServiceRelationFriendListResult) FastRead(buf []byte) (int, error)
func (*RelationServiceRelationFriendListResult) FastReadField0 ¶
func (p *RelationServiceRelationFriendListResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceRelationFriendListResult) FastWrite ¶
func (p *RelationServiceRelationFriendListResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceRelationFriendListResult) FastWriteNocopy ¶
func (p *RelationServiceRelationFriendListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceRelationFriendListResult) Field0DeepEqual ¶
func (p *RelationServiceRelationFriendListResult) Field0DeepEqual(src *FriendListResponse) bool
func (*RelationServiceRelationFriendListResult) GetResult ¶
func (p *RelationServiceRelationFriendListResult) GetResult() interface{}
func (*RelationServiceRelationFriendListResult) GetSuccess ¶
func (p *RelationServiceRelationFriendListResult) GetSuccess() (v *FriendListResponse)
func (*RelationServiceRelationFriendListResult) InitDefault ¶
func (p *RelationServiceRelationFriendListResult) InitDefault()
func (*RelationServiceRelationFriendListResult) IsSetSuccess ¶
func (p *RelationServiceRelationFriendListResult) IsSetSuccess() bool
func (*RelationServiceRelationFriendListResult) Read ¶
func (p *RelationServiceRelationFriendListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceRelationFriendListResult) ReadField0 ¶
func (p *RelationServiceRelationFriendListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceRelationFriendListResult) SetSuccess ¶
func (p *RelationServiceRelationFriendListResult) SetSuccess(x interface{})
func (*RelationServiceRelationFriendListResult) String ¶
func (p *RelationServiceRelationFriendListResult) String() string
Click to show internal directories.
Click to hide internal directories.