relation

package
v0.0.0-...-9495e6b Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FriendUser_BackgroundImage_DEFAULT string
View Source
var FriendUser_FacoriteCount_DEFAULT int64
View Source
var FriendUser_FollowCount_DEFAULT int64
View Source
var FriendUser_FollowerCount_DEFAULT int64
View Source
var FriendUser_Message_DEFAULT string
View Source
var FriendUser_Signture_DEFAULT string
View Source
var FriendUser_TotalFacorited_DEFAULT int64
View Source
var FriendUser_WorkCount_DEFAULT int64
View Source
var MessageActionResp_StatusMsg_DEFAULT string
View Source
var MessageChatResp_StatusMsg_DEFAULT string
View Source
var Message_CreateTime_DEFAULT int64
View Source
var RelationActionResp_StatusMsg_DEFAULT string
View Source
var RelationFollowListResp_StatusMsg_DEFAULT string
View Source
var RelationFollowerListResp_StatusMsg_DEFAULT string
View Source
var RelationFriendListResp_StatusMsg_DEFAULT string

Functions

This section is empty.

Types

type FriendUser

type FriendUser struct {
	ID              int64   `thrift:"ID,1,required" form:"id,required" json:"id,required" query:"id,required"`
	Name            string  `thrift:"Name,2,required" form:"name,required" json:"name,required" query:"name,required"`
	FollowCount     *int64  `thrift:"FollowCount,3,optional" form:"follow_count" json:"follow_count,omitempty" query:"follow_count"`
	FollowerCount   *int64  `thrift:"FollowerCount,4,optional" form:"follower_count" json:"follower_count,omitempty" query:"follower_count"`
	IsFollow        bool    `thrift:"IsFollow,5,required" form:"is_follow,required" json:"is_follow,required" query:"is_follow,required"`
	Avatar          string  `thrift:"Avatar,6,required" form:"avatar,required" json:"avatar,required" query:"avatar,required"`
	BackgroundImage *string `thrift:"BackgroundImage,7,optional" form:"background_image" json:"background_image,omitempty" query:"background_image"`
	Signture        *string `thrift:"Signture,8,optional" form:"signture" json:"signture,omitempty" query:"signture"`
	TotalFacorited  *int64  `thrift:"TotalFacorited,9,optional" form:"total_facorited" json:"total_facorited,omitempty" query:"total_facorited"`
	WorkCount       *int64  `thrift:"WorkCount,10,optional" form:"work_count" json:"work_count,omitempty" query:"work_count"`
	FacoriteCount   *int64  `thrift:"FacoriteCount,11,optional" form:"facorite_count" json:"facorite_count,omitempty" query:"facorite_count"`
	Message         *string `thrift:"Message,12,optional" form:"message" json:"message,omitempty" query:"message"`
	MsgType         int32   `thrift:"MsgType,13,required" form:"msg_type,required" json:"msg_type,required" query:"msg_type,required"`
}

func NewFriendUser

func NewFriendUser() *FriendUser

func (*FriendUser) GetAvatar

func (p *FriendUser) GetAvatar() (v string)

func (*FriendUser) GetBackgroundImage

func (p *FriendUser) GetBackgroundImage() (v string)

func (*FriendUser) GetFacoriteCount

func (p *FriendUser) GetFacoriteCount() (v int64)

func (*FriendUser) GetFollowCount

func (p *FriendUser) GetFollowCount() (v int64)

func (*FriendUser) GetFollowerCount

func (p *FriendUser) GetFollowerCount() (v int64)

func (*FriendUser) GetID

func (p *FriendUser) GetID() (v int64)

func (*FriendUser) GetIsFollow

func (p *FriendUser) GetIsFollow() (v bool)

func (*FriendUser) GetMessage

func (p *FriendUser) GetMessage() (v string)

func (*FriendUser) GetMsgType

func (p *FriendUser) GetMsgType() (v int32)

func (*FriendUser) GetName

func (p *FriendUser) GetName() (v string)

func (*FriendUser) GetSignture

func (p *FriendUser) GetSignture() (v string)

func (*FriendUser) GetTotalFacorited

func (p *FriendUser) GetTotalFacorited() (v int64)

func (*FriendUser) GetWorkCount

func (p *FriendUser) GetWorkCount() (v int64)

func (*FriendUser) IsSetBackgroundImage

func (p *FriendUser) IsSetBackgroundImage() bool

func (*FriendUser) IsSetFacoriteCount

func (p *FriendUser) IsSetFacoriteCount() bool

func (*FriendUser) IsSetFollowCount

func (p *FriendUser) IsSetFollowCount() bool

