relation

package
v0.0.0-...-18974b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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) FastRead

func (p *FollowRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *FollowRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*FollowRequest) Write

func (p *FollowRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *FollowResponse) FastRead(buf []byte) (int, error)

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) Read

func (p *FollowResponse) Read(iprot thrift.TProtocol) (err error)

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

func (*FollowResponse) Write

func (p *FollowResponse) Write(oprot thrift.TProtocol) (err error)

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

func (*RelationListRequest) Write

func (p *RelationListRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*RelationListResponse) Write

func (p *RelationListResponse) Write(oprot thrift.TProtocol) (err error)

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 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 (*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 (*RelationServiceFollowActionArgs) ReadField1

func (*RelationServiceFollowActionArgs) SetRequest

func (p *RelationServiceFollowActionArgs) SetRequest(val *FollowRequest)

func (*RelationServiceFollowActionArgs) String

func (*RelationServiceFollowActionArgs) Write

func (p *RelationServiceFollowActionArgs) Write(oprot thrift.TProtocol) (err error)

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 (*RelationServiceFollowActionResult) DeepEqual

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 (*RelationServiceFollowActionResult) InitDefault

func (p *RelationServiceFollowActionResult) InitDefault()

func (*RelationServiceFollowActionResult) IsSetSuccess

func (p *RelationServiceFollowActionResult) IsSetSuccess() bool

func (*RelationServiceFollowActionResult) Read

func (*RelationServiceFollowActionResult) ReadField0

func (*RelationServiceFollowActionResult) SetSuccess

func (p *RelationServiceFollowActionResult) SetSuccess(x interface{})

func (*RelationServiceFollowActionResult) String

func (*RelationServiceFollowActionResult) Write

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 (*RelationServiceGetFollowListArgs) DeepEqual

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 (*RelationServiceGetFollowListArgs) GetFirstArgument

func (p *RelationServiceGetFollowListArgs) GetFirstArgument() interface{}

func (*RelationServiceGetFollowListArgs) GetRequest

func (*RelationServiceGetFollowListArgs) InitDefault

func (p *RelationServiceGetFollowListArgs) InitDefault()

func (*RelationServiceGetFollowListArgs) IsSetRequest

func (p *RelationServiceGetFollowListArgs) IsSetRequest() bool

func (*RelationServiceGetFollowListArgs) Read

func (*RelationServiceGetFollowListArgs) ReadField1

func (*RelationServiceGetFollowListArgs) SetRequest

func (*RelationServiceGetFollowListArgs) String

func (*RelationServiceGetFollowListArgs) Write

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 (*RelationServiceGetFollowListResult) DeepEqual

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 (*RelationServiceGetFollowListResult) GetResult

func (p *RelationServiceGetFollowListResult) GetResult() interface{}

func (*RelationServiceGetFollowListResult) GetSuccess

func (*RelationServiceGetFollowListResult) InitDefault

func (p *RelationServiceGetFollowListResult) InitDefault()

func (*RelationServiceGetFollowListResult) IsSetSuccess

func (p *RelationServiceGetFollowListResult) IsSetSuccess() bool

func (*RelationServiceGetFollowListResult) Read

func (*RelationServiceGetFollowListResult) ReadField0

func (*RelationServiceGetFollowListResult) SetSuccess

func (p *RelationServiceGetFollowListResult) SetSuccess(x interface{})

func (*RelationServiceGetFollowListResult) String

func (*RelationServiceGetFollowListResult) Write

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 (*RelationServiceGetFollowerListArgs) DeepEqual

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 (*RelationServiceGetFollowerListArgs) GetFirstArgument

func (p *RelationServiceGetFollowerListArgs) GetFirstArgument() interface{}

func (*RelationServiceGetFollowerListArgs) GetRequest

func (*RelationServiceGetFollowerListArgs) InitDefault

func (p *RelationServiceGetFollowerListArgs) InitDefault()

func (*RelationServiceGetFollowerListArgs) IsSetRequest

func (p *RelationServiceGetFollowerListArgs) IsSetRequest() bool

func (*RelationServiceGetFollowerListArgs) Read

func (*RelationServiceGetFollowerListArgs) ReadField1

func (*RelationServiceGetFollowerListArgs) SetRequest

func (*RelationServiceGetFollowerListArgs) String

func (*RelationServiceGetFollowerListArgs) Write

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 (*RelationServiceGetFollowerListResult) DeepEqual

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 (*RelationServiceGetFollowerListResult) GetResult

func (p *RelationServiceGetFollowerListResult) GetResult() interface{}

func (*RelationServiceGetFollowerListResult) GetSuccess

func (*RelationServiceGetFollowerListResult) InitDefault

func (p *RelationServiceGetFollowerListResult) InitDefault()

func (*RelationServiceGetFollowerListResult) IsSetSuccess

func (p *RelationServiceGetFollowerListResult) IsSetSuccess() bool

func (*RelationServiceGetFollowerListResult) Read

func (*RelationServiceGetFollowerListResult) ReadField0

func (*RelationServiceGetFollowerListResult) SetSuccess

func (p *RelationServiceGetFollowerListResult) SetSuccess(x interface{})

func (*RelationServiceGetFollowerListResult) String

func (*RelationServiceGetFollowerListResult) Write

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 (*RelationServiceGetFriendListArgs) DeepEqual

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 (*RelationServiceGetFriendListArgs) GetFirstArgument

func (p *RelationServiceGetFriendListArgs) GetFirstArgument() interface{}

func (*RelationServiceGetFriendListArgs) GetRequest

func (*RelationServiceGetFriendListArgs) InitDefault

func (p *RelationServiceGetFriendListArgs) InitDefault()

func (*RelationServiceGetFriendListArgs) IsSetRequest

func (p *RelationServiceGetFriendListArgs) IsSetRequest() bool

func (*RelationServiceGetFriendListArgs) Read

func (*RelationServiceGetFriendListArgs) ReadField1

func (*RelationServiceGetFriendListArgs) SetRequest

func (*RelationServiceGetFriendListArgs) String

func (*RelationServiceGetFriendListArgs) Write

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 (*RelationServiceGetFriendListResult) DeepEqual

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 (*RelationServiceGetFriendListResult) GetResult

func (p *RelationServiceGetFriendListResult) GetResult() interface{}

func (*RelationServiceGetFriendListResult) GetSuccess

func (*RelationServiceGetFriendListResult) InitDefault

func (p *RelationServiceGetFriendListResult) InitDefault()

func (*RelationServiceGetFriendListResult) IsSetSuccess

func (p *RelationServiceGetFriendListResult) IsSetSuccess() bool

func (*RelationServiceGetFriendListResult) Read

func (*RelationServiceGetFriendListResult) ReadField0

func (*RelationServiceGetFriendListResult) SetSuccess

func (p *RelationServiceGetFriendListResult) SetSuccess(x interface{})

func (*RelationServiceGetFriendListResult) String

func (*RelationServiceGetFriendListResult) Write

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

Directories

Path Synopsis
Code generated by Kitex v0.4.4.
Code generated by Kitex v0.4.4.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL