Documentation ¶
Index ¶
- Variables
- 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) FastReadField2(buf []byte) (int, error)
- func (p *FriendUser) FastReadField3(buf []byte) (int, error)
- func (p *FriendUser) FastWrite(buf []byte) int
- func (p *FriendUser) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FriendUser) Field1DeepEqual(src *User) bool
- func (p *FriendUser) Field2DeepEqual(src string) bool
- func (p *FriendUser) Field3DeepEqual(src int64) bool
- func (p *FriendUser) GetBase() (v *User)
- func (p *FriendUser) GetMessage() (v string)
- func (p *FriendUser) GetMsgType() (v int64)
- func (p *FriendUser) InitDefault()
- func (p *FriendUser) IsSetBase() bool
- func (p *FriendUser) Read(iprot thrift.TProtocol) (err error)
- func (p *FriendUser) ReadField1(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField2(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField3(iprot thrift.TProtocol) error
- func (p *FriendUser) SetBase(val *User)
- func (p *FriendUser) SetMessage(val string)
- func (p *FriendUser) SetMsgType(val int64)
- func (p *FriendUser) String() string
- func (p *FriendUser) Write(oprot thrift.TProtocol) (err error)
- type RelationActionRequest
- func (p *RelationActionRequest) BLength() int
- func (p *RelationActionRequest) DeepEqual(ano *RelationActionRequest) bool
- func (p *RelationActionRequest) FastRead(buf []byte) (int, error)
- func (p *RelationActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *RelationActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *RelationActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *RelationActionRequest) FastWrite(buf []byte) int
- func (p *RelationActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationActionRequest) Field1DeepEqual(src string) bool
- func (p *RelationActionRequest) Field2DeepEqual(src int64) bool
- func (p *RelationActionRequest) Field3DeepEqual(src int32) bool
- func (p *RelationActionRequest) GetActionType() (v int32)
- func (p *RelationActionRequest) GetToUserId() (v int64)
- func (p *RelationActionRequest) GetToken() (v string)
- func (p *RelationActionRequest) InitDefault()
- func (p *RelationActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *RelationActionRequest) SetActionType(val int32)
- func (p *RelationActionRequest) SetToUserId(val int64)
- func (p *RelationActionRequest) SetToken(val string)
- func (p *RelationActionRequest) String() string
- func (p *RelationActionRequest) Write(oprot thrift.TProtocol) (err error)
- type RelationActionResponse
- func (p *RelationActionResponse) BLength() int
- func (p *RelationActionResponse) DeepEqual(ano *RelationActionResponse) bool
- func (p *RelationActionResponse) FastRead(buf []byte) (int, error)
- func (p *RelationActionResponse) FastReadField1(buf []byte) (int, error)
- func (p *RelationActionResponse) FastReadField2(buf []byte) (int, error)
- func (p *RelationActionResponse) FastWrite(buf []byte) int
- func (p *RelationActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationActionResponse) Field1DeepEqual(src int32) bool
- func (p *RelationActionResponse) Field2DeepEqual(src *string) bool
- func (p *RelationActionResponse) GetStatusCode() (v int32)
- func (p *RelationActionResponse) GetStatusMsg() (v string)
- func (p *RelationActionResponse) InitDefault()
- func (p *RelationActionResponse) IsSetStatusMsg() bool
- func (p *RelationActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationActionResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationActionResponse) SetStatusCode(val int32)
- func (p *RelationActionResponse) SetStatusMsg(val *string)
- func (p *RelationActionResponse) String() string
- func (p *RelationActionResponse) Write(oprot thrift.TProtocol) (err error)
- type RelationFollowListRequest
- func (p *RelationFollowListRequest) BLength() int
- func (p *RelationFollowListRequest) DeepEqual(ano *RelationFollowListRequest) bool
- func (p *RelationFollowListRequest) FastRead(buf []byte) (int, error)
- func (p *RelationFollowListRequest) FastReadField1(buf []byte) (int, error)
- func (p *RelationFollowListRequest) FastReadField2(buf []byte) (int, error)
- func (p *RelationFollowListRequest) FastWrite(buf []byte) int
- func (p *RelationFollowListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationFollowListRequest) Field1DeepEqual(src int64) bool
- func (p *RelationFollowListRequest) Field2DeepEqual(src string) bool
- func (p *RelationFollowListRequest) GetToken() (v string)
- func (p *RelationFollowListRequest) GetUserId() (v int64)
- func (p *RelationFollowListRequest) InitDefault()
- func (p *RelationFollowListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationFollowListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationFollowListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationFollowListRequest) SetToken(val string)
- func (p *RelationFollowListRequest) SetUserId(val int64)
- func (p *RelationFollowListRequest) String() string
- func (p *RelationFollowListRequest) Write(oprot thrift.TProtocol) (err error)
- type RelationFollowListResponse
- func (p *RelationFollowListResponse) BLength() int
- func (p *RelationFollowListResponse) DeepEqual(ano *RelationFollowListResponse) bool
- func (p *RelationFollowListResponse) FastRead(buf []byte) (int, error)
- func (p *RelationFollowListResponse) FastReadField1(buf []byte) (int, error)
- func (p *RelationFollowListResponse) FastReadField2(buf []byte) (int, error)
- func (p *RelationFollowListResponse) FastReadField3(buf []byte) (int, error)
- func (p *RelationFollowListResponse) FastWrite(buf []byte) int
- func (p *RelationFollowListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationFollowListResponse) Field1DeepEqual(src int32) bool
- func (p *RelationFollowListResponse) Field2DeepEqual(src *string) bool
- func (p *RelationFollowListResponse) Field3DeepEqual(src []*User) bool
- func (p *RelationFollowListResponse) GetStatusCode() (v int32)
- func (p *RelationFollowListResponse) GetStatusMsg() (v string)
- func (p *RelationFollowListResponse) GetUserList() (v []*User)
- func (p *RelationFollowListResponse) InitDefault()
- func (p *RelationFollowListResponse) IsSetStatusMsg() bool
- func (p *RelationFollowListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationFollowListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationFollowListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationFollowListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RelationFollowListResponse) SetStatusCode(val int32)
- func (p *RelationFollowListResponse) SetStatusMsg(val *string)
- func (p *RelationFollowListResponse) SetUserList(val []*User)
- func (p *RelationFollowListResponse) String() string
- func (p *RelationFollowListResponse) Write(oprot thrift.TProtocol) (err error)
- type RelationFollowerListRequest
- func (p *RelationFollowerListRequest) BLength() int
- func (p *RelationFollowerListRequest) DeepEqual(ano *RelationFollowerListRequest) bool
- func (p *RelationFollowerListRequest) FastRead(buf []byte) (int, error)
- func (p *RelationFollowerListRequest) FastReadField1(buf []byte) (int, error)
- func (p *RelationFollowerListRequest) FastReadField2(buf []byte) (int, error)
- func (p *RelationFollowerListRequest) FastWrite(buf []byte) int
- func (p *RelationFollowerListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationFollowerListRequest) Field1DeepEqual(src int64) bool
- func (p *RelationFollowerListRequest) Field2DeepEqual(src string) bool
- func (p *RelationFollowerListRequest) GetToken() (v string)
- func (p *RelationFollowerListRequest) GetUserId() (v int64)
- func (p *RelationFollowerListRequest) InitDefault()
- func (p *RelationFollowerListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationFollowerListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationFollowerListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationFollowerListRequest) SetToken(val string)
- func (p *RelationFollowerListRequest) SetUserId(val int64)
- func (p *RelationFollowerListRequest) String() string
- func (p *RelationFollowerListRequest) Write(oprot thrift.TProtocol) (err error)
- type RelationFollowerListResponse
- func (p *RelationFollowerListResponse) BLength() int
- func (p *RelationFollowerListResponse) DeepEqual(ano *RelationFollowerListResponse) bool
- func (p *RelationFollowerListResponse) FastRead(buf []byte) (int, error)
- func (p *RelationFollowerListResponse) FastReadField1(buf []byte) (int, error)
- func (p *RelationFollowerListResponse) FastReadField2(buf []byte) (int, error)
- func (p *RelationFollowerListResponse) FastReadField3(buf []byte) (int, error)
- func (p *RelationFollowerListResponse) FastWrite(buf []byte) int
- func (p *RelationFollowerListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationFollowerListResponse) Field1DeepEqual(src int32) bool
- func (p *RelationFollowerListResponse) Field2DeepEqual(src *string) bool
- func (p *RelationFollowerListResponse) Field3DeepEqual(src []*User) bool
- func (p *RelationFollowerListResponse) GetStatusCode() (v int32)
- func (p *RelationFollowerListResponse) GetStatusMsg() (v string)
- func (p *RelationFollowerListResponse) GetUserList() (v []*User)
- func (p *RelationFollowerListResponse) InitDefault()
- func (p *RelationFollowerListResponse) IsSetStatusMsg() bool
- func (p *RelationFollowerListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationFollowerListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationFollowerListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationFollowerListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RelationFollowerListResponse) SetStatusCode(val int32)
- func (p *RelationFollowerListResponse) SetStatusMsg(val *string)
- func (p *RelationFollowerListResponse) SetUserList(val []*User)
- func (p *RelationFollowerListResponse) String() string
- func (p *RelationFollowerListResponse) Write(oprot thrift.TProtocol) (err error)
- type RelationFriendListRequest
- func (p *RelationFriendListRequest) BLength() int
- func (p *RelationFriendListRequest) DeepEqual(ano *RelationFriendListRequest) bool
- func (p *RelationFriendListRequest) FastRead(buf []byte) (int, error)
- func (p *RelationFriendListRequest) FastReadField1(buf []byte) (int, error)
- func (p *RelationFriendListRequest) FastReadField2(buf []byte) (int, error)
- func (p *RelationFriendListRequest) FastWrite(buf []byte) int
- func (p *RelationFriendListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationFriendListRequest) Field1DeepEqual(src int64) bool
- func (p *RelationFriendListRequest) Field2DeepEqual(src string) bool
- func (p *RelationFriendListRequest) GetToken() (v string)
- func (p *RelationFriendListRequest) GetUserId() (v int64)
- func (p *RelationFriendListRequest) InitDefault()
- func (p *RelationFriendListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationFriendListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationFriendListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationFriendListRequest) SetToken(val string)
- func (p *RelationFriendListRequest) SetUserId(val int64)
- func (p *RelationFriendListRequest) String() string
- func (p *RelationFriendListRequest) Write(oprot thrift.TProtocol) (err error)
- type RelationFriendListResponse
- func (p *RelationFriendListResponse) BLength() int
- func (p *RelationFriendListResponse) DeepEqual(ano *RelationFriendListResponse) bool
- func (p *RelationFriendListResponse) FastRead(buf []byte) (int, error)
- func (p *RelationFriendListResponse) FastReadField1(buf []byte) (int, error)
- func (p *RelationFriendListResponse) FastReadField2(buf []byte) (int, error)
- func (p *RelationFriendListResponse) FastReadField3(buf []byte) (int, error)
- func (p *RelationFriendListResponse) FastWrite(buf []byte) int
- func (p *RelationFriendListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationFriendListResponse) Field1DeepEqual(src int32) bool
- func (p *RelationFriendListResponse) Field2DeepEqual(src *string) bool
- func (p *RelationFriendListResponse) Field3DeepEqual(src []*FriendUser) bool
- func (p *RelationFriendListResponse) GetStatusCode() (v int32)
- func (p *RelationFriendListResponse) GetStatusMsg() (v string)
- func (p *RelationFriendListResponse) GetUserList() (v []*FriendUser)
- func (p *RelationFriendListResponse) InitDefault()
- func (p *RelationFriendListResponse) IsSetStatusMsg() bool
- func (p *RelationFriendListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationFriendListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationFriendListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationFriendListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RelationFriendListResponse) SetStatusCode(val int32)
- func (p *RelationFriendListResponse) SetStatusMsg(val *string)
- func (p *RelationFriendListResponse) SetUserList(val []*FriendUser)
- func (p *RelationFriendListResponse) String() string
- func (p *RelationFriendListResponse) 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 *RelationActionRequest) (r *RelationActionResponse, err error)
- func (p *RelationServiceClient) RelationFollowList(ctx context.Context, req *RelationFollowListRequest) (r *RelationFollowListResponse, err error)
- func (p *RelationServiceClient) RelationFollowerList(ctx context.Context, req *RelationFollowerListRequest) (r *RelationFollowerListResponse, err error)
- func (p *RelationServiceClient) RelationFriendList(ctx context.Context, req *RelationFriendListRequest) (r *RelationFriendListResponse, 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 *RelationActionRequest) bool
- func (p *RelationServiceRelationActionArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationActionArgs) GetReq() (v *RelationActionRequest)
- 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 *RelationActionRequest)
- 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 *RelationActionResponse) bool
- func (p *RelationServiceRelationActionResult) GetResult() interface{}
- func (p *RelationServiceRelationActionResult) GetSuccess() (v *RelationActionResponse)
- 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 *RelationFollowListRequest) bool
- func (p *RelationServiceRelationFollowListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationFollowListArgs) GetReq() (v *RelationFollowListRequest)
- 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 *RelationFollowListRequest)
- 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 *RelationFollowListResponse) bool
- func (p *RelationServiceRelationFollowListResult) GetResult() interface{}
- func (p *RelationServiceRelationFollowListResult) GetSuccess() (v *RelationFollowListResponse)
- 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 *RelationFollowerListRequest) bool
- func (p *RelationServiceRelationFollowerListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationFollowerListArgs) GetReq() (v *RelationFollowerListRequest)
- 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 *RelationFollowerListRequest)
- 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 *RelationFollowerListResponse) bool
- func (p *RelationServiceRelationFollowerListResult) GetResult() interface{}
- func (p *RelationServiceRelationFollowerListResult) GetSuccess() (v *RelationFollowerListResponse)
- 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 *RelationFriendListRequest) bool
- func (p *RelationServiceRelationFriendListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceRelationFriendListArgs) GetReq() (v *RelationFriendListRequest)
- 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 *RelationFriendListRequest)
- 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 *RelationFriendListResponse) bool
- func (p *RelationServiceRelationFriendListResult) GetResult() interface{}
- func (p *RelationServiceRelationFriendListResult) GetSuccess() (v *RelationFriendListResponse)
- 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)
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField10(buf []byte) (int, error)
- func (p *User) FastReadField11(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastReadField6(buf []byte) (int, error)
- func (p *User) FastReadField7(buf []byte) (int, error)
- func (p *User) FastReadField8(buf []byte) (int, error)
- func (p *User) FastReadField9(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field10DeepEqual(src *int64) bool
- func (p *User) Field11DeepEqual(src *int64) bool
- func (p *User) Field1DeepEqual(src int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src *int64) bool
- func (p *User) Field4DeepEqual(src *int64) bool
- func (p *User) Field5DeepEqual(src bool) bool
- func (p *User) Field6DeepEqual(src *string) bool
- func (p *User) Field7DeepEqual(src *string) bool
- func (p *User) Field8DeepEqual(src *string) bool
- func (p *User) Field9DeepEqual(src *int64) bool
- func (p *User) GetAvatar() (v string)
- func (p *User) GetBackgroundImage() (v string)
- func (p *User) GetFavoriteCount() (v int64)
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetId() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) GetSignature() (v string)
- func (p *User) GetTotalFavorited() (v int64)
- func (p *User) GetWorkCount() (v int64)
- func (p *User) InitDefault()
- func (p *User) IsSetAvatar() bool
- func (p *User) IsSetBackgroundImage() bool
- func (p *User) IsSetFavoriteCount() bool
- func (p *User) IsSetFollowCount() bool
- func (p *User) IsSetFollowerCount() bool
- func (p *User) IsSetSignature() bool
- func (p *User) IsSetTotalFavorited() bool
- func (p *User) IsSetWorkCount() bool
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField10(iprot thrift.TProtocol) error
- func (p *User) ReadField11(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) ReadField6(iprot thrift.TProtocol) error
- func (p *User) ReadField7(iprot thrift.TProtocol) error
- func (p *User) ReadField8(iprot thrift.TProtocol) error
- func (p *User) ReadField9(iprot thrift.TProtocol) error
- func (p *User) SetAvatar(val *string)
- func (p *User) SetBackgroundImage(val *string)
- func (p *User) SetFavoriteCount(val *int64)
- func (p *User) SetFollowCount(val *int64)
- func (p *User) SetFollowerCount(val *int64)
- func (p *User) SetId(val int64)
- func (p *User) SetIsFollow(val bool)
- func (p *User) SetName(val string)
- func (p *User) SetSignature(val *string)
- func (p *User) SetTotalFavorited(val *int64)
- func (p *User) SetWorkCount(val *int64)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var RelationActionResponse_StatusMsg_DEFAULT string
View Source
var RelationFollowListResponse_StatusMsg_DEFAULT string
View Source
var RelationFollowerListResponse_StatusMsg_DEFAULT string
View Source
var RelationFriendListResponse_StatusMsg_DEFAULT string
View Source
var User_Avatar_DEFAULT string
View Source
var User_BackgroundImage_DEFAULT string
View Source
var User_FavoriteCount_DEFAULT int64
View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64
View Source
var User_Signature_DEFAULT string
View Source
var User_TotalFavorited_DEFAULT int64
View Source
var User_WorkCount_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type FriendUser ¶
type FriendUser struct { Base *User `thrift:"base,1" frugal:"1,default,User" json:"base"` Message string `thrift:"message,2" frugal:"2,default,string" json:"message"` MsgType int64 `thrift:"msgType,3" frugal:"3,default,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) FastReadField2 ¶
func (p *FriendUser) FastReadField2(buf []byte) (int, error)
func (*FriendUser) FastReadField3 ¶
func (p *FriendUser) FastReadField3(buf []byte) (int, error)
func (*FriendUser) FastWriteNocopy ¶
func (p *FriendUser) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FriendUser) Field1DeepEqual ¶
func (p *FriendUser) Field1DeepEqual(src *User) bool
func (*FriendUser) Field2DeepEqual ¶
func (p *FriendUser) Field2DeepEqual(src string) bool
func (*FriendUser) Field3DeepEqual ¶
func (p *FriendUser) Field3DeepEqual(src int64) bool
func (*FriendUser) GetBase ¶
func (p *FriendUser) GetBase() (v *User)
func (*FriendUser) GetMessage ¶
func (p *FriendUser) GetMessage() (v string)
func (*FriendUser) GetMsgType ¶
func (p *FriendUser) GetMsgType() (v int64)
func (*FriendUser) InitDefault ¶
func (p *FriendUser) InitDefault()
func (*FriendUser) IsSetBase ¶
func (p *FriendUser) IsSetBase() bool
func (*FriendUser) ReadField1 ¶
func (p *FriendUser) ReadField1(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) SetBase ¶
func (p *FriendUser) SetBase(val *User)
func (*FriendUser) SetMessage ¶
func (p *FriendUser) SetMessage(val string)
func (*FriendUser) SetMsgType ¶
func (p *FriendUser) SetMsgType(val int64)
func (*FriendUser) String ¶
func (p *FriendUser) String() string
type RelationActionRequest ¶
type RelationActionRequest struct { Token string `thrift:"token,1" frugal:"1,default,string" json:"token"` ToUserId int64 `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"` ActionType int32 `thrift:"action_type,3" frugal:"3,default,i32" json:"action_type"` }
var RelationServiceRelationActionArgs_Req_DEFAULT *RelationActionRequest
func NewRelationActionRequest ¶
func NewRelationActionRequest() *RelationActionRequest
func (*RelationActionRequest) BLength ¶
func (p *RelationActionRequest) BLength() int
func (*RelationActionRequest) DeepEqual ¶
func (p *RelationActionRequest) DeepEqual(ano *RelationActionRequest) bool
func (*RelationActionRequest) FastRead ¶
func (p *RelationActionRequest) FastRead(buf []byte) (int, error)
func (*RelationActionRequest) FastReadField1 ¶
func (p *RelationActionRequest) FastReadField1(buf []byte) (int, error)
func (*RelationActionRequest) FastReadField2 ¶
func (p *RelationActionRequest) FastReadField2(buf []byte) (int, error)
func (*RelationActionRequest) FastReadField3 ¶
func (p *RelationActionRequest) FastReadField3(buf []byte) (int, error)
func (*RelationActionRequest) FastWrite ¶
func (p *RelationActionRequest) FastWrite(buf []byte) int
for compatibility
func (*RelationActionRequest) FastWriteNocopy ¶
func (p *RelationActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationActionRequest) Field1DeepEqual ¶
func (p *RelationActionRequest) Field1DeepEqual(src string) bool
func (*RelationActionRequest) Field2DeepEqual ¶
func (p *RelationActionRequest) Field2DeepEqual(src int64) bool
func (*RelationActionRequest) Field3DeepEqual ¶
func (p *RelationActionRequest) Field3DeepEqual(src int32) bool
func (*RelationActionRequest) GetActionType ¶
func (p *RelationActionRequest) GetActionType() (v int32)
func (*RelationActionRequest) GetToUserId ¶
func (p *RelationActionRequest) GetToUserId() (v int64)
func (*RelationActionRequest) GetToken ¶
func (p *RelationActionRequest) GetToken() (v string)
func (*RelationActionRequest) InitDefault ¶
func (p *RelationActionRequest) InitDefault()
func (*RelationActionRequest) Read ¶
func (p *RelationActionRequest) Read(iprot thrift.TProtocol) (err error)
func (*RelationActionRequest) ReadField1 ¶
func (p *RelationActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*RelationActionRequest) ReadField2 ¶
func (p *RelationActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*RelationActionRequest) ReadField3 ¶
func (p *RelationActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*RelationActionRequest) SetActionType ¶
func (p *RelationActionRequest) SetActionType(val int32)
func (*RelationActionRequest) SetToUserId ¶
func (p *RelationActionRequest) SetToUserId(val int64)
func (*RelationActionRequest) SetToken ¶
func (p *RelationActionRequest) SetToken(val string)
func (*RelationActionRequest) String ¶
func (p *RelationActionRequest) String() string
type RelationActionResponse ¶
type RelationActionResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` }
var RelationServiceRelationActionResult_Success_DEFAULT *RelationActionResponse
func NewRelationActionResponse ¶
func NewRelationActionResponse() *RelationActionResponse
func (*RelationActionResponse) BLength ¶
func (p *RelationActionResponse) BLength() int
func (*RelationActionResponse) DeepEqual ¶
func (p *RelationActionResponse) DeepEqual(ano *RelationActionResponse) bool
func (*RelationActionResponse) FastRead ¶
func (p *RelationActionResponse) FastRead(buf []byte) (int, error)
func (*RelationActionResponse) FastReadField1 ¶
func (p *RelationActionResponse) FastReadField1(buf []byte) (int, error)
func (*RelationActionResponse) FastReadField2 ¶
func (p *RelationActionResponse) FastReadField2(buf []byte) (int, error)
func (*RelationActionResponse) FastWrite ¶
func (p *RelationActionResponse) FastWrite(buf []byte) int
for compatibility
func (*RelationActionResponse) FastWriteNocopy ¶
func (p *RelationActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationActionResponse) Field1DeepEqual ¶
func (p *RelationActionResponse) Field1DeepEqual(src int32) bool
func (*RelationActionResponse) Field2DeepEqual ¶
func (p *RelationActionResponse) Field2DeepEqual(src *string) bool
func (*RelationActionResponse) GetStatusCode ¶
func (p *RelationActionResponse) GetStatusCode() (v int32)
func (*RelationActionResponse) GetStatusMsg ¶
func (p *RelationActionResponse) GetStatusMsg() (v string)
func (*RelationActionResponse) InitDefault ¶
func (p *RelationActionResponse) InitDefault()
func (*RelationActionResponse) IsSetStatusMsg ¶
func (p *RelationActionResponse) IsSetStatusMsg() bool
func (*RelationActionResponse) Read ¶
func (p *RelationActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*RelationActionResponse) ReadField1 ¶
func (p *RelationActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*RelationActionResponse) ReadField2 ¶
func (p *RelationActionResponse) ReadField2(iprot thrift.TProtocol) error
func (*RelationActionResponse) SetStatusCode ¶
func (p *RelationActionResponse) SetStatusCode(val int32)
func (*RelationActionResponse) SetStatusMsg ¶
func (p *RelationActionResponse) SetStatusMsg(val *string)
func (*RelationActionResponse) String ¶
func (p *RelationActionResponse) String() string
type RelationFollowListRequest ¶
type RelationFollowListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
var RelationServiceRelationFollowListArgs_Req_DEFAULT *RelationFollowListRequest
func NewRelationFollowListRequest ¶
func NewRelationFollowListRequest() *RelationFollowListRequest
func (*RelationFollowListRequest) BLength ¶
func (p *RelationFollowListRequest) BLength() int
func (*RelationFollowListRequest) DeepEqual ¶
func (p *RelationFollowListRequest) DeepEqual(ano *RelationFollowListRequest) bool
func (*RelationFollowListRequest) FastRead ¶
func (p *RelationFollowListRequest) FastRead(buf []byte) (int, error)
func (*RelationFollowListRequest) FastReadField1 ¶
func (p *RelationFollowListRequest) FastReadField1(buf []byte) (int, error)
func (*RelationFollowListRequest) FastReadField2 ¶
func (p *RelationFollowListRequest) FastReadField2(buf []byte) (int, error)
func (*RelationFollowListRequest) FastWrite ¶
func (p *RelationFollowListRequest) FastWrite(buf []byte) int
for compatibility
func (*RelationFollowListRequest) FastWriteNocopy ¶
func (p *RelationFollowListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationFollowListRequest) Field1DeepEqual ¶
func (p *RelationFollowListRequest) Field1DeepEqual(src int64) bool
func (*RelationFollowListRequest) Field2DeepEqual ¶
func (p *RelationFollowListRequest) Field2DeepEqual(src string) bool
func (*RelationFollowListRequest) GetToken ¶
func (p *RelationFollowListRequest) GetToken() (v string)
func (*RelationFollowListRequest) GetUserId ¶
func (p *RelationFollowListRequest) GetUserId() (v int64)
func (*RelationFollowListRequest) InitDefault ¶
func (p *RelationFollowListRequest) InitDefault()
func (*RelationFollowListRequest) Read ¶
func (p *RelationFollowListRequest) Read(iprot thrift.TProtocol) (err error)
func (*RelationFollowListRequest) ReadField1 ¶
func (p *RelationFollowListRequest) ReadField1(iprot thrift.TProtocol) error
func (*RelationFollowListRequest) ReadField2 ¶
func (p *RelationFollowListRequest) ReadField2(iprot thrift.TProtocol) error
func (*RelationFollowListRequest) SetToken ¶
func (p *RelationFollowListRequest) SetToken(val string)
func (*RelationFollowListRequest) SetUserId ¶
func (p *RelationFollowListRequest) SetUserId(val int64)
func (*RelationFollowListRequest) String ¶
func (p *RelationFollowListRequest) String() string
type RelationFollowListResponse ¶
type RelationFollowListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserList []*User `thrift:"user_list,3" frugal:"3,default,list<User>" json:"user_list"` }
var RelationServiceRelationFollowListResult_Success_DEFAULT *RelationFollowListResponse
func NewRelationFollowListResponse ¶
func NewRelationFollowListResponse() *RelationFollowListResponse
func (*RelationFollowListResponse) BLength ¶
func (p *RelationFollowListResponse) BLength() int
func (*RelationFollowListResponse) DeepEqual ¶
func (p *RelationFollowListResponse) DeepEqual(ano *RelationFollowListResponse) bool
func (*RelationFollowListResponse) FastRead ¶
func (p *RelationFollowListResponse) FastRead(buf []byte) (int, error)
func (*RelationFollowListResponse) FastReadField1 ¶
func (p *RelationFollowListResponse) FastReadField1(buf []byte) (int, error)
func (*RelationFollowListResponse) FastReadField2 ¶
func (p *RelationFollowListResponse) FastReadField2(buf []byte) (int, error)
func (*RelationFollowListResponse) FastReadField3 ¶
func (p *RelationFollowListResponse) FastReadField3(buf []byte) (int, error)
func (*RelationFollowListResponse) FastWrite ¶
func (p *RelationFollowListResponse) FastWrite(buf []byte) int
for compatibility
func (*RelationFollowListResponse) FastWriteNocopy ¶
func (p *RelationFollowListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationFollowListResponse) Field1DeepEqual ¶
func (p *RelationFollowListResponse) Field1DeepEqual(src int32) bool
func (*RelationFollowListResponse) Field2DeepEqual ¶
func (p *RelationFollowListResponse) Field2DeepEqual(src *string) bool
func (*RelationFollowListResponse) Field3DeepEqual ¶
func (p *RelationFollowListResponse) Field3DeepEqual(src []*User) bool
func (*RelationFollowListResponse) GetStatusCode ¶
func (p *RelationFollowListResponse) GetStatusCode() (v int32)
func (*RelationFollowListResponse) GetStatusMsg ¶
func (p *RelationFollowListResponse) GetStatusMsg() (v string)
func (*RelationFollowListResponse) GetUserList ¶
func (p *RelationFollowListResponse) GetUserList() (v []*User)
func (*RelationFollowListResponse) InitDefault ¶
func (p *RelationFollowListResponse) InitDefault()
func (*RelationFollowListResponse) IsSetStatusMsg ¶
func (p *RelationFollowListResponse) IsSetStatusMsg() bool
func (*RelationFollowListResponse) Read ¶
func (p *RelationFollowListResponse) Read(iprot thrift.TProtocol) (err error)
func (*RelationFollowListResponse) ReadField1 ¶
func (p *RelationFollowListResponse) ReadField1(iprot thrift.TProtocol) error
func (*RelationFollowListResponse) ReadField2 ¶
func (p *RelationFollowListResponse) ReadField2(iprot thrift.TProtocol) error
func (*RelationFollowListResponse) ReadField3 ¶
func (p *RelationFollowListResponse) ReadField3(iprot thrift.TProtocol) error
func (*RelationFollowListResponse) SetStatusCode ¶
func (p *RelationFollowListResponse) SetStatusCode(val int32)
func (*RelationFollowListResponse) SetStatusMsg ¶
func (p *RelationFollowListResponse) SetStatusMsg(val *string)
func (*RelationFollowListResponse) SetUserList ¶
func (p *RelationFollowListResponse) SetUserList(val []*User)
func (*RelationFollowListResponse) String ¶
func (p *RelationFollowListResponse) String() string
type RelationFollowerListRequest ¶
type RelationFollowerListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
var RelationServiceRelationFollowerListArgs_Req_DEFAULT *RelationFollowerListRequest
func NewRelationFollowerListRequest ¶
func NewRelationFollowerListRequest() *RelationFollowerListRequest
func (*RelationFollowerListRequest) BLength ¶
func (p *RelationFollowerListRequest) BLength() int
func (*RelationFollowerListRequest) DeepEqual ¶
func (p *RelationFollowerListRequest) DeepEqual(ano *RelationFollowerListRequest) bool
func (*RelationFollowerListRequest) FastRead ¶
func (p *RelationFollowerListRequest) FastRead(buf []byte) (int, error)
func (*RelationFollowerListRequest) FastReadField1 ¶
func (p *RelationFollowerListRequest) FastReadField1(buf []byte) (int, error)
func (*RelationFollowerListRequest) FastReadField2 ¶
func (p *RelationFollowerListRequest) FastReadField2(buf []byte) (int, error)
func (*RelationFollowerListRequest) FastWrite ¶
func (p *RelationFollowerListRequest) FastWrite(buf []byte) int
for compatibility
func (*RelationFollowerListRequest) FastWriteNocopy ¶
func (p *RelationFollowerListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationFollowerListRequest) Field1DeepEqual ¶
func (p *RelationFollowerListRequest) Field1DeepEqual(src int64) bool
func (*RelationFollowerListRequest) Field2DeepEqual ¶
func (p *RelationFollowerListRequest) Field2DeepEqual(src string) bool
func (*RelationFollowerListRequest) GetToken ¶
func (p *RelationFollowerListRequest) GetToken() (v string)
func (*RelationFollowerListRequest) GetUserId ¶
func (p *RelationFollowerListRequest) GetUserId() (v int64)
func (*RelationFollowerListRequest) InitDefault ¶
func (p *RelationFollowerListRequest) InitDefault()
func (*RelationFollowerListRequest) Read ¶
func (p *RelationFollowerListRequest) Read(iprot thrift.TProtocol) (err error)
func (*RelationFollowerListRequest) ReadField1 ¶
func (p *RelationFollowerListRequest) ReadField1(iprot thrift.TProtocol) error
func (*RelationFollowerListRequest) ReadField2 ¶
func (p *RelationFollowerListRequest) ReadField2(iprot thrift.TProtocol) error
func (*RelationFollowerListRequest) SetToken ¶
func (p *RelationFollowerListRequest) SetToken(val string)
func (*RelationFollowerListRequest) SetUserId ¶
func (p *RelationFollowerListRequest) SetUserId(val int64)
func (*RelationFollowerListRequest) String ¶
func (p *RelationFollowerListRequest) String() string
type RelationFollowerListResponse ¶
type RelationFollowerListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserList []*User `thrift:"user_list,3" frugal:"3,default,list<User>" json:"user_list"` }
var RelationServiceRelationFollowerListResult_Success_DEFAULT *RelationFollowerListResponse
func NewRelationFollowerListResponse ¶
func NewRelationFollowerListResponse() *RelationFollowerListResponse
func (*RelationFollowerListResponse) BLength ¶
func (p *RelationFollowerListResponse) BLength() int
func (*RelationFollowerListResponse) DeepEqual ¶
func (p *RelationFollowerListResponse) DeepEqual(ano *RelationFollowerListResponse) bool
func (*RelationFollowerListResponse) FastRead ¶
func (p *RelationFollowerListResponse) FastRead(buf []byte) (int, error)
func (*RelationFollowerListResponse) FastReadField1 ¶
func (p *RelationFollowerListResponse) FastReadField1(buf []byte) (int, error)
func (*RelationFollowerListResponse) FastReadField2 ¶
func (p *RelationFollowerListResponse) FastReadField2(buf []byte) (int, error)
func (*RelationFollowerListResponse) FastReadField3 ¶
func (p *RelationFollowerListResponse) FastReadField3(buf []byte) (int, error)
func (*RelationFollowerListResponse) FastWrite ¶
func (p *RelationFollowerListResponse) FastWrite(buf []byte) int
for compatibility
func (*RelationFollowerListResponse) FastWriteNocopy ¶
func (p *RelationFollowerListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationFollowerListResponse) Field1DeepEqual ¶
func (p *RelationFollowerListResponse) Field1DeepEqual(src int32) bool
func (*RelationFollowerListResponse) Field2DeepEqual ¶
func (p *RelationFollowerListResponse) Field2DeepEqual(src *string) bool
func (*RelationFollowerListResponse) Field3DeepEqual ¶
func (p *RelationFollowerListResponse) Field3DeepEqual(src []*User) bool
func (*RelationFollowerListResponse) GetStatusCode ¶
func (p *RelationFollowerListResponse) GetStatusCode() (v int32)
func (*RelationFollowerListResponse) GetStatusMsg ¶
func (p *RelationFollowerListResponse) GetStatusMsg() (v string)
func (*RelationFollowerListResponse) GetUserList ¶
func (p *RelationFollowerListResponse) GetUserList() (v []*User)
func (*RelationFollowerListResponse) InitDefault ¶
func (p *RelationFollowerListResponse) InitDefault()
func (*RelationFollowerListResponse) IsSetStatusMsg ¶
func (p *RelationFollowerListResponse) IsSetStatusMsg() bool
func (*RelationFollowerListResponse) Read ¶
func (p *RelationFollowerListResponse) Read(iprot thrift.TProtocol) (err error)
func (*RelationFollowerListResponse) ReadField1 ¶
func (p *RelationFollowerListResponse) ReadField1(iprot thrift.TProtocol) error
func (*RelationFollowerListResponse) ReadField2 ¶
func (p *RelationFollowerListResponse) ReadField2(iprot thrift.TProtocol) error
func (*RelationFollowerListResponse) ReadField3 ¶
func (p *RelationFollowerListResponse) ReadField3(iprot thrift.TProtocol) error
func (*RelationFollowerListResponse) SetStatusCode ¶
func (p *RelationFollowerListResponse) SetStatusCode(val int32)
func (*RelationFollowerListResponse) SetStatusMsg ¶
func (p *RelationFollowerListResponse) SetStatusMsg(val *string)
func (*RelationFollowerListResponse) SetUserList ¶
func (p *RelationFollowerListResponse) SetUserList(val []*User)
func (*RelationFollowerListResponse) String ¶
func (p *RelationFollowerListResponse) String() string
type RelationFriendListRequest ¶
type RelationFriendListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
var RelationServiceRelationFriendListArgs_Req_DEFAULT *RelationFriendListRequest
func NewRelationFriendListRequest ¶
func NewRelationFriendListRequest() *RelationFriendListRequest
func (*RelationFriendListRequest) BLength ¶
func (p *RelationFriendListRequest) BLength() int
func (*RelationFriendListRequest) DeepEqual ¶
func (p *RelationFriendListRequest) DeepEqual(ano *RelationFriendListRequest) bool
func (*RelationFriendListRequest) FastRead ¶
func (p *RelationFriendListRequest) FastRead(buf []byte) (int, error)
func (*RelationFriendListRequest) FastReadField1 ¶
func (p *RelationFriendListRequest) FastReadField1(buf []byte) (int, error)
func (*RelationFriendListRequest) FastReadField2 ¶
func (p *RelationFriendListRequest) FastReadField2(buf []byte) (int, error)
func (*RelationFriendListRequest) FastWrite ¶
func (p *RelationFriendListRequest) FastWrite(buf []byte) int
for compatibility
func (*RelationFriendListRequest) FastWriteNocopy ¶
func (p *RelationFriendListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationFriendListRequest) Field1DeepEqual ¶
func (p *RelationFriendListRequest) Field1DeepEqual(src int64) bool
func (*RelationFriendListRequest) Field2DeepEqual ¶
func (p *RelationFriendListRequest) Field2DeepEqual(src string) bool
func (*RelationFriendListRequest) GetToken ¶
func (p *RelationFriendListRequest) GetToken() (v string)
func (*RelationFriendListRequest) GetUserId ¶
func (p *RelationFriendListRequest) GetUserId() (v int64)
func (*RelationFriendListRequest) InitDefault ¶
func (p *RelationFriendListRequest) InitDefault()
func (*RelationFriendListRequest) Read ¶
func (p *RelationFriendListRequest) Read(iprot thrift.TProtocol) (err error)
func (*RelationFriendListRequest) ReadField1 ¶
func (p *RelationFriendListRequest) ReadField1(iprot thrift.TProtocol) error
func (*RelationFriendListRequest) ReadField2 ¶
func (p *RelationFriendListRequest) ReadField2(iprot thrift.TProtocol) error
func (*RelationFriendListRequest) SetToken ¶
func (p *RelationFriendListRequest) SetToken(val string)
func (*RelationFriendListRequest) SetUserId ¶
func (p *RelationFriendListRequest) SetUserId(val int64)
func (*RelationFriendListRequest) String ¶
func (p *RelationFriendListRequest) String() string
type RelationFriendListResponse ¶
type RelationFriendListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,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" frugal:"3,default,list<FriendUser>" json:"user_list"` }
var RelationServiceRelationFriendListResult_Success_DEFAULT *RelationFriendListResponse
func NewRelationFriendListResponse ¶
func NewRelationFriendListResponse() *RelationFriendListResponse
func (*RelationFriendListResponse) BLength ¶
func (p *RelationFriendListResponse) BLength() int
func (*RelationFriendListResponse) DeepEqual ¶
func (p *RelationFriendListResponse) DeepEqual(ano *RelationFriendListResponse) bool
func (*RelationFriendListResponse) FastRead ¶
func (p *RelationFriendListResponse) FastRead(buf []byte) (int, error)
func (*RelationFriendListResponse) FastReadField1 ¶
func (p *RelationFriendListResponse) FastReadField1(buf []byte) (int, error)
func (*RelationFriendListResponse) FastReadField2 ¶
func (p *RelationFriendListResponse) FastReadField2(buf []byte) (int, error)
func (*RelationFriendListResponse) FastReadField3 ¶
func (p *RelationFriendListResponse) FastReadField3(buf []byte) (int, error)
func (*RelationFriendListResponse) FastWrite ¶
func (p *RelationFriendListResponse) FastWrite(buf []byte) int
for compatibility
func (*RelationFriendListResponse) FastWriteNocopy ¶
func (p *RelationFriendListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationFriendListResponse) Field1DeepEqual ¶
func (p *RelationFriendListResponse) Field1DeepEqual(src int32) bool
func (*RelationFriendListResponse) Field2DeepEqual ¶
func (p *RelationFriendListResponse) Field2DeepEqual(src *string) bool
func (*RelationFriendListResponse) Field3DeepEqual ¶
func (p *RelationFriendListResponse) Field3DeepEqual(src []*FriendUser) bool
func (*RelationFriendListResponse) GetStatusCode ¶
func (p *RelationFriendListResponse) GetStatusCode() (v int32)
func (*RelationFriendListResponse) GetStatusMsg ¶
func (p *RelationFriendListResponse) GetStatusMsg() (v string)
func (*RelationFriendListResponse) GetUserList ¶
func (p *RelationFriendListResponse) GetUserList() (v []*FriendUser)
func (*RelationFriendListResponse) InitDefault ¶
func (p *RelationFriendListResponse) InitDefault()
func (*RelationFriendListResponse) IsSetStatusMsg ¶
func (p *RelationFriendListResponse) IsSetStatusMsg() bool
func (*RelationFriendListResponse) Read ¶
func (p *RelationFriendListResponse) Read(iprot thrift.TProtocol) (err error)
func (*RelationFriendListResponse) ReadField1 ¶
func (p *RelationFriendListResponse) ReadField1(iprot thrift.TProtocol) error
func (*RelationFriendListResponse) ReadField2 ¶
func (p *RelationFriendListResponse) ReadField2(iprot thrift.TProtocol) error
func (*RelationFriendListResponse) ReadField3 ¶
func (p *RelationFriendListResponse) ReadField3(iprot thrift.TProtocol) error
func (*RelationFriendListResponse) SetStatusCode ¶
func (p *RelationFriendListResponse) SetStatusCode(val int32)
func (*RelationFriendListResponse) SetStatusMsg ¶
func (p *RelationFriendListResponse) SetStatusMsg(val *string)
func (*RelationFriendListResponse) SetUserList ¶
func (p *RelationFriendListResponse) SetUserList(val []*FriendUser)
func (*RelationFriendListResponse) String ¶
func (p *RelationFriendListResponse) String() string
type RelationService ¶
type RelationService interface { RelationAction(ctx context.Context, req *RelationActionRequest) (r *RelationActionResponse, err error) RelationFollowList(ctx context.Context, req *RelationFollowListRequest) (r *RelationFollowListResponse, err error) RelationFollowerList(ctx context.Context, req *RelationFollowerListRequest) (r *RelationFollowerListResponse, err error) RelationFriendList(ctx context.Context, req *RelationFriendListRequest) (r *RelationFriendListResponse, 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 *RelationActionRequest) (r *RelationActionResponse, err error)
func (*RelationServiceClient) RelationFollowList ¶
func (p *RelationServiceClient) RelationFollowList(ctx context.Context, req *RelationFollowListRequest) (r *RelationFollowListResponse, err error)
func (*RelationServiceClient) RelationFollowerList ¶
func (p *RelationServiceClient) RelationFollowerList(ctx context.Context, req *RelationFollowerListRequest) (r *RelationFollowerListResponse, err error)
func (*RelationServiceClient) RelationFriendList ¶
func (p *RelationServiceClient) RelationFriendList(ctx context.Context, req *RelationFriendListRequest) (r *RelationFriendListResponse, 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 *RelationActionRequest `thrift:"req,1" frugal:"1,default,RelationActionRequest" 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 *RelationActionRequest) bool
func (*RelationServiceRelationActionArgs) GetFirstArgument ¶
func (p *RelationServiceRelationActionArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationActionArgs) GetReq ¶
func (p *RelationServiceRelationActionArgs) GetReq() (v *RelationActionRequest)
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 *RelationActionRequest)
func (*RelationServiceRelationActionArgs) String ¶
func (p *RelationServiceRelationActionArgs) String() string
type RelationServiceRelationActionResult ¶
type RelationServiceRelationActionResult struct {
Success *RelationActionResponse `thrift:"success,0,optional" frugal:"0,optional,RelationActionResponse" 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 *RelationActionResponse) bool
func (*RelationServiceRelationActionResult) GetResult ¶
func (p *RelationServiceRelationActionResult) GetResult() interface{}
func (*RelationServiceRelationActionResult) GetSuccess ¶
func (p *RelationServiceRelationActionResult) GetSuccess() (v *RelationActionResponse)
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 *RelationFollowListRequest `thrift:"req,1" frugal:"1,default,RelationFollowListRequest" 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 *RelationFollowListRequest) bool
func (*RelationServiceRelationFollowListArgs) GetFirstArgument ¶
func (p *RelationServiceRelationFollowListArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationFollowListArgs) GetReq ¶
func (p *RelationServiceRelationFollowListArgs) GetReq() (v *RelationFollowListRequest)
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 *RelationFollowListRequest)
func (*RelationServiceRelationFollowListArgs) String ¶
func (p *RelationServiceRelationFollowListArgs) String() string
type RelationServiceRelationFollowListResult ¶
type RelationServiceRelationFollowListResult struct {
Success *RelationFollowListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationFollowListResponse" 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 *RelationFollowListResponse) bool
func (*RelationServiceRelationFollowListResult) GetResult ¶
func (p *RelationServiceRelationFollowListResult) GetResult() interface{}
func (*RelationServiceRelationFollowListResult) GetSuccess ¶
func (p *RelationServiceRelationFollowListResult) GetSuccess() (v *RelationFollowListResponse)
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 *RelationFollowerListRequest `thrift:"req,1" frugal:"1,default,RelationFollowerListRequest" 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 *RelationFollowerListRequest) bool
func (*RelationServiceRelationFollowerListArgs) GetFirstArgument ¶
func (p *RelationServiceRelationFollowerListArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationFollowerListArgs) GetReq ¶
func (p *RelationServiceRelationFollowerListArgs) GetReq() (v *RelationFollowerListRequest)
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 *RelationFollowerListRequest)
func (*RelationServiceRelationFollowerListArgs) String ¶
func (p *RelationServiceRelationFollowerListArgs) String() string
type RelationServiceRelationFollowerListResult ¶
type RelationServiceRelationFollowerListResult struct {
Success *RelationFollowerListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationFollowerListResponse" 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 *RelationFollowerListResponse) bool
func (*RelationServiceRelationFollowerListResult) GetResult ¶
func (p *RelationServiceRelationFollowerListResult) GetResult() interface{}
func (*RelationServiceRelationFollowerListResult) GetSuccess ¶
func (p *RelationServiceRelationFollowerListResult) GetSuccess() (v *RelationFollowerListResponse)
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 *RelationFriendListRequest `thrift:"req,1" frugal:"1,default,RelationFriendListRequest" 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 *RelationFriendListRequest) bool
func (*RelationServiceRelationFriendListArgs) GetFirstArgument ¶
func (p *RelationServiceRelationFriendListArgs) GetFirstArgument() interface{}
func (*RelationServiceRelationFriendListArgs) GetReq ¶
func (p *RelationServiceRelationFriendListArgs) GetReq() (v *RelationFriendListRequest)
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 *RelationFriendListRequest)
func (*RelationServiceRelationFriendListArgs) String ¶
func (p *RelationServiceRelationFriendListArgs) String() string
type RelationServiceRelationFriendListResult ¶
type RelationServiceRelationFriendListResult struct {
Success *RelationFriendListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationFriendListResponse" 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 *RelationFriendListResponse) bool
func (*RelationServiceRelationFriendListResult) GetResult ¶
func (p *RelationServiceRelationFriendListResult) GetResult() interface{}
func (*RelationServiceRelationFriendListResult) GetSuccess ¶
func (p *RelationServiceRelationFriendListResult) GetSuccess() (v *RelationFriendListResponse)
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
type User ¶
type User struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Name string `thrift:"name,2" frugal:"2,default,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" frugal:"5,default,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"` }
var FriendUser_Base_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field10DeepEqual ¶
func (*User) Field11DeepEqual ¶
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) Field6DeepEqual ¶
func (*User) Field7DeepEqual ¶
func (*User) Field8DeepEqual ¶
func (*User) Field9DeepEqual ¶
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) IsSetAvatar ¶
func (*User) IsSetBackgroundImage ¶
func (*User) IsSetFavoriteCount ¶
func (*User) IsSetFollowCount ¶
func (*User) IsSetFollowerCount ¶
func (*User) IsSetSignature ¶
func (*User) IsSetTotalFavorited ¶
func (*User) IsSetWorkCount ¶
func (*User) SetBackgroundImage ¶
func (*User) SetFavoriteCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
func (*User) SetSignature ¶
func (*User) SetTotalFavorited ¶
func (*User) SetWorkCount ¶
Click to show internal directories.
Click to hide internal directories.