func (*FriendUser) IsSetFollowerCount

func (p *FriendUser) IsSetFollowerCount() bool

func (*FriendUser) IsSetMessage

func (p *FriendUser) IsSetMessage() bool

func (*FriendUser) IsSetSignture

func (p *FriendUser) IsSetSignture() bool

func (*FriendUser) IsSetTotalFacorited

func (p *FriendUser) IsSetTotalFacorited() bool

func (*FriendUser) IsSetWorkCount

func (p *FriendUser) IsSetWorkCount() bool

func (*FriendUser) Read

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

func (*FriendUser) ReadField1

func (p *FriendUser) ReadField1(iprot thrift.TProtocol) error

func (*FriendUser) ReadField10

func (p *FriendUser) ReadField10(iprot thrift.TProtocol) error

func (*FriendUser) ReadField11

func (p *FriendUser) ReadField11(iprot thrift.TProtocol) error

func (*FriendUser) ReadField12

func (p *FriendUser) ReadField12(iprot thrift.TProtocol) error

func (*FriendUser) ReadField13

func (p *FriendUser) ReadField13(iprot thrift.TProtocol) error

func (*FriendUser) ReadField2

func (p *FriendUser) ReadField2(iprot thrift.TProtocol) error

func (*FriendUser) ReadField3

func (p *FriendUser) ReadField3(iprot thrift.TProtocol) error

func (*FriendUser) ReadField4

func (p *FriendUser) ReadField4(iprot thrift.TProtocol) error

func (*FriendUser) ReadField5

func (p *FriendUser) ReadField5(iprot thrift.TProtocol) error

func (*FriendUser) ReadField6

func (p *FriendUser) ReadField6(iprot thrift.TProtocol) error

func (*FriendUser) ReadField7

func (p *FriendUser) ReadField7(iprot thrift.TProtocol) error

func (*FriendUser) ReadField8

func (p *FriendUser) ReadField8(iprot thrift.TProtocol) error

func (*FriendUser) ReadField9

func (p *FriendUser) ReadField9(iprot thrift.TProtocol) error

func (*FriendUser) String

func (p *FriendUser) String() string

func (*FriendUser) Write

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

type Message

type Message struct {
	ID         int64  `thrift:"ID,1,required" form:"id,required" json:"id,required" query:"id,required"`
	ToUserID   int64  `thrift:"ToUserID,2,required" form:"to_user_id,required" json:"to_user_id,required" query:"to_user_id,required"`
	FromUserID int64  `thrift:"FromUserID,3,required" form:"from_user_id,required" json:"from_user_id,required" query:"from_user_id,required"`
	Content    string `thrift:"Content,4,required" form:"content,required" json:"content,required" query:"content,required"`
	CreateTime *int64 `thrift:"CreateTime,5,optional" form:"create_time" json:"create_time,omitempty" query:"create_time"`
}

func NewMessage

func NewMessage() *Message

func (*Message) GetContent

func (p *Message) GetContent() (v string)

func (*Message) GetCreateTime

func (p *Message) GetCreateTime() (v int64)

func (*Message) GetFromUserID

func (p *Message) GetFromUserID() (v int64)

func (*Message) GetID

func (p *Message) GetID() (v int64)

func (*Message) GetToUserID

func (p *Message) GetToUserID() (v int64)

func (*Message) IsSetCreateTime

func (p *Message) IsSetCreateTime() bool

func (*Message) Read

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

func (*Message) ReadField1

func (p *Message) ReadField1(iprot thrift.TProtocol) error

func (*Message) ReadField2

func (p *Message) ReadField2(iprot thrift.TProtocol) error

func (*Message) ReadField3

func (p *Message) ReadField3(iprot thrift.TProtocol) error

func (*Message) ReadField4

func (p *Message) ReadField4(iprot thrift.TProtocol) error

func (*Message) ReadField5

func (p *Message) ReadField5(iprot thrift.TProtocol) error

func (*Message) String

func (p *Message) String() string

func (*Message) Write

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

type MessageActionReq

type MessageActionReq struct {
	Token      string `thrift:"Token,1,required" form:"token,required" json:"token,required" query:"token,required"`
	ToUserID   int64  `thrift:"ToUserID,2,required" form:"to_user_id,required" json:"to_user_id,required" query:"to_user_id,required"`
	ActionType int32  `thrift:"ActionType,3,required" form:"action_type,required" json:"action_type,required" query:"action_type,required"`
	Content    string `thrift:"Content,4,required" form:"content,required" json:"content,required" query:"content,required"`
}
var MessageServiceMessageActionArgs_Req_DEFAULT *MessageActionReq

func NewMessageActionReq

func NewMessageActionReq() *MessageActionReq

func (*MessageActionReq) GetActionType

func (p *MessageActionReq) GetActionType() (v int32)

func (*MessageActionReq) GetContent

func (p *MessageActionReq) GetContent() (v string)

func (*MessageActionReq) GetToUserID

func (p *MessageActionReq) GetToUserID() (v int64)

func (*MessageActionReq) GetToken

func (p *MessageActionReq) GetToken() (v string)

func (*MessageActionReq) Read

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

func (*MessageActionReq) ReadField1

func (p *MessageActionReq) ReadField1(iprot thrift.TProtocol) error

func (*MessageActionReq) ReadField2

func (p *MessageActionReq) ReadField2(iprot thrift.TProtocol) error

func (*MessageActionReq) ReadField3

func (p *MessageActionReq) ReadField3(iprot thrift.TProtocol) error

func (*MessageActionReq) ReadField4

func (p *MessageActionReq) ReadField4(iprot thrift.TProtocol) error

func (*MessageActionReq) String

func (p *MessageActionReq) String() string

func (*MessageActionReq) Write

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

type MessageActionResp

type MessageActionResp struct {
	StatusCode int32   `thrift:"StatusCode,1,required" form:"status_code,required" json:"status_code,required" query:"status_code,required"`
	StatusMsg  *string `thrift:"StatusMsg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"`
}
var MessageServiceMessageActionResult_Success_DEFAULT *MessageActionResp

func NewMessageActionResp

func NewMessageActionResp() *MessageActionResp

func (*MessageActionResp) GetStatusCode

func (p *MessageActionResp) GetStatusCode() (v int32)

func (*MessageActionResp) GetStatusMsg

func (p *MessageActionResp) GetStatusMsg() (v string)

func (*MessageActionResp) IsSetStatusMsg

func (p *MessageActionResp) IsSetStatusMsg() bool

func (*MessageActionResp) Read

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

func (*MessageActionResp) ReadField1

func (p *MessageActionResp) ReadField1(iprot thrift.TProtocol) error

func (*MessageActionResp) ReadField2

func (p *MessageActionResp) ReadField2(iprot thrift.TProtocol) error

func (*MessageActionResp) String

func (p *MessageActionResp) String() string

func (*MessageActionResp) Write

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

type MessageChatReq

type MessageChatReq struct {
	Token      string `thrift:"Token,1,required" form:"token,required" json:"token,required" query:"token,required"`
	ToUserID   int64  `thrift:"ToUserID,2,required" form:"to_user_id,required" json:"to_user_id,required" query:"to_user_id,required"`
	PreMsgTime int64  `thrift:"PreMsgTime,3,required" form:"pre_msg_time,required" json:"pre_msg_time,required" query:"pre_msg_time,required"`
}
var MessageServiceMessageChatArgs_Req_DEFAULT *MessageChatReq

func NewMessageChatReq

func NewMessageChatReq() *MessageChatReq

func (*MessageChatReq) GetPreMsgTime

func (p *MessageChatReq) GetPreMsgTime() (v int64)

func (*MessageChatReq) GetToUserID

func (p *MessageChatReq) GetToUserID() (v int64)

func (*MessageChatReq) GetToken

func (p *MessageChatReq) GetToken() (v string)

func (*MessageChatReq) Read

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

func (*MessageChatReq) ReadField1

func (p *MessageChatReq) ReadField1(iprot thrift.TProtocol) error

func (*MessageChatReq) ReadField2

func (p *MessageChatReq) ReadField2(iprot thrift.TProtocol) error

func (*MessageChatReq) ReadField3

func (p *MessageChatReq) ReadField3(iprot thrift.TProtocol) error

func (*MessageChatReq) String

func (p *MessageChatReq) String() string

func (*MessageChatReq) Write

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

type MessageChatResp

type MessageChatResp struct {
	StatusCode  int32      `thrift:"StatusCode,1,required" form:"status_code,required" json:"status_code,required" query:"status_code,required"`
	StatusMsg   *string    `thrift:"StatusMsg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"`
	MessageList []*Message `thrift:"MessageList,3,required" form:"message_list,required" json:"message_list,required" query:"message_list,required"`
}
var MessageServiceMessageChatResult_Success_DEFAULT *MessageChatResp

func NewMessageChatResp

func NewMessageChatResp() *MessageChatResp

func (*MessageChatResp) GetMessageList

func (p *MessageChatResp) GetMessageList() (v []*Message)

func (*MessageChatResp) GetStatusCode

func (p *MessageChatResp) GetStatusCode() (v int32)

func (*MessageChatResp) GetStatusMsg

func (p *MessageChatResp) GetStatusMsg() (v string)

func (*MessageChatResp) IsSetStatusMsg

func (p *MessageChatResp) IsSetStatusMsg() bool

func (*MessageChatResp) Read

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

func (*MessageChatResp) ReadField1

func (p *MessageChatResp) ReadField1(iprot thrift.TProtocol) error

func (*MessageChatResp) ReadField2

func (p *MessageChatResp) ReadField2(iprot thrift.TProtocol) error

func (*MessageChatResp) ReadField3

func (p *MessageChatResp) ReadField3(iprot thrift.TProtocol) error

func (*MessageChatResp) String

func (p *MessageChatResp) String() string

func (*MessageChatResp) Write

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

type MessageService

type MessageService interface {
	MessageChat(ctx context.Context, req *MessageChatReq) (r *MessageChatResp, err error)

	MessageAction(ctx context.Context, req *MessageActionReq) (r *MessageActionResp, err error)
}

type MessageServiceClient

type MessageServiceClient struct {
	// contains filtered or unexported fields
}

func NewMessageServiceClient

func NewMessageServiceClient(c thrift.TClient) *MessageServiceClient

func NewMessageServiceClientProtocol

func NewMessageServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MessageServiceClient

func (*MessageServiceClient) Client_

func (p *MessageServiceClient) Client_() thrift.TClient

func (*MessageServiceClient) MessageAction

func (p *MessageServiceClient) MessageAction(ctx context.Context, req *MessageActionReq) (r *MessageActionResp, err error)

func (*MessageServiceClient) MessageChat

func (p *MessageServiceClient) MessageChat(ctx context.Context, req *MessageChatReq) (r *MessageChatResp, err error)

type MessageServiceMessageActionArgs

type MessageServiceMessageActionArgs struct {
	Req *MessageActionReq `thrift:"req,1"`
}

func NewMessageServiceMessageActionArgs

func NewMessageServiceMessageActionArgs() *MessageServiceMessageActionArgs

func (*MessageServiceMessageActionArgs) GetReq

func (*MessageServiceMessageActionArgs) IsSetReq

func (p *MessageServiceMessageActionArgs) IsSetReq() bool

func (*MessageServiceMessageActionArgs) Read

func (*MessageServiceMessageActionArgs) ReadField1

func (*MessageServiceMessageActionArgs) String

func (*MessageServiceMessageActionArgs) Write

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

type MessageServiceMessageActionResult

type MessageServiceMessageActionResult struct {
	Success *MessageActionResp `thrift:"success,0,optional"`
}

func NewMessageServiceMessageActionResult

func NewMessageServiceMessageActionResult() *MessageServiceMessageActionResult

func (*MessageServiceMessageActionResult) GetSuccess

func (*MessageServiceMessageActionResult) IsSetSuccess

func (p *MessageServiceMessageActionResult) IsSetSuccess() bool

func (*MessageServiceMessageActionResult) Read

func (*MessageServiceMessageActionResult) ReadField0

func (*MessageServiceMessageActionResult) String

func (*MessageServiceMessageActionResult) Write

type MessageServiceMessageChatArgs

type MessageServiceMessageChatArgs struct {
	Req *MessageChatReq `thrift:"req,1"`
}

func NewMessageServiceMessageChatArgs

func NewMessageServiceMessageChatArgs() *MessageServiceMessageChatArgs

func (*MessageServiceMessageChatArgs) GetReq

func (*MessageServiceMessageChatArgs) IsSetReq

func (p *MessageServiceMessageChatArgs) IsSetReq() bool

func (*MessageServiceMessageChatArgs) Read

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

func (*MessageServiceMessageChatArgs) ReadField1

func (p *MessageServiceMessageChatArgs) ReadField1(iprot thrift.TProtocol) error

func (*MessageServiceMessageChatArgs) String

func (*MessageServiceMessageChatArgs) Write

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

type MessageServiceMessageChatResult

type MessageServiceMessageChatResult struct {
	Success *MessageChatResp `thrift:"success,0,optional"`
}

func NewMessageServiceMessageChatResult

func NewMessageServiceMessageChatResult() *MessageServiceMessageChatResult

func (*MessageServiceMessageChatResult) GetSuccess

func (p *MessageServiceMessageChatResult) GetSuccess() (v *MessageChatResp)

func (*MessageServiceMessageChatResult) IsSetSuccess

func (p *MessageServiceMessageChatResult) IsSetSuccess() bool

func (*MessageServiceMessageChatResult) Read

func (*MessageServiceMessageChatResult) ReadField0

