Documentation ¶
Index ¶
- Variables
- type FollowRequest
- func (p *FollowRequest) BLength() int
- func (p *FollowRequest) DeepEqual(ano *FollowRequest) bool
- func (p *FollowRequest) FastRead(buf []byte) (int, error)
- func (p *FollowRequest) FastReadField1(buf []byte) (int, error)
- func (p *FollowRequest) FastReadField2(buf []byte) (int, error)
- func (p *FollowRequest) FastReadField3(buf []byte) (int, error)
- func (p *FollowRequest) FastWrite(buf []byte) int
- func (p *FollowRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FollowRequest) Field1DeepEqual(src int64) bool
- func (p *FollowRequest) Field2DeepEqual(src int64) bool
- func (p *FollowRequest) Field3DeepEqual(src bool) bool
- func (p *FollowRequest) GetActionType() (v bool)
- func (p *FollowRequest) GetToUserId() (v int64)
- func (p *FollowRequest) GetUserId() (v int64)
- func (p *FollowRequest) InitDefault()
- func (p *FollowRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *FollowRequest) SetActionType(val bool)
- func (p *FollowRequest) SetToUserId(val int64)
- func (p *FollowRequest) SetUserId(val int64)
- func (p *FollowRequest) String() string
- func (p *FollowRequest) Write(oprot thrift.TProtocol) (err error)
- type FollowResponse
- func (p *FollowResponse) BLength() int
- func (p *FollowResponse) DeepEqual(ano *FollowResponse) bool
- func (p *FollowResponse) FastRead(buf []byte) (int, error)
- func (p *FollowResponse) FastReadField1(buf []byte) (int, error)
- func (p *FollowResponse) FastReadField2(buf []byte) (int, error)
- func (p *FollowResponse) FastWrite(buf []byte) int
- func (p *FollowResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FollowResponse) Field1DeepEqual(src int64) bool
- func (p *FollowResponse) Field2DeepEqual(src string) bool
- func (p *FollowResponse) GetStatusCode() (v int64)
- func (p *FollowResponse) GetStatusMsg() (v string)
- func (p *FollowResponse) InitDefault()
- func (p *FollowResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowResponse) SetStatusCode(val int64)
- func (p *FollowResponse) SetStatusMsg(val string)
- func (p *FollowResponse) String() string
- func (p *FollowResponse) Write(oprot thrift.TProtocol) (err error)
- type RelationListRequest
- func (p *RelationListRequest) BLength() int
- func (p *RelationListRequest) DeepEqual(ano *RelationListRequest) bool
- func (p *RelationListRequest) FastRead(buf []byte) (int, error)
- func (p *RelationListRequest) FastReadField1(buf []byte) (int, error)
- func (p *RelationListRequest) FastReadField2(buf []byte) (int, error)
- func (p *RelationListRequest) FastWrite(buf []byte) int
- func (p *RelationListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationListRequest) Field1DeepEqual(src int64) bool
- func (p *RelationListRequest) Field2DeepEqual(src int64) bool
- func (p *RelationListRequest) GetQueryId() (v int64)
- func (p *RelationListRequest) GetUserId() (v int64)
- func (p *RelationListRequest) InitDefault()
- func (p *RelationListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationListRequest) SetQueryId(val int64)
- func (p *RelationListRequest) SetUserId(val int64)
- func (p *RelationListRequest) String() string
- func (p *RelationListRequest) Write(oprot thrift.TProtocol) (err error)
- type RelationListResponse
- func (p *RelationListResponse) BLength() int
- func (p *RelationListResponse) DeepEqual(ano *RelationListResponse) bool
- func (p *RelationListResponse) FastRead(buf []byte) (int, error)
- func (p *RelationListResponse) FastReadField1(buf []byte) (int, error)
- func (p *RelationListResponse) FastReadField2(buf []byte) (int, error)
- func (p *RelationListResponse) FastReadField3(buf []byte) (int, error)
- func (p *RelationListResponse) FastWrite(buf []byte) int
- func (p *RelationListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationListResponse) Field1DeepEqual(src int64) bool
- func (p *RelationListResponse) Field2DeepEqual(src *string) bool
- func (p *RelationListResponse) Field3DeepEqual(src []*user.UserInfo) bool
- func (p *RelationListResponse) GetStatusCode() (v int64)
- func (p *RelationListResponse) GetStatusMsg() (v string)
- func (p *RelationListResponse) GetUserList() (v []*user.UserInfo)
- func (p *RelationListResponse) InitDefault()
- func (p *RelationListResponse) IsSetStatusMsg() bool
- func (p *RelationListResponse) IsSetUserList() bool
- func (p *RelationListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RelationListResponse) SetStatusCode(val int64)
- func (p *RelationListResponse) SetStatusMsg(val *string)
- func (p *RelationListResponse) SetUserList(val []*user.UserInfo)
- func (p *RelationListResponse) String() string
- func (p *RelationListResponse) 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) FollowAction(ctx context.Context, request *FollowRequest) (r *FollowResponse, err error)
- func (p *RelationServiceClient) GetFollowList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
- func (p *RelationServiceClient) GetFollowerList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
- func (p *RelationServiceClient) GetFriendList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
- type RelationServiceFollowActionArgs
- func (p *RelationServiceFollowActionArgs) BLength() int
- func (p *RelationServiceFollowActionArgs) DeepEqual(ano *RelationServiceFollowActionArgs) bool
- func (p *RelationServiceFollowActionArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceFollowActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceFollowActionArgs) FastWrite(buf []byte) int
- func (p *RelationServiceFollowActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceFollowActionArgs) Field1DeepEqual(src *FollowRequest) bool
- func (p *RelationServiceFollowActionArgs) GetFirstArgument() interface{}
- func (p *RelationServiceFollowActionArgs) GetRequest() (v *FollowRequest)
- func (p *RelationServiceFollowActionArgs) InitDefault()
- func (p *RelationServiceFollowActionArgs) IsSetRequest() bool
- func (p *RelationServiceFollowActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceFollowActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceFollowActionArgs) SetRequest(val *FollowRequest)
- func (p *RelationServiceFollowActionArgs) String() string
- func (p *RelationServiceFollowActionArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceFollowActionResult
- func (p *RelationServiceFollowActionResult) BLength() int
- func (p *RelationServiceFollowActionResult) DeepEqual(ano *RelationServiceFollowActionResult) bool
- func (p *RelationServiceFollowActionResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceFollowActionResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceFollowActionResult) FastWrite(buf []byte) int
- func (p *RelationServiceFollowActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceFollowActionResult) Field0DeepEqual(src *FollowResponse) bool
- func (p *RelationServiceFollowActionResult) GetResult() interface{}
- func (p *RelationServiceFollowActionResult) GetSuccess() (v *FollowResponse)
- func (p *RelationServiceFollowActionResult) InitDefault()
- func (p *RelationServiceFollowActionResult) IsSetSuccess() bool
- func (p *RelationServiceFollowActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceFollowActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceFollowActionResult) SetSuccess(x interface{})
- func (p *RelationServiceFollowActionResult) String() string
- func (p *RelationServiceFollowActionResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowListArgs
- func (p *RelationServiceGetFollowListArgs) BLength() int
- func (p *RelationServiceGetFollowListArgs) DeepEqual(ano *RelationServiceGetFollowListArgs) bool
- func (p *RelationServiceGetFollowListArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceGetFollowListArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceGetFollowListArgs) FastWrite(buf []byte) int
- func (p *RelationServiceGetFollowListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceGetFollowListArgs) Field1DeepEqual(src *RelationListRequest) bool
- func (p *RelationServiceGetFollowListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceGetFollowListArgs) GetRequest() (v *RelationListRequest)
- func (p *RelationServiceGetFollowListArgs) InitDefault()
- func (p *RelationServiceGetFollowListArgs) IsSetRequest() bool
- func (p *RelationServiceGetFollowListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowListArgs) SetRequest(val *RelationListRequest)
- func (p *RelationServiceGetFollowListArgs) String() string
- func (p *RelationServiceGetFollowListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowListResult
- func (p *RelationServiceGetFollowListResult) BLength() int
- func (p *RelationServiceGetFollowListResult) DeepEqual(ano *RelationServiceGetFollowListResult) bool
- func (p *RelationServiceGetFollowListResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceGetFollowListResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceGetFollowListResult) FastWrite(buf []byte) int
- func (p *RelationServiceGetFollowListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceGetFollowListResult) Field0DeepEqual(src *RelationListResponse) bool
- func (p *RelationServiceGetFollowListResult) GetResult() interface{}
- func (p *RelationServiceGetFollowListResult) GetSuccess() (v *RelationListResponse)
- func (p *RelationServiceGetFollowListResult) InitDefault()
- func (p *RelationServiceGetFollowListResult) IsSetSuccess() bool
- func (p *RelationServiceGetFollowListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowListResult) SetSuccess(x interface{})
- func (p *RelationServiceGetFollowListResult) String() string
- func (p *RelationServiceGetFollowListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowerListArgs
- func (p *RelationServiceGetFollowerListArgs) BLength() int
- func (p *RelationServiceGetFollowerListArgs) DeepEqual(ano *RelationServiceGetFollowerListArgs) bool
- func (p *RelationServiceGetFollowerListArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceGetFollowerListArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceGetFollowerListArgs) FastWrite(buf []byte) int
- func (p *RelationServiceGetFollowerListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceGetFollowerListArgs) Field1DeepEqual(src *RelationListRequest) bool
- func (p *RelationServiceGetFollowerListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceGetFollowerListArgs) GetRequest() (v *RelationListRequest)
- func (p *RelationServiceGetFollowerListArgs) InitDefault()
- func (p *RelationServiceGetFollowerListArgs) IsSetRequest() bool
- func (p *RelationServiceGetFollowerListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowerListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowerListArgs) SetRequest(val *RelationListRequest)
- func (p *RelationServiceGetFollowerListArgs) String() string
- func (p *RelationServiceGetFollowerListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowerListResult
- func (p *RelationServiceGetFollowerListResult) BLength() int
- func (p *RelationServiceGetFollowerListResult) DeepEqual(ano *RelationServiceGetFollowerListResult) bool
- func (p *RelationServiceGetFollowerListResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceGetFollowerListResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceGetFollowerListResult) FastWrite(buf []byte) int
- func (p *RelationServiceGetFollowerListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceGetFollowerListResult) Field0DeepEqual(src *RelationListResponse) bool
- func (p *RelationServiceGetFollowerListResult) GetResult() interface{}
- func (p *RelationServiceGetFollowerListResult) GetSuccess() (v *RelationListResponse)
- func (p *RelationServiceGetFollowerListResult) InitDefault()
- func (p *RelationServiceGetFollowerListResult) IsSetSuccess() bool
- func (p *RelationServiceGetFollowerListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowerListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowerListResult) SetSuccess(x interface{})
- func (p *RelationServiceGetFollowerListResult) String() string
- func (p *RelationServiceGetFollowerListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFriendListArgs
- func (p *RelationServiceGetFriendListArgs) BLength() int
- func (p *RelationServiceGetFriendListArgs) DeepEqual(ano *RelationServiceGetFriendListArgs) bool
- func (p *RelationServiceGetFriendListArgs) FastRead(buf []byte) (int, error)
- func (p *RelationServiceGetFriendListArgs) FastReadField1(buf []byte) (int, error)
- func (p *RelationServiceGetFriendListArgs) FastWrite(buf []byte) int
- func (p *RelationServiceGetFriendListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceGetFriendListArgs) Field1DeepEqual(src *RelationListRequest) bool
- func (p *RelationServiceGetFriendListArgs) GetFirstArgument() interface{}
- func (p *RelationServiceGetFriendListArgs) GetRequest() (v *RelationListRequest)
- func (p *RelationServiceGetFriendListArgs) InitDefault()
- func (p *RelationServiceGetFriendListArgs) IsSetRequest() bool
- func (p *RelationServiceGetFriendListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFriendListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFriendListArgs) SetRequest(val *RelationListRequest)
- func (p *RelationServiceGetFriendListArgs) String() string
- func (p *RelationServiceGetFriendListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFriendListResult
- func (p *RelationServiceGetFriendListResult) BLength() int
- func (p *RelationServiceGetFriendListResult) DeepEqual(ano *RelationServiceGetFriendListResult) bool
- func (p *RelationServiceGetFriendListResult) FastRead(buf []byte) (int, error)
- func (p *RelationServiceGetFriendListResult) FastReadField0(buf []byte) (int, error)
- func (p *RelationServiceGetFriendListResult) FastWrite(buf []byte) int
- func (p *RelationServiceGetFriendListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RelationServiceGetFriendListResult) Field0DeepEqual(src *RelationListResponse) bool
- func (p *RelationServiceGetFriendListResult) GetResult() interface{}
- func (p *RelationServiceGetFriendListResult) GetSuccess() (v *RelationListResponse)
- func (p *RelationServiceGetFriendListResult) InitDefault()
- func (p *RelationServiceGetFriendListResult) IsSetSuccess() bool
- func (p *RelationServiceGetFriendListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFriendListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFriendListResult) SetSuccess(x interface{})
- func (p *RelationServiceGetFriendListResult) String() string
- func (p *RelationServiceGetFriendListResult) Write(oprot thrift.TProtocol) (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
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var RelationListResponse_StatusMsg_DEFAULT string
View Source
var RelationListResponse_UserList_DEFAULT []*user.UserInfo
Functions ¶
This section is empty.
Types ¶
type FollowRequest ¶
type FollowRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` ToUserId int64 `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"` ActionType bool `thrift:"action_type,3" frugal:"3,default,bool" json:"action_type"` }
var RelationServiceFollowActionArgs_Request_DEFAULT *FollowRequest
func NewFollowRequest ¶
func NewFollowRequest() *FollowRequest
func (*FollowRequest) BLength ¶
func (p *FollowRequest) BLength() int
func (*FollowRequest) DeepEqual ¶
func (p *FollowRequest) DeepEqual(ano *FollowRequest) bool
func (*FollowRequest) FastReadField1 ¶
func (p *FollowRequest) FastReadField1(buf []byte) (int, error)
func (*FollowRequest) FastReadField2 ¶
func (p *FollowRequest) FastReadField2(buf []byte) (int, error)
func (*FollowRequest) FastReadField3 ¶
func (p *FollowRequest) FastReadField3(buf []byte) (int, error)
func (*FollowRequest) FastWrite ¶
func (p *FollowRequest) FastWrite(buf []byte) int
for compatibility
func (*FollowRequest) FastWriteNocopy ¶
func (p *FollowRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FollowRequest) Field1DeepEqual ¶
func (p *FollowRequest) Field1DeepEqual(src int64) bool
func (*FollowRequest) Field2DeepEqual ¶
func (p *FollowRequest) Field2DeepEqual(src int64) bool
func (*FollowRequest) Field3DeepEqual ¶
func (p *FollowRequest) Field3DeepEqual(src bool) bool
func (*FollowRequest) GetActionType ¶
func (p *FollowRequest) GetActionType() (v bool)
func (*FollowRequest) GetToUserId ¶
func (p *FollowRequest) GetToUserId() (v int64)
func (*FollowRequest) GetUserId ¶
func (p *FollowRequest) GetUserId() (v int64)
func (*FollowRequest) InitDefault ¶
func (p *FollowRequest) InitDefault()
func (*FollowRequest) ReadField1 ¶
func (p *FollowRequest) ReadField1(iprot thrift.TProtocol) error
func (*FollowRequest) ReadField2 ¶
func (p *FollowRequest) ReadField2(iprot thrift.TProtocol) error
func (*FollowRequest) ReadField3 ¶
func (p *FollowRequest) ReadField3(iprot thrift.TProtocol) error
func (*FollowRequest) SetActionType ¶
func (p *FollowRequest) SetActionType(val bool)
func (*FollowRequest) SetToUserId ¶
func (p *FollowRequest) SetToUserId(val int64)
func (*FollowRequest) SetUserId ¶
func (p *FollowRequest) SetUserId(val int64)
func (*FollowRequest) String ¶
func (p *FollowRequest) String() string
type FollowResponse ¶
type FollowResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` }
var RelationServiceFollowActionResult_Success_DEFAULT *FollowResponse
func NewFollowResponse ¶
func NewFollowResponse() *FollowResponse
func (*FollowResponse) BLength ¶
func (p *FollowResponse) BLength() int
func (*FollowResponse) DeepEqual ¶
func (p *FollowResponse) DeepEqual(ano *FollowResponse) bool
func (*FollowResponse) FastReadField1 ¶
func (p *FollowResponse) FastReadField1(buf []byte) (int, error)
func (*FollowResponse) FastReadField2 ¶
func (p *FollowResponse) FastReadField2(buf []byte) (int, error)
func (*FollowResponse) FastWrite ¶
func (p *FollowResponse) FastWrite(buf []byte) int
for compatibility
func (*FollowResponse) FastWriteNocopy ¶
func (p *FollowResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FollowResponse) Field1DeepEqual ¶
func (p *FollowResponse) Field1DeepEqual(src int64) bool
func (*FollowResponse) Field2DeepEqual ¶
func (p *FollowResponse) Field2DeepEqual(src string) bool
func (*FollowResponse) GetStatusCode ¶
func (p *FollowResponse) GetStatusCode() (v int64)
func (*FollowResponse) GetStatusMsg ¶
func (p *FollowResponse) GetStatusMsg() (v string)
func (*FollowResponse) InitDefault ¶
func (p *FollowResponse) InitDefault()
func (*FollowResponse) ReadField1 ¶
func (p *FollowResponse) ReadField1(iprot thrift.TProtocol) error
func (*FollowResponse) ReadField2 ¶
func (p *FollowResponse) ReadField2(iprot thrift.TProtocol) error
func (*FollowResponse) SetStatusCode ¶
func (p *FollowResponse) SetStatusCode(val int64)
func (*FollowResponse) SetStatusMsg ¶
func (p *FollowResponse) SetStatusMsg(val string)
func (*FollowResponse) String ¶
func (p *FollowResponse) String() string
type RelationListRequest ¶
type RelationListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` QueryId int64 `thrift:"query_id,2" frugal:"2,default,i64" json:"query_id"` }
var RelationServiceGetFollowListArgs_Request_DEFAULT *RelationListRequest
var RelationServiceGetFollowerListArgs_Request_DEFAULT *RelationListRequest
var RelationServiceGetFriendListArgs_Request_DEFAULT *RelationListRequest
func NewRelationListRequest ¶
func NewRelationListRequest() *RelationListRequest
func (*RelationListRequest) BLength ¶
func (p *RelationListRequest) BLength() int
func (*RelationListRequest) DeepEqual ¶
func (p *RelationListRequest) DeepEqual(ano *RelationListRequest) bool
func (*RelationListRequest) FastRead ¶
func (p *RelationListRequest) FastRead(buf []byte) (int, error)
func (*RelationListRequest) FastReadField1 ¶
func (p *RelationListRequest) FastReadField1(buf []byte) (int, error)
func (*RelationListRequest) FastReadField2 ¶
func (p *RelationListRequest) FastReadField2(buf []byte) (int, error)
func (*RelationListRequest) FastWrite ¶
func (p *RelationListRequest) FastWrite(buf []byte) int
for compatibility
func (*RelationListRequest) FastWriteNocopy ¶
func (p *RelationListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationListRequest) Field1DeepEqual ¶
func (p *RelationListRequest) Field1DeepEqual(src int64) bool
func (*RelationListRequest) Field2DeepEqual ¶
func (p *RelationListRequest) Field2DeepEqual(src int64) bool
func (*RelationListRequest) GetQueryId ¶
func (p *RelationListRequest) GetQueryId() (v int64)
func (*RelationListRequest) GetUserId ¶
func (p *RelationListRequest) GetUserId() (v int64)
func (*RelationListRequest) InitDefault ¶
func (p *RelationListRequest) InitDefault()
func (*RelationListRequest) Read ¶
func (p *RelationListRequest) Read(iprot thrift.TProtocol) (err error)
func (*RelationListRequest) ReadField1 ¶
func (p *RelationListRequest) ReadField1(iprot thrift.TProtocol) error
func (*RelationListRequest) ReadField2 ¶
func (p *RelationListRequest) ReadField2(iprot thrift.TProtocol) error
func (*RelationListRequest) SetQueryId ¶
func (p *RelationListRequest) SetQueryId(val int64)
func (*RelationListRequest) SetUserId ¶
func (p *RelationListRequest) SetUserId(val int64)
func (*RelationListRequest) String ¶
func (p *RelationListRequest) String() string
type RelationListResponse ¶
type RelationListResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` UserList []*user.UserInfo `thrift:"user_list,3,optional" frugal:"3,optional,list<user.UserInfo>" json:"user_list,omitempty"` }
var RelationServiceGetFollowListResult_Success_DEFAULT *RelationListResponse
var RelationServiceGetFollowerListResult_Success_DEFAULT *RelationListResponse
var RelationServiceGetFriendListResult_Success_DEFAULT *RelationListResponse
func NewRelationListResponse ¶
func NewRelationListResponse() *RelationListResponse
func (*RelationListResponse) BLength ¶
func (p *RelationListResponse) BLength() int
func (*RelationListResponse) DeepEqual ¶
func (p *RelationListResponse) DeepEqual(ano *RelationListResponse) bool
func (*RelationListResponse) FastRead ¶
func (p *RelationListResponse) FastRead(buf []byte) (int, error)
func (*RelationListResponse) FastReadField1 ¶
func (p *RelationListResponse) FastReadField1(buf []byte) (int, error)
func (*RelationListResponse) FastReadField2 ¶
func (p *RelationListResponse) FastReadField2(buf []byte) (int, error)
func (*RelationListResponse) FastReadField3 ¶
func (p *RelationListResponse) FastReadField3(buf []byte) (int, error)
func (*RelationListResponse) FastWrite ¶
func (p *RelationListResponse) FastWrite(buf []byte) int
for compatibility
func (*RelationListResponse) FastWriteNocopy ¶
func (p *RelationListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationListResponse) Field1DeepEqual ¶
func (p *RelationListResponse) Field1DeepEqual(src int64) bool
func (*RelationListResponse) Field2DeepEqual ¶
func (p *RelationListResponse) Field2DeepEqual(src *string) bool
func (*RelationListResponse) Field3DeepEqual ¶
func (p *RelationListResponse) Field3DeepEqual(src []*user.UserInfo) bool
func (*RelationListResponse) GetStatusCode ¶
func (p *RelationListResponse) GetStatusCode() (v int64)
func (*RelationListResponse) GetStatusMsg ¶
func (p *RelationListResponse) GetStatusMsg() (v string)
func (*RelationListResponse) GetUserList ¶
func (p *RelationListResponse) GetUserList() (v []*user.UserInfo)
func (*RelationListResponse) InitDefault ¶
func (p *RelationListResponse) InitDefault()
func (*RelationListResponse) IsSetStatusMsg ¶
func (p *RelationListResponse) IsSetStatusMsg() bool
func (*RelationListResponse) IsSetUserList ¶
func (p *RelationListResponse) IsSetUserList() bool
func (*RelationListResponse) Read ¶
func (p *RelationListResponse) Read(iprot thrift.TProtocol) (err error)
func (*RelationListResponse) ReadField1 ¶
func (p *RelationListResponse) ReadField1(iprot thrift.TProtocol) error
func (*RelationListResponse) ReadField2 ¶
func (p *RelationListResponse) ReadField2(iprot thrift.TProtocol) error
func (*RelationListResponse) ReadField3 ¶
func (p *RelationListResponse) ReadField3(iprot thrift.TProtocol) error
func (*RelationListResponse) SetStatusCode ¶
func (p *RelationListResponse) SetStatusCode(val int64)
func (*RelationListResponse) SetStatusMsg ¶
func (p *RelationListResponse) SetStatusMsg(val *string)
func (*RelationListResponse) SetUserList ¶
func (p *RelationListResponse) SetUserList(val []*user.UserInfo)
func (*RelationListResponse) String ¶
func (p *RelationListResponse) String() string
type RelationService ¶
type RelationService interface { FollowAction(ctx context.Context, request *FollowRequest) (r *FollowResponse, err error) GetFollowList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error) GetFollowerList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error) GetFriendList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, 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) FollowAction ¶
func (p *RelationServiceClient) FollowAction(ctx context.Context, request *FollowRequest) (r *FollowResponse, err error)
func (*RelationServiceClient) GetFollowList ¶
func (p *RelationServiceClient) GetFollowList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
func (*RelationServiceClient) GetFollowerList ¶
func (p *RelationServiceClient) GetFollowerList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
func (*RelationServiceClient) GetFriendList ¶
func (p *RelationServiceClient) GetFriendList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
type RelationServiceFollowActionArgs ¶
type RelationServiceFollowActionArgs struct {
Request *FollowRequest `thrift:"request,1" frugal:"1,default,FollowRequest" json:"request"`
}
func NewRelationServiceFollowActionArgs ¶
func NewRelationServiceFollowActionArgs() *RelationServiceFollowActionArgs
func (*RelationServiceFollowActionArgs) BLength ¶
func (p *RelationServiceFollowActionArgs) BLength() int
func (*RelationServiceFollowActionArgs) DeepEqual ¶
func (p *RelationServiceFollowActionArgs) DeepEqual(ano *RelationServiceFollowActionArgs) bool
func (*RelationServiceFollowActionArgs) FastRead ¶
func (p *RelationServiceFollowActionArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceFollowActionArgs) FastReadField1 ¶
func (p *RelationServiceFollowActionArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceFollowActionArgs) FastWrite ¶
func (p *RelationServiceFollowActionArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceFollowActionArgs) FastWriteNocopy ¶
func (p *RelationServiceFollowActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceFollowActionArgs) Field1DeepEqual ¶
func (p *RelationServiceFollowActionArgs) Field1DeepEqual(src *FollowRequest) bool
func (*RelationServiceFollowActionArgs) GetFirstArgument ¶
func (p *RelationServiceFollowActionArgs) GetFirstArgument() interface{}
func (*RelationServiceFollowActionArgs) GetRequest ¶
func (p *RelationServiceFollowActionArgs) GetRequest() (v *FollowRequest)
func (*RelationServiceFollowActionArgs) InitDefault ¶
func (p *RelationServiceFollowActionArgs) InitDefault()
func (*RelationServiceFollowActionArgs) IsSetRequest ¶
func (p *RelationServiceFollowActionArgs) IsSetRequest() bool
func (*RelationServiceFollowActionArgs) Read ¶
func (p *RelationServiceFollowActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceFollowActionArgs) ReadField1 ¶
func (p *RelationServiceFollowActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceFollowActionArgs) SetRequest ¶
func (p *RelationServiceFollowActionArgs) SetRequest(val *FollowRequest)
func (*RelationServiceFollowActionArgs) String ¶
func (p *RelationServiceFollowActionArgs) String() string
type RelationServiceFollowActionResult ¶
type RelationServiceFollowActionResult struct {
Success *FollowResponse `thrift:"success,0,optional" frugal:"0,optional,FollowResponse" json:"success,omitempty"`
}
func NewRelationServiceFollowActionResult ¶
func NewRelationServiceFollowActionResult() *RelationServiceFollowActionResult
func (*RelationServiceFollowActionResult) BLength ¶
func (p *RelationServiceFollowActionResult) BLength() int
func (*RelationServiceFollowActionResult) DeepEqual ¶
func (p *RelationServiceFollowActionResult) DeepEqual(ano *RelationServiceFollowActionResult) bool
func (*RelationServiceFollowActionResult) FastRead ¶
func (p *RelationServiceFollowActionResult) FastRead(buf []byte) (int, error)
func (*RelationServiceFollowActionResult) FastReadField0 ¶
func (p *RelationServiceFollowActionResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceFollowActionResult) FastWrite ¶
func (p *RelationServiceFollowActionResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceFollowActionResult) FastWriteNocopy ¶
func (p *RelationServiceFollowActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceFollowActionResult) Field0DeepEqual ¶
func (p *RelationServiceFollowActionResult) Field0DeepEqual(src *FollowResponse) bool
func (*RelationServiceFollowActionResult) GetResult ¶
func (p *RelationServiceFollowActionResult) GetResult() interface{}
func (*RelationServiceFollowActionResult) GetSuccess ¶
func (p *RelationServiceFollowActionResult) GetSuccess() (v *FollowResponse)
func (*RelationServiceFollowActionResult) InitDefault ¶
func (p *RelationServiceFollowActionResult) InitDefault()
func (*RelationServiceFollowActionResult) IsSetSuccess ¶
func (p *RelationServiceFollowActionResult) IsSetSuccess() bool
func (*RelationServiceFollowActionResult) Read ¶
func (p *RelationServiceFollowActionResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceFollowActionResult) ReadField0 ¶
func (p *RelationServiceFollowActionResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceFollowActionResult) SetSuccess ¶
func (p *RelationServiceFollowActionResult) SetSuccess(x interface{})
func (*RelationServiceFollowActionResult) String ¶
func (p *RelationServiceFollowActionResult) String() string
type RelationServiceGetFollowListArgs ¶
type RelationServiceGetFollowListArgs struct {
Request *RelationListRequest `thrift:"request,1" frugal:"1,default,RelationListRequest" json:"request"`
}
func NewRelationServiceGetFollowListArgs ¶
func NewRelationServiceGetFollowListArgs() *RelationServiceGetFollowListArgs
func (*RelationServiceGetFollowListArgs) BLength ¶
func (p *RelationServiceGetFollowListArgs) BLength() int
func (*RelationServiceGetFollowListArgs) DeepEqual ¶
func (p *RelationServiceGetFollowListArgs) DeepEqual(ano *RelationServiceGetFollowListArgs) bool
func (*RelationServiceGetFollowListArgs) FastRead ¶
func (p *RelationServiceGetFollowListArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceGetFollowListArgs) FastReadField1 ¶
func (p *RelationServiceGetFollowListArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceGetFollowListArgs) FastWrite ¶
func (p *RelationServiceGetFollowListArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceGetFollowListArgs) FastWriteNocopy ¶
func (p *RelationServiceGetFollowListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceGetFollowListArgs) Field1DeepEqual ¶
func (p *RelationServiceGetFollowListArgs) Field1DeepEqual(src *RelationListRequest) bool
func (*RelationServiceGetFollowListArgs) GetFirstArgument ¶
func (p *RelationServiceGetFollowListArgs) GetFirstArgument() interface{}
func (*RelationServiceGetFollowListArgs) GetRequest ¶
func (p *RelationServiceGetFollowListArgs) GetRequest() (v *RelationListRequest)
func (*RelationServiceGetFollowListArgs) InitDefault ¶
func (p *RelationServiceGetFollowListArgs) InitDefault()
func (*RelationServiceGetFollowListArgs) IsSetRequest ¶
func (p *RelationServiceGetFollowListArgs) IsSetRequest() bool
func (*RelationServiceGetFollowListArgs) Read ¶
func (p *RelationServiceGetFollowListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowListArgs) ReadField1 ¶
func (p *RelationServiceGetFollowListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowListArgs) SetRequest ¶
func (p *RelationServiceGetFollowListArgs) SetRequest(val *RelationListRequest)
func (*RelationServiceGetFollowListArgs) String ¶
func (p *RelationServiceGetFollowListArgs) String() string
type RelationServiceGetFollowListResult ¶
type RelationServiceGetFollowListResult struct {
Success *RelationListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationListResponse" json:"success,omitempty"`
}
func NewRelationServiceGetFollowListResult ¶
func NewRelationServiceGetFollowListResult() *RelationServiceGetFollowListResult
func (*RelationServiceGetFollowListResult) BLength ¶
func (p *RelationServiceGetFollowListResult) BLength() int
func (*RelationServiceGetFollowListResult) DeepEqual ¶
func (p *RelationServiceGetFollowListResult) DeepEqual(ano *RelationServiceGetFollowListResult) bool
func (*RelationServiceGetFollowListResult) FastRead ¶
func (p *RelationServiceGetFollowListResult) FastRead(buf []byte) (int, error)
func (*RelationServiceGetFollowListResult) FastReadField0 ¶
func (p *RelationServiceGetFollowListResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceGetFollowListResult) FastWrite ¶
func (p *RelationServiceGetFollowListResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceGetFollowListResult) FastWriteNocopy ¶
func (p *RelationServiceGetFollowListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceGetFollowListResult) Field0DeepEqual ¶
func (p *RelationServiceGetFollowListResult) Field0DeepEqual(src *RelationListResponse) bool
func (*RelationServiceGetFollowListResult) GetResult ¶
func (p *RelationServiceGetFollowListResult) GetResult() interface{}
func (*RelationServiceGetFollowListResult) GetSuccess ¶
func (p *RelationServiceGetFollowListResult) GetSuccess() (v *RelationListResponse)
func (*RelationServiceGetFollowListResult) InitDefault ¶
func (p *RelationServiceGetFollowListResult) InitDefault()
func (*RelationServiceGetFollowListResult) IsSetSuccess ¶
func (p *RelationServiceGetFollowListResult) IsSetSuccess() bool
func (*RelationServiceGetFollowListResult) Read ¶
func (p *RelationServiceGetFollowListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowListResult) ReadField0 ¶
func (p *RelationServiceGetFollowListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowListResult) SetSuccess ¶
func (p *RelationServiceGetFollowListResult) SetSuccess(x interface{})
func (*RelationServiceGetFollowListResult) String ¶
func (p *RelationServiceGetFollowListResult) String() string
type RelationServiceGetFollowerListArgs ¶
type RelationServiceGetFollowerListArgs struct {
Request *RelationListRequest `thrift:"request,1" frugal:"1,default,RelationListRequest" json:"request"`
}
func NewRelationServiceGetFollowerListArgs ¶
func NewRelationServiceGetFollowerListArgs() *RelationServiceGetFollowerListArgs
func (*RelationServiceGetFollowerListArgs) BLength ¶
func (p *RelationServiceGetFollowerListArgs) BLength() int
func (*RelationServiceGetFollowerListArgs) DeepEqual ¶
func (p *RelationServiceGetFollowerListArgs) DeepEqual(ano *RelationServiceGetFollowerListArgs) bool
func (*RelationServiceGetFollowerListArgs) FastRead ¶
func (p *RelationServiceGetFollowerListArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceGetFollowerListArgs) FastReadField1 ¶
func (p *RelationServiceGetFollowerListArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceGetFollowerListArgs) FastWrite ¶
func (p *RelationServiceGetFollowerListArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceGetFollowerListArgs) FastWriteNocopy ¶
func (p *RelationServiceGetFollowerListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceGetFollowerListArgs) Field1DeepEqual ¶
func (p *RelationServiceGetFollowerListArgs) Field1DeepEqual(src *RelationListRequest) bool
func (*RelationServiceGetFollowerListArgs) GetFirstArgument ¶
func (p *RelationServiceGetFollowerListArgs) GetFirstArgument() interface{}
func (*RelationServiceGetFollowerListArgs) GetRequest ¶
func (p *RelationServiceGetFollowerListArgs) GetRequest() (v *RelationListRequest)
func (*RelationServiceGetFollowerListArgs) InitDefault ¶
func (p *RelationServiceGetFollowerListArgs) InitDefault()
func (*RelationServiceGetFollowerListArgs) IsSetRequest ¶
func (p *RelationServiceGetFollowerListArgs) IsSetRequest() bool
func (*RelationServiceGetFollowerListArgs) Read ¶
func (p *RelationServiceGetFollowerListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowerListArgs) ReadField1 ¶
func (p *RelationServiceGetFollowerListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowerListArgs) SetRequest ¶
func (p *RelationServiceGetFollowerListArgs) SetRequest(val *RelationListRequest)
func (*RelationServiceGetFollowerListArgs) String ¶
func (p *RelationServiceGetFollowerListArgs) String() string
type RelationServiceGetFollowerListResult ¶
type RelationServiceGetFollowerListResult struct {
Success *RelationListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationListResponse" json:"success,omitempty"`
}
func NewRelationServiceGetFollowerListResult ¶
func NewRelationServiceGetFollowerListResult() *RelationServiceGetFollowerListResult
func (*RelationServiceGetFollowerListResult) BLength ¶
func (p *RelationServiceGetFollowerListResult) BLength() int
func (*RelationServiceGetFollowerListResult) DeepEqual ¶
func (p *RelationServiceGetFollowerListResult) DeepEqual(ano *RelationServiceGetFollowerListResult) bool
func (*RelationServiceGetFollowerListResult) FastRead ¶
func (p *RelationServiceGetFollowerListResult) FastRead(buf []byte) (int, error)
func (*RelationServiceGetFollowerListResult) FastReadField0 ¶
func (p *RelationServiceGetFollowerListResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceGetFollowerListResult) FastWrite ¶
func (p *RelationServiceGetFollowerListResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceGetFollowerListResult) FastWriteNocopy ¶
func (p *RelationServiceGetFollowerListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceGetFollowerListResult) Field0DeepEqual ¶
func (p *RelationServiceGetFollowerListResult) Field0DeepEqual(src *RelationListResponse) bool
func (*RelationServiceGetFollowerListResult) GetResult ¶
func (p *RelationServiceGetFollowerListResult) GetResult() interface{}
func (*RelationServiceGetFollowerListResult) GetSuccess ¶
func (p *RelationServiceGetFollowerListResult) GetSuccess() (v *RelationListResponse)
func (*RelationServiceGetFollowerListResult) InitDefault ¶
func (p *RelationServiceGetFollowerListResult) InitDefault()
func (*RelationServiceGetFollowerListResult) IsSetSuccess ¶
func (p *RelationServiceGetFollowerListResult) IsSetSuccess() bool
func (*RelationServiceGetFollowerListResult) Read ¶
func (p *RelationServiceGetFollowerListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowerListResult) ReadField0 ¶
func (p *RelationServiceGetFollowerListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowerListResult) SetSuccess ¶
func (p *RelationServiceGetFollowerListResult) SetSuccess(x interface{})
func (*RelationServiceGetFollowerListResult) String ¶
func (p *RelationServiceGetFollowerListResult) String() string
type RelationServiceGetFriendListArgs ¶
type RelationServiceGetFriendListArgs struct {
Request *RelationListRequest `thrift:"request,1" frugal:"1,default,RelationListRequest" json:"request"`
}
func NewRelationServiceGetFriendListArgs ¶
func NewRelationServiceGetFriendListArgs() *RelationServiceGetFriendListArgs
func (*RelationServiceGetFriendListArgs) BLength ¶
func (p *RelationServiceGetFriendListArgs) BLength() int
func (*RelationServiceGetFriendListArgs) DeepEqual ¶
func (p *RelationServiceGetFriendListArgs) DeepEqual(ano *RelationServiceGetFriendListArgs) bool
func (*RelationServiceGetFriendListArgs) FastRead ¶
func (p *RelationServiceGetFriendListArgs) FastRead(buf []byte) (int, error)
func (*RelationServiceGetFriendListArgs) FastReadField1 ¶
func (p *RelationServiceGetFriendListArgs) FastReadField1(buf []byte) (int, error)
func (*RelationServiceGetFriendListArgs) FastWrite ¶
func (p *RelationServiceGetFriendListArgs) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceGetFriendListArgs) FastWriteNocopy ¶
func (p *RelationServiceGetFriendListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceGetFriendListArgs) Field1DeepEqual ¶
func (p *RelationServiceGetFriendListArgs) Field1DeepEqual(src *RelationListRequest) bool
func (*RelationServiceGetFriendListArgs) GetFirstArgument ¶
func (p *RelationServiceGetFriendListArgs) GetFirstArgument() interface{}
func (*RelationServiceGetFriendListArgs) GetRequest ¶
func (p *RelationServiceGetFriendListArgs) GetRequest() (v *RelationListRequest)
func (*RelationServiceGetFriendListArgs) InitDefault ¶
func (p *RelationServiceGetFriendListArgs) InitDefault()
func (*RelationServiceGetFriendListArgs) IsSetRequest ¶
func (p *RelationServiceGetFriendListArgs) IsSetRequest() bool
func (*RelationServiceGetFriendListArgs) Read ¶
func (p *RelationServiceGetFriendListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFriendListArgs) ReadField1 ¶
func (p *RelationServiceGetFriendListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceGetFriendListArgs) SetRequest ¶
func (p *RelationServiceGetFriendListArgs) SetRequest(val *RelationListRequest)
func (*RelationServiceGetFriendListArgs) String ¶
func (p *RelationServiceGetFriendListArgs) String() string
type RelationServiceGetFriendListResult ¶
type RelationServiceGetFriendListResult struct {
Success *RelationListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationListResponse" json:"success,omitempty"`
}
func NewRelationServiceGetFriendListResult ¶
func NewRelationServiceGetFriendListResult() *RelationServiceGetFriendListResult
func (*RelationServiceGetFriendListResult) BLength ¶
func (p *RelationServiceGetFriendListResult) BLength() int
func (*RelationServiceGetFriendListResult) DeepEqual ¶
func (p *RelationServiceGetFriendListResult) DeepEqual(ano *RelationServiceGetFriendListResult) bool
func (*RelationServiceGetFriendListResult) FastRead ¶
func (p *RelationServiceGetFriendListResult) FastRead(buf []byte) (int, error)
func (*RelationServiceGetFriendListResult) FastReadField0 ¶
func (p *RelationServiceGetFriendListResult) FastReadField0(buf []byte) (int, error)
func (*RelationServiceGetFriendListResult) FastWrite ¶
func (p *RelationServiceGetFriendListResult) FastWrite(buf []byte) int
for compatibility
func (*RelationServiceGetFriendListResult) FastWriteNocopy ¶
func (p *RelationServiceGetFriendListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RelationServiceGetFriendListResult) Field0DeepEqual ¶
func (p *RelationServiceGetFriendListResult) Field0DeepEqual(src *RelationListResponse) bool
func (*RelationServiceGetFriendListResult) GetResult ¶
func (p *RelationServiceGetFriendListResult) GetResult() interface{}
func (*RelationServiceGetFriendListResult) GetSuccess ¶
func (p *RelationServiceGetFriendListResult) GetSuccess() (v *RelationListResponse)
func (*RelationServiceGetFriendListResult) InitDefault ¶
func (p *RelationServiceGetFriendListResult) InitDefault()
func (*RelationServiceGetFriendListResult) IsSetSuccess ¶
func (p *RelationServiceGetFriendListResult) IsSetSuccess() bool
func (*RelationServiceGetFriendListResult) Read ¶
func (p *RelationServiceGetFriendListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFriendListResult) ReadField0 ¶
func (p *RelationServiceGetFriendListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceGetFriendListResult) SetSuccess ¶
func (p *RelationServiceGetFriendListResult) SetSuccess(x interface{})
func (*RelationServiceGetFriendListResult) String ¶
func (p *RelationServiceGetFriendListResult) String() string
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
Click to show internal directories.
Click to hide internal directories.