func (*MessageServiceMessageChatResult) String

func (*MessageServiceMessageChatResult) Write

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

type MessageServiceProcessor

type MessageServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewMessageServiceProcessor

func NewMessageServiceProcessor(handler MessageService) *MessageServiceProcessor

func (*MessageServiceProcessor) AddToProcessorMap

func (p *MessageServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*MessageServiceProcessor) GetProcessorFunction

func (p *MessageServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*MessageServiceProcessor) Process

func (p *MessageServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*MessageServiceProcessor) ProcessorMap

type RelationActionReq

type RelationActionReq struct {
	Token      string `thrift:"Token,1,required" form:"token,required" json:"token,required" query:"token,required"`
	ToUserID   int64  `thrift:"ToUserID,2,required" form:"to_user_id,required" json:"to_user_id,required" query:"to_user_id,required"`
	ActionType int32  `thrift:"ActionType,3,required" form:"action_type,required" json:"action_type,required" query:"action_type,required"`
}
var RelationServiceRelationActionArgs_Req_DEFAULT *RelationActionReq

func NewRelationActionReq

func NewRelationActionReq() *RelationActionReq

func (*RelationActionReq) GetActionType

func (p *RelationActionReq) GetActionType() (v int32)

func (*RelationActionReq) GetToUserID

func (p *RelationActionReq) GetToUserID() (v int64)

func (*RelationActionReq) GetToken

func (p *RelationActionReq) GetToken() (v string)

func (*RelationActionReq) Read

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

func (*RelationActionReq) ReadField1

func (p *RelationActionReq) ReadField1(iprot thrift.TProtocol) error

func (*RelationActionReq) ReadField2

func (p *RelationActionReq) ReadField2(iprot thrift.TProtocol) error

func (*RelationActionReq) ReadField3

func (p *RelationActionReq) ReadField3(iprot thrift.TProtocol) error

func (*RelationActionReq) String

func (p *RelationActionReq) String() string

func (*RelationActionReq) Write

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

type RelationActionResp

type RelationActionResp struct {
	StatusCode int32   `thrift:"StatusCode,1,required" form:"status_code,required" json:"status_code,required" query:"status_code,required"`
	StatusMsg  *string `thrift:"StatusMsg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"`
}
var RelationServiceRelationActionResult_Success_DEFAULT *RelationActionResp

func NewRelationActionResp

func NewRelationActionResp() *RelationActionResp

func (*RelationActionResp) GetStatusCode

func (p *RelationActionResp) GetStatusCode() (v int32)

func (*RelationActionResp) GetStatusMsg

func (p *RelationActionResp) GetStatusMsg() (v string)

func (*RelationActionResp) IsSetStatusMsg

func (p *RelationActionResp) IsSetStatusMsg() bool

func (*RelationActionResp) Read

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

func (*RelationActionResp) ReadField1

func (p *RelationActionResp) ReadField1(iprot thrift.TProtocol) error

func (*RelationActionResp) ReadField2

func (p *RelationActionResp) ReadField2(iprot thrift.TProtocol) error

func (*RelationActionResp) String

func (p *RelationActionResp) String() string

func (*RelationActionResp) Write

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

type RelationFollowListReq

type RelationFollowListReq struct {
	UserID int64  `thrift:"UserID,1,required" form:"user_id,required" json:"user_id,required" query:"user_id,required"`
	Token  string `thrift:"Token,2,required" form:"token,required" json:"token,required" query:"token,required"`
}
var RelationServiceRelationFollowListArgs_Req_DEFAULT *RelationFollowListReq

func NewRelationFollowListReq

func NewRelationFollowListReq() *RelationFollowListReq

func (*RelationFollowListReq) GetToken

func (p *RelationFollowListReq) GetToken() (v string)

func (*RelationFollowListReq) GetUserID

func (p *RelationFollowListReq) GetUserID() (v int64)

func (*RelationFollowListReq) Read

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

func (*RelationFollowListReq) ReadField1

func (p *RelationFollowListReq) ReadField1(iprot thrift.TProtocol) error

func (*RelationFollowListReq) ReadField2

func (p *RelationFollowListReq) ReadField2(iprot thrift.TProtocol) error

func (*RelationFollowListReq) String

func (p *RelationFollowListReq) String() string

func (*RelationFollowListReq) Write

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

type RelationFollowListResp

type RelationFollowListResp struct {
	StatusCode int32        `thrift:"StatusCode,1,required" form:"status_code,required" json:"status_code,required" query:"status_code,required"`
	StatusMsg  *string      `thrift:"StatusMsg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"`
	UserList   []*base.User `thrift:"UserList,3,required" form:"user_list,required" json:"user_list,required" query:"user_list,required"`
}
var RelationServiceRelationFollowListResult_Success_DEFAULT *RelationFollowListResp

func NewRelationFollowListResp

func NewRelationFollowListResp() *RelationFollowListResp

func (*RelationFollowListResp) GetStatusCode

func (p *RelationFollowListResp) GetStatusCode() (v int32)

func (*RelationFollowListResp) GetStatusMsg

func (p *RelationFollowListResp) GetStatusMsg() (v string)

func (*RelationFollowListResp) GetUserList

func (p *RelationFollowListResp) GetUserList() (v []*base.User)

func (*RelationFollowListResp) IsSetStatusMsg

func (p *RelationFollowListResp) IsSetStatusMsg() bool

func (*RelationFollowListResp) Read

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

func (*RelationFollowListResp) ReadField1

func (p *RelationFollowListResp) ReadField1(iprot thrift.TProtocol) error

func (*RelationFollowListResp) ReadField2

func (p *RelationFollowListResp) ReadField2(iprot thrift.TProtocol) error

func (*RelationFollowListResp) ReadField3

func (p *RelationFollowListResp) ReadField3(iprot thrift.TProtocol) error

func (*RelationFollowListResp) String

func (p *RelationFollowListResp) String() string

func (*RelationFollowListResp) Write

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

type RelationFollowerListReq

type RelationFollowerListReq struct {
	UserID int64  `thrift:"UserID,1,required" form:"user_id,required" json:"user_id,required" query:"user_id,required"`
	Token  string `thrift:"Token,2,required" form:"token,required" json:"token,required" query:"token,required"`
}
var RelationServiceRelationFollowerListArgs_Req_DEFAULT *RelationFollowerListReq

func NewRelationFollowerListReq

func NewRelationFollowerListReq() *RelationFollowerListReq

func (*RelationFollowerListReq) GetToken

func (p *RelationFollowerListReq) GetToken() (v string)

func (*RelationFollowerListReq) GetUserID

func (p *RelationFollowerListReq) GetUserID() (v int64)

func (*RelationFollowerListReq) Read

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

func (*RelationFollowerListReq) ReadField1

func (p *RelationFollowerListReq) ReadField1(iprot thrift.TProtocol) error

func (*RelationFollowerListReq) ReadField2

func (p *RelationFollowerListReq) ReadField2(iprot thrift.TProtocol) error

func (*RelationFollowerListReq) String

func (p *RelationFollowerListReq) String() string

func (*RelationFollowerListReq) Write

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

type RelationFollowerListResp

type RelationFollowerListResp struct {
	StatusCode int32        `thrift:"StatusCode,1,required" form:"status_code,required" json:"status_code,required" query:"status_code,required"`
	StatusMsg  *string      `thrift:"StatusMsg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"`
	UserList   []*base.User `thrift:"UserList,3,required" form:"user_list,required" json:"user_list,required" query:"user_list,required"`
}
var RelationServiceRelationFollowerListResult_Success_DEFAULT *RelationFollowerListResp

func NewRelationFollowerListResp

func NewRelationFollowerListResp() *RelationFollowerListResp

func (*RelationFollowerListResp) GetStatusCode

func (p *RelationFollowerListResp) GetStatusCode() (v int32)

func (*RelationFollowerListResp) GetStatusMsg

func (p *RelationFollowerListResp) GetStatusMsg() (v string)

func (*RelationFollowerListResp) GetUserList

func (p *RelationFollowerListResp) GetUserList() (v []*base.User)

func (*RelationFollowerListResp) IsSetStatusMsg

func (p *RelationFollowerListResp) IsSetStatusMsg() bool

func (*RelationFollowerListResp) Read

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

func (*RelationFollowerListResp) ReadField1

func (p *RelationFollowerListResp) ReadField1(iprot thrift.TProtocol) error

func (*RelationFollowerListResp) ReadField2

func (p *RelationFollowerListResp) ReadField2(iprot thrift.TProtocol) error

func (*RelationFollowerListResp) ReadField3

func (p *RelationFollowerListResp) ReadField3(iprot thrift.TProtocol) error

func (*RelationFollowerListResp) String

func (p *RelationFollowerListResp) String() string

func (*RelationFollowerListResp) Write

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

type RelationFriendListReq

type RelationFriendListReq struct {
	UserID int64  `thrift:"UserID,1,required" form:"user_id,required" json:"user_id,required" query:"user_id,required"`
	Token  string `thrift:"Token,2,required" form:"token,required" json:"token,required" query:"token,required"`
}
var RelationServiceRelationFriendListArgs_Req_DEFAULT *RelationFriendListReq

func NewRelationFriendListReq

func NewRelationFriendListReq() *RelationFriendListReq

func (*RelationFriendListReq) GetToken

func (p *RelationFriendListReq) GetToken() (v string)

func (*RelationFriendListReq) GetUserID

func (p *RelationFriendListReq) GetUserID() (v int64)

func (*RelationFriendListReq) Read

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

func (*RelationFriendListReq) ReadField1

func (p *RelationFriendListReq) ReadField1(iprot thrift.TProtocol) error

func (*RelationFriendListReq) ReadField2

func (p *RelationFriendListReq) ReadField2(iprot thrift.TProtocol) error

func (*RelationFriendListReq) String

func (p *RelationFriendListReq) String() string

func (*RelationFriendListReq) Write

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

type RelationFriendListResp

type RelationFriendListResp struct {
	StatusCode int32         `thrift:"StatusCode,1,required" form:"status_code,required" json:"status_code,required" query:"status_code,required"`
	StatusMsg  *string       `thrift:"StatusMsg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"`
	UserList   []*FriendUser `thrift:"UserList,3,required" form:"user_list,required" json:"user_list,required" query:"user_list,required"`
}
var RelationServiceRelationFriendListResult_Success_DEFAULT *RelationFriendListResp

func NewRelationFriendListResp

func NewRelationFriendListResp() *RelationFriendListResp

func (*RelationFriendListResp) GetStatusCode

func (p *RelationFriendListResp) GetStatusCode() (v int32)

func (*RelationFriendListResp) GetStatusMsg

func (p *RelationFriendListResp) GetStatusMsg() (v string)

func (*RelationFriendListResp) GetUserList

func (p *RelationFriendListResp) GetUserList() (v []*FriendUser)

func (*RelationFriendListResp) IsSetStatusMsg

func (p *RelationFriendListResp) IsSetStatusMsg() bool

func (*RelationFriendListResp) Read

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

func (*RelationFriendListResp) ReadField1

func (p *RelationFriendListResp) ReadField1(iprot thrift.TProtocol) error

func (*RelationFriendListResp) ReadField2

func (p *RelationFriendListResp) ReadField2(iprot thrift.TProtocol) error

func (*RelationFriendListResp) ReadField3

func (p *RelationFriendListResp) ReadField3(iprot thrift.TProtocol) error

func (*RelationFriendListResp) String

func (p *RelationFriendListResp) String() string

func (*RelationFriendListResp) Write

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

type RelationService

type RelationService interface {
	RelationAction(ctx context.Context, req *RelationActionReq) (r *RelationActionResp, err error)

	RelationFollowList(ctx context.Context, req *RelationFollowListReq) (r *RelationFollowListResp, err error)

	RelationFollowerList(ctx context.Context, req *RelationFollowerListReq) (r *RelationFollowerListResp, err error)

	RelationFriendList(ctx context.Context, req *RelationFriendListReq) (r *RelationFriendListResp, 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) RelationAction

func (p *RelationServiceClient) RelationAction(ctx context.Context, req *RelationActionReq) (r *RelationActionResp, err error)

func (*RelationServiceClient) RelationFollowList

func (p *RelationServiceClient) RelationFollowList(ctx context.Context, req *RelationFollowListReq) (r *RelationFollowListResp, err error)

func (*RelationServiceClient) RelationFollowerList

func (p *RelationServiceClient) RelationFollowerList(ctx context.Context, req *RelationFollowerListReq) (r *RelationFollowerListResp, err error)

func (*RelationServiceClient) RelationFriendList

func (p *RelationServiceClient) RelationFriendList(ctx context.Context, req *RelationFriendListReq) (r *RelationFriendListResp, 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

type RelationServiceRelationActionArgs

type RelationServiceRelationActionArgs struct {
	Req *RelationActionReq `thrift:"req,1"`
}

func NewRelationServiceRelationActionArgs

func NewRelationServiceRelationActionArgs() *RelationServiceRelationActionArgs

func (*RelationServiceRelationActionArgs) GetReq

func (*RelationServiceRelationActionArgs) IsSetReq

func (*RelationServiceRelationActionArgs) Read

func (*RelationServiceRelationActionArgs) ReadField1

func (*RelationServiceRelationActionArgs) String

func (*RelationServiceRelationActionArgs) Write

type RelationServiceRelationActionResult

type RelationServiceRelationActionResult struct {
	Success *RelationActionResp `thrift:"success,0,optional"`
}

func NewRelationServiceRelationActionResult

func NewRelationServiceRelationActionResult() *RelationServiceRelationActionResult

func (*RelationServiceRelationActionResult) GetSuccess

func (*RelationServiceRelationActionResult) IsSetSuccess

func (p *RelationServiceRelationActionResult) IsSetSuccess() bool

func (*RelationServiceRelationActionResult) Read

func (*RelationServiceRelationActionResult) ReadField0

func (*RelationServiceRelationActionResult) String

func (*RelationServiceRelationActionResult) Write

type RelationServiceRelationFollowListArgs

type RelationServiceRelationFollowListArgs struct {
	Req *RelationFollowListReq `thrift:"req,1"`
}

func NewRelationServiceRelationFollowListArgs

func NewRelationServiceRelationFollowListArgs() *RelationServiceRelationFollowListArgs

func (*RelationServiceRelationFollowListArgs) GetReq

func (*RelationServiceRelationFollowListArgs) IsSetReq

func (*RelationServiceRelationFollowListArgs) Read

func (*RelationServiceRelationFollowListArgs) ReadField1

func (*RelationServiceRelationFollowListArgs) String

func (*RelationServiceRelationFollowListArgs) Write

type RelationServiceRelationFollowListResult

type RelationServiceRelationFollowListResult struct {
	Success *RelationFollowListResp `thrift:"success,0,optional"`
}

func NewRelationServiceRelationFollowListResult

func NewRelationServiceRelationFollowListResult() *RelationServiceRelationFollowListResult

func (*RelationServiceRelationFollowListResult) GetSuccess

func (*RelationServiceRelationFollowListResult) IsSetSuccess

func (*RelationServiceRelationFollowListResult) Read

func (*RelationServiceRelationFollowListResult) ReadField0

func (*RelationServiceRelationFollowListResult) String

func (*RelationServiceRelationFollowListResult) Write

type RelationServiceRelationFollowerListArgs

type RelationServiceRelationFollowerListArgs struct {
	Req *RelationFollowerListReq `thrift:"req,1"`
}

func NewRelationServiceRelationFollowerListArgs

func NewRelationServiceRelationFollowerListArgs() *RelationServiceRelationFollowerListArgs

func (*RelationServiceRelationFollowerListArgs) GetReq

func (*RelationServiceRelationFollowerListArgs) IsSetReq

func (*RelationServiceRelationFollowerListArgs) Read

func (*RelationServiceRelationFollowerListArgs) ReadField1

func (*RelationServiceRelationFollowerListArgs) String

func (*RelationServiceRelationFollowerListArgs) Write

type RelationServiceRelationFollowerListResult

type RelationServiceRelationFollowerListResult struct {
	Success *RelationFollowerListResp `thrift:"success,0,optional"`
}

func NewRelationServiceRelationFollowerListResult

func NewRelationServiceRelationFollowerListResult() *RelationServiceRelationFollowerListResult

func (*RelationServiceRelationFollowerListResult) GetSuccess

func (*RelationServiceRelationFollowerListResult) IsSetSuccess

func (*RelationServiceRelationFollowerListResult) Read

func (*RelationServiceRelationFollowerListResult) ReadField0

func (*RelationServiceRelationFollowerListResult) String

func (*RelationServiceRelationFollowerListResult) Write

type RelationServiceRelationFriendListArgs

type RelationServiceRelationFriendListArgs struct {
	Req *RelationFriendListReq `thrift:"req,1"`
}

func NewRelationServiceRelationFriendListArgs

func NewRelationServiceRelationFriendListArgs() *RelationServiceRelationFriendListArgs

func (*RelationServiceRelationFriendListArgs) GetReq

func (*RelationServiceRelationFriendListArgs) IsSetReq

func (*RelationServiceRelationFriendListArgs) Read

func (*RelationServiceRelationFriendListArgs) ReadField1

func (*RelationServiceRelationFriendListArgs) String

func (*RelationServiceRelationFriendListArgs) Write

type RelationServiceRelationFriendListResult

type RelationServiceRelationFriendListResult struct {
	Success *RelationFriendListResp `thrift:"success,0,optional"`
}

func NewRelationServiceRelationFriendListResult

func NewRelationServiceRelationFriendListResult() *RelationServiceRelationFriendListResult

func (*RelationServiceRelationFriendListResult) GetSuccess

func (*RelationServiceRelationFriendListResult) IsSetSuccess

func (*RelationServiceRelationFriendListResult) Read

func (*RelationServiceRelationFriendListResult) ReadField0

func (*RelationServiceRelationFriendListResult) String

func (*RelationServiceRelationFriendListResult) Write

Jump to

Keyboard shortcuts

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