social

package
v0.0.0-...-9bdafd8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.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.

Functions

This section is empty.

Types

type Message

type Message struct {
	Id         int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	ToUserId   int64  `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
	FromUserId int64  `thrift:"from_user_id,3" frugal:"3,default,i64" json:"from_user_id"`
	Content    string `thrift:"content,4" frugal:"4,default,string" json:"content"`
	CreateTime int64  `thrift:"create_time,5" frugal:"5,default,i64" json:"create_time"`
}

func NewMessage

func NewMessage() *Message

func (*Message) BLength

func (p *Message) BLength() int

func (*Message) DeepEqual

func (p *Message) DeepEqual(ano *Message) bool

func (*Message) FastRead

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

func (*Message) FastReadField1

func (p *Message) FastReadField1(buf []byte) (int, error)

func (*Message) FastReadField2

func (p *Message) FastReadField2(buf []byte) (int, error)

func (*Message) FastReadField3

func (p *Message) FastReadField3(buf []byte) (int, error)

func (*Message) FastReadField4

func (p *Message) FastReadField4(buf []byte) (int, error)

func (*Message) FastReadField5

func (p *Message) FastReadField5(buf []byte) (int, error)

func (*Message) FastWrite

func (p *Message) FastWrite(buf []byte) int

for compatibility

func (*Message) FastWriteNocopy

func (p *Message) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Message) Field1DeepEqual

func (p *Message) Field1DeepEqual(src int64) bool

func (*Message) Field2DeepEqual

func (p *Message) Field2DeepEqual(src int64) bool

func (*Message) Field3DeepEqual

func (p *Message) Field3DeepEqual(src int64) bool

func (*Message) Field4DeepEqual

func (p *Message) Field4DeepEqual(src string) bool

func (*Message) Field5DeepEqual

func (p *Message) Field5DeepEqual(src int64) bool

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

func (p *Message) InitDefault()

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

func (p *Message) SetContent(val string)

func (*Message) SetCreateTime

func (p *Message) SetCreateTime(val int64)

func (*Message) SetFromUserId

func (p *Message) SetFromUserId(val int64)

func (*Message) SetId

func (p *Message) SetId(val int64)

func (*Message) SetToUserId

func (p *Message) SetToUserId(val int64)

func (*Message) String

func (p *Message) String() string

func (*Message) Write

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

type MessageActionRequest

type MessageActionRequest struct {
	Token      string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	ToUserId   int64  `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
	ActionType int32  `thrift:"action_type,3" frugal:"3,default,i32" json:"action_type"`
	Content    string `thrift:"content,4" frugal:"4,default,string" json:"content"`
}
var SocialServiceMessageActionArgs_Req_DEFAULT *MessageActionRequest

func NewMessageActionRequest

func NewMessageActionRequest() *MessageActionRequest

func (*MessageActionRequest) BLength

func (p *MessageActionRequest) BLength() int

func (*MessageActionRequest) DeepEqual

func (p *MessageActionRequest) DeepEqual(ano *MessageActionRequest) bool

func (*MessageActionRequest) FastRead

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

func (*MessageActionRequest) FastReadField1

func (p *MessageActionRequest) FastReadField1(buf []byte) (int, error)

func (*MessageActionRequest) FastReadField2

func (p *MessageActionRequest) FastReadField2(buf []byte) (int, error)

func (*MessageActionRequest) FastReadField3

func (p *MessageActionRequest) FastReadField3(buf []byte) (int, error)

func (*MessageActionRequest) FastReadField4

func (p *MessageActionRequest) FastReadField4(buf []byte) (int, error)

func (*MessageActionRequest) FastWrite

func (p *MessageActionRequest) FastWrite(buf []byte) int

for compatibility

func (*MessageActionRequest) FastWriteNocopy

func (p *MessageActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MessageActionRequest) Field1DeepEqual

func (p *MessageActionRequest) Field1DeepEqual(src string) bool

func (*MessageActionRequest) Field2DeepEqual

func (p *MessageActionRequest) Field2DeepEqual(src int64) bool

func (*MessageActionRequest) Field3DeepEqual

func (p *MessageActionRequest) Field3DeepEqual(src int32) bool

func (*MessageActionRequest) Field4DeepEqual

func (p *MessageActionRequest) Field4DeepEqual(src string) bool

func (*MessageActionRequest) GetActionType

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

func (*MessageActionRequest) GetContent

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

func (*MessageActionRequest) GetToUserId

func (p *MessageActionRequest) GetToUserId() (v int64)

func (*MessageActionRequest) GetToken

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

func (*MessageActionRequest) InitDefault

func (p *MessageActionRequest) InitDefault()

func (*MessageActionRequest) IsValid

func (p *MessageActionRequest) IsValid() error

IsValid 校验ToUserId,ActionType,Content

func (*MessageActionRequest) Read

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

func (*MessageActionRequest) ReadField1

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

func (*MessageActionRequest) ReadField2

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

func (*MessageActionRequest) ReadField3

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

func (*MessageActionRequest) ReadField4

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

func (*MessageActionRequest) SetActionType

func (p *MessageActionRequest) SetActionType(val int32)

func (*MessageActionRequest) SetContent

func (p *MessageActionRequest) SetContent(val string)

func (*MessageActionRequest) SetToUserId

func (p *MessageActionRequest) SetToUserId(val int64)

func (*MessageActionRequest) SetToken

func (p *MessageActionRequest) SetToken(val string)

func (*MessageActionRequest) String

func (p *MessageActionRequest) String() string

func (*MessageActionRequest) Write

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

type MessageActionResponse

type MessageActionResponse struct {
	StatusCode int32  `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
}
var SocialServiceMessageActionResult_Success_DEFAULT *MessageActionResponse

func NewMessageActionResponse

func NewMessageActionResponse() *MessageActionResponse

func (*MessageActionResponse) BLength

func (p *MessageActionResponse) BLength() int

func (*MessageActionResponse) DeepEqual

func (*MessageActionResponse) FastRead

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

func (*MessageActionResponse) FastReadField1

func (p *MessageActionResponse) FastReadField1(buf []byte) (int, error)

func (*MessageActionResponse) FastReadField2

func (p *MessageActionResponse) FastReadField2(buf []byte) (int, error)

func (*MessageActionResponse) FastWrite

func (p *MessageActionResponse) FastWrite(buf []byte) int

for compatibility

func (*MessageActionResponse) FastWriteNocopy

func (p *MessageActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MessageActionResponse) Field1DeepEqual

func (p *MessageActionResponse) Field1DeepEqual(src int32) bool

func (*MessageActionResponse) Field2DeepEqual

func (p *MessageActionResponse) Field2DeepEqual(src string) bool

func (*MessageActionResponse) GetStatusCode

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

func (*MessageActionResponse) GetStatusMsg

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

func (*MessageActionResponse) InitDefault

func (p *MessageActionResponse) InitDefault()

func (*MessageActionResponse) Read

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

func (*MessageActionResponse) ReadField1

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

func (*MessageActionResponse) ReadField2

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

func (*MessageActionResponse) SetStatusCode

func (p *MessageActionResponse) SetStatusCode(val int32)

func (*MessageActionResponse) SetStatusMsg

func (p *MessageActionResponse) SetStatusMsg(val string)

func (*MessageActionResponse) String

func (p *MessageActionResponse) String() string

func (*MessageActionResponse) Write

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

type MessageChatRequest

type MessageChatRequest struct {
	Token    string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	ToUserId int64  `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
}
var SocialServiceGetMessageChatArgs_Req_DEFAULT *MessageChatRequest

func NewMessageChatRequest

func NewMessageChatRequest() *MessageChatRequest

func (*MessageChatRequest) BLength

func (p *MessageChatRequest) BLength() int

func (*MessageChatRequest) DeepEqual

func (p *MessageChatRequest) DeepEqual(ano *MessageChatRequest) bool

func (*MessageChatRequest) FastRead

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

func (*MessageChatRequest) FastReadField1

func (p *MessageChatRequest) FastReadField1(buf []byte) (int, error)

func (*MessageChatRequest) FastReadField2

func (p *MessageChatRequest) FastReadField2(buf []byte) (int, error)

func (*MessageChatRequest) FastWrite

func (p *MessageChatRequest) FastWrite(buf []byte) int

for compatibility

func (*MessageChatRequest) FastWriteNocopy

func (p *MessageChatRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MessageChatRequest) Field1DeepEqual

func (p *MessageChatRequest) Field1DeepEqual(src string) bool

func (*MessageChatRequest) Field2DeepEqual

func (p *MessageChatRequest) Field2DeepEqual(src int64) bool

func (*MessageChatRequest) GetToUserId

func (p *MessageChatRequest) GetToUserId() (v int64)

func (*MessageChatRequest) GetToken

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

func (*MessageChatRequest) InitDefault

func (p *MessageChatRequest) InitDefault()

func (*MessageChatRequest) IsValid

func (p *MessageChatRequest) IsValid() error

IsValid 校验ToUserId

func (*MessageChatRequest) Read

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

func (*MessageChatRequest) ReadField1

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

func (*MessageChatRequest) ReadField2

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

func (*MessageChatRequest) SetToUserId

func (p *MessageChatRequest) SetToUserId(val int64)

func (*MessageChatRequest) SetToken

func (p *MessageChatRequest) SetToken(val string)

func (*MessageChatRequest) String

func (p *MessageChatRequest) String() string

func (*MessageChatRequest) Write

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

type MessageChatResponse

type MessageChatResponse struct {
	StatusCode  int32      `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg   string     `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	MessageList []*Message `thrift:"message_list,3" frugal:"3,default,list<Message>" json:"message_list"`
}
var SocialServiceGetMessageChatResult_Success_DEFAULT *MessageChatResponse

func NewMessageChatResponse

func NewMessageChatResponse() *MessageChatResponse

func (*MessageChatResponse) BLength

func (p *MessageChatResponse) BLength() int

func (*MessageChatResponse) DeepEqual

func (p *MessageChatResponse) DeepEqual(ano *MessageChatResponse) bool

func (*MessageChatResponse) FastRead

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

func (*MessageChatResponse) FastReadField1

func (p *MessageChatResponse) FastReadField1(buf []byte) (int, error)

func (*MessageChatResponse) FastReadField2

func (p *MessageChatResponse) FastReadField2(buf []byte) (int, error)

func (*MessageChatResponse) FastReadField3

func (p *MessageChatResponse) FastReadField3(buf []byte) (int, error)

func (*MessageChatResponse) FastWrite

func (p *MessageChatResponse) FastWrite(buf []byte) int

for compatibility

func (*MessageChatResponse) FastWriteNocopy

func (p *MessageChatResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MessageChatResponse) Field1DeepEqual

func (p *MessageChatResponse) Field1DeepEqual(src int32) bool

func (*MessageChatResponse) Field2DeepEqual

func (p *MessageChatResponse) Field2DeepEqual(src string) bool

func (*MessageChatResponse) Field3DeepEqual

func (p *MessageChatResponse) Field3DeepEqual(src []*Message) bool

func (*MessageChatResponse) GetMessageList

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

func (*MessageChatResponse) GetStatusCode

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

func (*MessageChatResponse) GetStatusMsg

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

func (*MessageChatResponse) InitDefault

func (p *MessageChatResponse) InitDefault()

func (*MessageChatResponse) Read

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

func (*MessageChatResponse) ReadField1

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

func (*MessageChatResponse) ReadField2

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

func (*MessageChatResponse) ReadField3

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

func (*MessageChatResponse) SetMessageList

func (p *MessageChatResponse) SetMessageList(val []*Message)

func (*MessageChatResponse) SetStatusCode

func (p *MessageChatResponse) SetStatusCode(val int32)

func (*MessageChatResponse) SetStatusMsg

func (p *MessageChatResponse) SetStatusMsg(val string)

func (*MessageChatResponse) String

func (p *MessageChatResponse) String() string

func (*MessageChatResponse) Write

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

type RelationActionRequest

type RelationActionRequest struct {
	Token      string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	ToUserId   int64  `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
	ActionType int32  `thrift:"action_type,3" frugal:"3,default,i32" json:"action_type"`
}
var SocialServiceRelationActionArgs_Req_DEFAULT *RelationActionRequest

func NewRelationActionRequest

func NewRelationActionRequest() *RelationActionRequest

func (*RelationActionRequest) BLength

func (p *RelationActionRequest) BLength() int

func (*RelationActionRequest) DeepEqual

func (*RelationActionRequest) FastRead

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

func (*RelationActionRequest) FastReadField1

func (p *RelationActionRequest) FastReadField1(buf []byte) (int, error)

func (*RelationActionRequest) FastReadField2

func (p *RelationActionRequest) FastReadField2(buf []byte) (int, error)

func (*RelationActionRequest) FastReadField3

func (p *RelationActionRequest) FastReadField3(buf []byte) (int, error)

func (*RelationActionRequest) FastWrite

func (p *RelationActionRequest) FastWrite(buf []byte) int

for compatibility

func (*RelationActionRequest) FastWriteNocopy

func (p *RelationActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*RelationActionRequest) Field1DeepEqual

func (p *RelationActionRequest) Field1DeepEqual(src string) bool

func (*RelationActionRequest) Field2DeepEqual

func (p *RelationActionRequest) Field2DeepEqual(src int64) bool

func (*RelationActionRequest) Field3DeepEqual

func (p *RelationActionRequest) Field3DeepEqual(src int32) bool

func (*RelationActionRequest) GetActionType

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

func (*RelationActionRequest) GetToUserId

func (p *RelationActionRequest) GetToUserId() (v int64)

func (*RelationActionRequest) GetToken

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

func (*RelationActionRequest) InitDefault

func (p *RelationActionRequest) InitDefault()

func (*RelationActionRequest) IsValid

func (p *RelationActionRequest) IsValid() error

IsValid 校验ToUserId,ActionType

func (*RelationActionRequest) Read

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

func (*RelationActionRequest) ReadField1

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

func (*RelationActionRequest) ReadField2

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

func (*RelationActionRequest) ReadField3

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

func (*RelationActionRequest) SetActionType

func (p *RelationActionRequest) SetActionType(val int32)

func (*RelationActionRequest) SetToUserId

func (p *RelationActionRequest) SetToUserId(val int64)

func (*RelationActionRequest) SetToken

func (p *RelationActionRequest) SetToken(val string)

func (*RelationActionRequest) String

func (p *RelationActionRequest) String() string

func (*RelationActionRequest) Write

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

type RelationActionResponse

type RelationActionResponse struct {
	StatusCode int32  `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
}
var SocialServiceRelationActionResult_Success_DEFAULT *RelationActionResponse

func NewRelationActionResponse

func NewRelationActionResponse() *RelationActionResponse

func (*RelationActionResponse) BLength

func (p *RelationActionResponse) BLength() int

func (*RelationActionResponse) DeepEqual

func (*RelationActionResponse) FastRead

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

func (*RelationActionResponse) FastReadField1

func (p *RelationActionResponse) FastReadField1(buf []byte) (int, error)

func (*RelationActionResponse) FastReadField2

func (p *RelationActionResponse) FastReadField2(buf []byte) (int, error)

func (*RelationActionResponse) FastWrite

func (p *RelationActionResponse) FastWrite(buf []byte) int

for compatibility

func (*RelationActionResponse) FastWriteNocopy

func (p *RelationActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*RelationActionResponse) Field1DeepEqual

func (p *RelationActionResponse) Field1DeepEqual(src int32) bool

func (*RelationActionResponse) Field2DeepEqual

func (p *RelationActionResponse) Field2DeepEqual(src string) bool

func (*RelationActionResponse) GetStatusCode

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

func (*RelationActionResponse) GetStatusMsg

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

func (*RelationActionResponse) InitDefault

func (p *RelationActionResponse) InitDefault()

func (*RelationActionResponse) Read

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

func (*RelationActionResponse) ReadField1

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

func (*RelationActionResponse) ReadField2

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

func (*RelationActionResponse) SetStatusCode

func (p *RelationActionResponse) SetStatusCode(val int32)

func (*RelationActionResponse) SetStatusMsg

func (p *RelationActionResponse) SetStatusMsg(val string)

func (*RelationActionResponse) String

func (p *RelationActionResponse) String() string

func (*RelationActionResponse) Write

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

type RelationInfoRequest

type RelationInfoRequest struct {
	MyId   int64 `thrift:"my_id,1" frugal:"1,default,i64" json:"my_id"`
	UserId int64 `thrift:"user_id,2" frugal:"2,default,i64" json:"user_id"`
}
var SocialServiceGetRelationInfoArgs_Req_DEFAULT *RelationInfoRequest

func NewRelationInfoRequest

func NewRelationInfoRequest() *RelationInfoRequest

func (*RelationInfoRequest) BLength

func (p *RelationInfoRequest) BLength() int

func (*RelationInfoRequest) DeepEqual

func (p *RelationInfoRequest) DeepEqual(ano *RelationInfoRequest) bool

func (*RelationInfoRequest) FastRead

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

func (*RelationInfoRequest) FastReadField1

func (p *RelationInfoRequest) FastReadField1(buf []byte) (int, error)

func (*RelationInfoRequest) FastReadField2

func (p *RelationInfoRequest) FastReadField2(buf []byte) (int, error)

func (*RelationInfoRequest) FastWrite

func (p *RelationInfoRequest) FastWrite(buf []byte) int

for compatibility

func (*RelationInfoRequest) FastWriteNocopy

func (p *RelationInfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*RelationInfoRequest) Field1DeepEqual

func (p *RelationInfoRequest) Field1DeepEqual(src int64) bool

func (*RelationInfoRequest) Field2DeepEqual

func (p *RelationInfoRequest) Field2DeepEqual(src int64) bool

func (*RelationInfoRequest) GetMyId

func (p *RelationInfoRequest) GetMyId() (v int64)

func (*RelationInfoRequest) GetUserId

func (p *RelationInfoRequest) GetUserId() (v int64)

func (*RelationInfoRequest) InitDefault

func (p *RelationInfoRequest) InitDefault()

func (*RelationInfoRequest) IsValid

func (p *RelationInfoRequest) IsValid() error

IsValid 校验UserId,MyId

func (*RelationInfoRequest) Read

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

func (*RelationInfoRequest) ReadField1

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

func (*RelationInfoRequest) ReadField2

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

func (*RelationInfoRequest) SetMyId

func (p *RelationInfoRequest) SetMyId(val int64)

func (*RelationInfoRequest) SetUserId

func (p *RelationInfoRequest) SetUserId(val int64)

func (*RelationInfoRequest) String

func (p *RelationInfoRequest) String() string

func (*RelationInfoRequest) Write

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

type RelationInfoResponse

type RelationInfoResponse struct {
	StatusCode    int32  `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg     string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	FollowCount   int64  `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"`
	FollowerCount int64  `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"`
	IsFollow      bool   `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"`
}
var SocialServiceGetRelationInfoResult_Success_DEFAULT *RelationInfoResponse

func NewRelationInfoResponse

func NewRelationInfoResponse() *RelationInfoResponse

func (*RelationInfoResponse) BLength

func (p *RelationInfoResponse) BLength() int

func (*RelationInfoResponse) DeepEqual

func (p *RelationInfoResponse) DeepEqual(ano *RelationInfoResponse) bool

func (*RelationInfoResponse) FastRead

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

func (*RelationInfoResponse) FastReadField1

func (p *RelationInfoResponse) FastReadField1(buf []byte) (int, error)

func (*RelationInfoResponse) FastReadField2

func (p *RelationInfoResponse) FastReadField2(buf []byte) (int, error)

func (*RelationInfoResponse) FastReadField3

func (p *RelationInfoResponse) FastReadField3(buf []byte) (int, error)

func (*RelationInfoResponse) FastReadField4

func (p *RelationInfoResponse) FastReadField4(buf []byte) (int, error)

func (*RelationInfoResponse) FastReadField5

func (p *RelationInfoResponse) FastReadField5(buf []byte) (int, error)

func (*RelationInfoResponse) FastWrite

func (p *RelationInfoResponse) FastWrite(buf []byte) int

for compatibility

func (*RelationInfoResponse) FastWriteNocopy

func (p *RelationInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*RelationInfoResponse) Field1DeepEqual

func (p *RelationInfoResponse) Field1DeepEqual(src int32) bool

func (*RelationInfoResponse) Field2DeepEqual

func (p *RelationInfoResponse) Field2DeepEqual(src string) bool

func (*RelationInfoResponse) Field3DeepEqual

func (p *RelationInfoResponse) Field3DeepEqual(src int64) bool

func (*RelationInfoResponse) Field4DeepEqual

func (p *RelationInfoResponse) Field4DeepEqual(src int64) bool

func (*RelationInfoResponse) Field5DeepEqual

func (p *RelationInfoResponse) Field5DeepEqual(src bool) bool

func (*RelationInfoResponse) GetFollowCount

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

func (*RelationInfoResponse) GetFollowerCount

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

func (*RelationInfoResponse) GetIsFollow

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

func (*RelationInfoResponse) GetStatusCode

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

func (*RelationInfoResponse) GetStatusMsg

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

func (*RelationInfoResponse) InitDefault

func (p *RelationInfoResponse) InitDefault()

func (*RelationInfoResponse) Read

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

func (*RelationInfoResponse) ReadField1

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

func (*RelationInfoResponse) ReadField2

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

func (*RelationInfoResponse) ReadField3

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

func (*RelationInfoResponse) ReadField4

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

func (*RelationInfoResponse) ReadField5

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

func (*RelationInfoResponse) SetFollowCount

func (p *RelationInfoResponse) SetFollowCount(val int64)

func (*RelationInfoResponse) SetFollowerCount

func (p *RelationInfoResponse) SetFollowerCount(val int64)

func (*RelationInfoResponse) SetIsFollow

func (p *RelationInfoResponse) SetIsFollow(val bool)

func (*RelationInfoResponse) SetStatusCode

func (p *RelationInfoResponse) SetStatusCode(val int32)

func (*RelationInfoResponse) SetStatusMsg

func (p *RelationInfoResponse) SetStatusMsg(val string)

func (*RelationInfoResponse) String

func (p *RelationInfoResponse) String() string

func (*RelationInfoResponse) Write

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

type RelationListRequest

type RelationListRequest struct {
	Token  string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	UserId int64  `thrift:"user_id,2" frugal:"2,default,i64" json:"user_id"`
}
var SocialServiceGetFollowListArgs_Req_DEFAULT *RelationListRequest
var SocialServiceGetFollowerListArgs_Req_DEFAULT *RelationListRequest
var SocialServiceGetFriendListArgs_Req_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 string) bool

func (*RelationListRequest) Field2DeepEqual

func (p *RelationListRequest) Field2DeepEqual(src int64) bool

func (*RelationListRequest) GetToken

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

func (*RelationListRequest) GetUserId

func (p *RelationListRequest) GetUserId() (v int64)

func (*RelationListRequest) InitDefault

func (p *RelationListRequest) InitDefault()

func (*RelationListRequest) IsValid

func (p *RelationListRequest) IsValid() error

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

func (p *RelationListRequest) SetToken(val string)

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 int32        `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string       `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	UserList   []*user.User `thrift:"user_list,3" frugal:"3,default,list<user.User>" json:"user_list"`
}
var SocialServiceGetFollowListResult_Success_DEFAULT *RelationListResponse
var SocialServiceGetFollowerListResult_Success_DEFAULT *RelationListResponse
var SocialServiceGetFriendListResult_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 int32) bool

func (*RelationListResponse) Field2DeepEqual

func (p *RelationListResponse) Field2DeepEqual(src string) bool

func (*RelationListResponse) Field3DeepEqual

func (p *RelationListResponse) Field3DeepEqual(src []*user.User) bool

func (*RelationListResponse) GetStatusCode

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

func (*RelationListResponse) GetStatusMsg

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

func (*RelationListResponse) GetUserList

func (p *RelationListResponse) GetUserList() (v []*user.User)

func (*RelationListResponse) InitDefault

func (p *RelationListResponse) InitDefault()

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

func (*RelationListResponse) SetStatusMsg

func (p *RelationListResponse) SetStatusMsg(val string)

func (*RelationListResponse) SetUserList

func (p *RelationListResponse) SetUserList(val []*user.User)

func (*RelationListResponse) String

func (p *RelationListResponse) String() string

func (*RelationListResponse) Write

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

type SocialService

type SocialService interface {
	RelationAction(ctx context.Context, req *RelationActionRequest) (r *RelationActionResponse, err error)

	GetFollowList(ctx context.Context, req *RelationListRequest) (r *RelationListResponse, err error)

	GetFollowerList(ctx context.Context, req *RelationListRequest) (r *RelationListResponse, err error)

	GetFriendList(ctx context.Context, req *RelationListRequest) (r *RelationListResponse, err error)

	GetRelationInfo(ctx context.Context, req *RelationInfoRequest) (r *RelationInfoResponse, err error)

	GetMessageChat(ctx context.Context, req *MessageChatRequest) (r *MessageChatResponse, err error)

	MessageAction(ctx context.Context, req *MessageActionRequest) (r *MessageActionResponse, err error)
}

type SocialServiceClient

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

func NewSocialServiceClient

func NewSocialServiceClient(c thrift.TClient) *SocialServiceClient

func NewSocialServiceClientProtocol

func NewSocialServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *SocialServiceClient

func (*SocialServiceClient) Client_

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

func (*SocialServiceClient) GetFollowList

func (p *SocialServiceClient) GetFollowList(ctx context.Context, req *RelationListRequest) (r *RelationListResponse, err error)

func (*SocialServiceClient) GetFollowerList

func (p *SocialServiceClient) GetFollowerList(ctx context.Context, req *RelationListRequest) (r *RelationListResponse, err error)

func (*SocialServiceClient) GetFriendList

func (p *SocialServiceClient) GetFriendList(ctx context.Context, req *RelationListRequest) (r *RelationListResponse, err error)

func (*SocialServiceClient) GetMessageChat

func (p *SocialServiceClient) GetMessageChat(ctx context.Context, req *MessageChatRequest) (r *MessageChatResponse, err error)

func (*SocialServiceClient) GetRelationInfo

func (p *SocialServiceClient) GetRelationInfo(ctx context.Context, req *RelationInfoRequest) (r *RelationInfoResponse, err error)

func (*SocialServiceClient) MessageAction

func (*SocialServiceClient) RelationAction

type SocialServiceGetFollowListArgs

type SocialServiceGetFollowListArgs struct {
	Req *RelationListRequest `thrift:"req,1" frugal:"1,default,RelationListRequest" json:"req"`
}

func NewSocialServiceGetFollowListArgs

func NewSocialServiceGetFollowListArgs() *SocialServiceGetFollowListArgs

func (*SocialServiceGetFollowListArgs) BLength

func (p *SocialServiceGetFollowListArgs) BLength() int

func (*SocialServiceGetFollowListArgs) DeepEqual

func (*SocialServiceGetFollowListArgs) FastRead

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

func (*SocialServiceGetFollowListArgs) FastReadField1

func (p *SocialServiceGetFollowListArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceGetFollowListArgs) FastWrite

func (p *SocialServiceGetFollowListArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetFollowListArgs) FastWriteNocopy

func (p *SocialServiceGetFollowListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetFollowListArgs) Field1DeepEqual

func (p *SocialServiceGetFollowListArgs) Field1DeepEqual(src *RelationListRequest) bool

func (*SocialServiceGetFollowListArgs) GetFirstArgument

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

func (*SocialServiceGetFollowListArgs) GetReq

func (*SocialServiceGetFollowListArgs) InitDefault

func (p *SocialServiceGetFollowListArgs) InitDefault()

func (*SocialServiceGetFollowListArgs) IsSetReq

func (p *SocialServiceGetFollowListArgs) IsSetReq() bool

func (*SocialServiceGetFollowListArgs) Read

func (*SocialServiceGetFollowListArgs) ReadField1

func (*SocialServiceGetFollowListArgs) SetReq

func (*SocialServiceGetFollowListArgs) String

func (*SocialServiceGetFollowListArgs) Write

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

type SocialServiceGetFollowListResult

type SocialServiceGetFollowListResult struct {
	Success *RelationListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationListResponse" json:"success,omitempty"`
}

func NewSocialServiceGetFollowListResult

func NewSocialServiceGetFollowListResult() *SocialServiceGetFollowListResult

func (*SocialServiceGetFollowListResult) BLength

func (*SocialServiceGetFollowListResult) DeepEqual

func (*SocialServiceGetFollowListResult) FastRead

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

func (*SocialServiceGetFollowListResult) FastReadField0

func (p *SocialServiceGetFollowListResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceGetFollowListResult) FastWrite

func (p *SocialServiceGetFollowListResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetFollowListResult) FastWriteNocopy

func (p *SocialServiceGetFollowListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetFollowListResult) Field0DeepEqual

func (*SocialServiceGetFollowListResult) GetResult

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

func (*SocialServiceGetFollowListResult) GetSuccess

func (*SocialServiceGetFollowListResult) InitDefault

func (p *SocialServiceGetFollowListResult) InitDefault()

func (*SocialServiceGetFollowListResult) IsSetSuccess

func (p *SocialServiceGetFollowListResult) IsSetSuccess() bool

func (*SocialServiceGetFollowListResult) Read

func (*SocialServiceGetFollowListResult) ReadField0

func (*SocialServiceGetFollowListResult) SetSuccess

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

func (*SocialServiceGetFollowListResult) String

func (*SocialServiceGetFollowListResult) Write

type SocialServiceGetFollowerListArgs

type SocialServiceGetFollowerListArgs struct {
	Req *RelationListRequest `thrift:"req,1" frugal:"1,default,RelationListRequest" json:"req"`
}

func NewSocialServiceGetFollowerListArgs

func NewSocialServiceGetFollowerListArgs() *SocialServiceGetFollowerListArgs

func (*SocialServiceGetFollowerListArgs) BLength

func (*SocialServiceGetFollowerListArgs) DeepEqual

func (*SocialServiceGetFollowerListArgs) FastRead

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

func (*SocialServiceGetFollowerListArgs) FastReadField1

func (p *SocialServiceGetFollowerListArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceGetFollowerListArgs) FastWrite

func (p *SocialServiceGetFollowerListArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetFollowerListArgs) FastWriteNocopy

func (p *SocialServiceGetFollowerListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetFollowerListArgs) Field1DeepEqual

func (*SocialServiceGetFollowerListArgs) GetFirstArgument

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

func (*SocialServiceGetFollowerListArgs) GetReq

func (*SocialServiceGetFollowerListArgs) InitDefault

func (p *SocialServiceGetFollowerListArgs) InitDefault()

func (*SocialServiceGetFollowerListArgs) IsSetReq

func (p *SocialServiceGetFollowerListArgs) IsSetReq() bool

func (*SocialServiceGetFollowerListArgs) Read

func (*SocialServiceGetFollowerListArgs) ReadField1

func (*SocialServiceGetFollowerListArgs) SetReq

func (*SocialServiceGetFollowerListArgs) String

func (*SocialServiceGetFollowerListArgs) Write

type SocialServiceGetFollowerListResult

type SocialServiceGetFollowerListResult struct {
	Success *RelationListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationListResponse" json:"success,omitempty"`
}

func NewSocialServiceGetFollowerListResult

func NewSocialServiceGetFollowerListResult() *SocialServiceGetFollowerListResult

func (*SocialServiceGetFollowerListResult) BLength

func (*SocialServiceGetFollowerListResult) DeepEqual

func (*SocialServiceGetFollowerListResult) FastRead

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

func (*SocialServiceGetFollowerListResult) FastReadField0

func (p *SocialServiceGetFollowerListResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceGetFollowerListResult) FastWrite

func (p *SocialServiceGetFollowerListResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetFollowerListResult) FastWriteNocopy

func (p *SocialServiceGetFollowerListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetFollowerListResult) Field0DeepEqual

func (*SocialServiceGetFollowerListResult) GetResult

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

func (*SocialServiceGetFollowerListResult) GetSuccess

func (*SocialServiceGetFollowerListResult) InitDefault

func (p *SocialServiceGetFollowerListResult) InitDefault()

func (*SocialServiceGetFollowerListResult) IsSetSuccess

func (p *SocialServiceGetFollowerListResult) IsSetSuccess() bool

func (*SocialServiceGetFollowerListResult) Read

func (*SocialServiceGetFollowerListResult) ReadField0

func (*SocialServiceGetFollowerListResult) SetSuccess

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

func (*SocialServiceGetFollowerListResult) String

func (*SocialServiceGetFollowerListResult) Write

type SocialServiceGetFriendListArgs

type SocialServiceGetFriendListArgs struct {
	Req *RelationListRequest `thrift:"req,1" frugal:"1,default,RelationListRequest" json:"req"`
}

func NewSocialServiceGetFriendListArgs

func NewSocialServiceGetFriendListArgs() *SocialServiceGetFriendListArgs

func (*SocialServiceGetFriendListArgs) BLength

func (p *SocialServiceGetFriendListArgs) BLength() int

func (*SocialServiceGetFriendListArgs) DeepEqual

func (*SocialServiceGetFriendListArgs) FastRead

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

func (*SocialServiceGetFriendListArgs) FastReadField1

func (p *SocialServiceGetFriendListArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceGetFriendListArgs) FastWrite

func (p *SocialServiceGetFriendListArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetFriendListArgs) FastWriteNocopy

func (p *SocialServiceGetFriendListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetFriendListArgs) Field1DeepEqual

func (p *SocialServiceGetFriendListArgs) Field1DeepEqual(src *RelationListRequest) bool

func (*SocialServiceGetFriendListArgs) GetFirstArgument

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

func (*SocialServiceGetFriendListArgs) GetReq

func (*SocialServiceGetFriendListArgs) InitDefault

func (p *SocialServiceGetFriendListArgs) InitDefault()

func (*SocialServiceGetFriendListArgs) IsSetReq

func (p *SocialServiceGetFriendListArgs) IsSetReq() bool

func (*SocialServiceGetFriendListArgs) Read

func (*SocialServiceGetFriendListArgs) ReadField1

func (*SocialServiceGetFriendListArgs) SetReq

func (*SocialServiceGetFriendListArgs) String

func (*SocialServiceGetFriendListArgs) Write

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

type SocialServiceGetFriendListResult

type SocialServiceGetFriendListResult struct {
	Success *RelationListResponse `thrift:"success,0,optional" frugal:"0,optional,RelationListResponse" json:"success,omitempty"`
}

func NewSocialServiceGetFriendListResult

func NewSocialServiceGetFriendListResult() *SocialServiceGetFriendListResult

func (*SocialServiceGetFriendListResult) BLength

func (*SocialServiceGetFriendListResult) DeepEqual

func (*SocialServiceGetFriendListResult) FastRead

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

func (*SocialServiceGetFriendListResult) FastReadField0

func (p *SocialServiceGetFriendListResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceGetFriendListResult) FastWrite

func (p *SocialServiceGetFriendListResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetFriendListResult) FastWriteNocopy

func (p *SocialServiceGetFriendListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetFriendListResult) Field0DeepEqual

func (*SocialServiceGetFriendListResult) GetResult

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

func (*SocialServiceGetFriendListResult) GetSuccess

func (*SocialServiceGetFriendListResult) InitDefault

func (p *SocialServiceGetFriendListResult) InitDefault()

func (*SocialServiceGetFriendListResult) IsSetSuccess

func (p *SocialServiceGetFriendListResult) IsSetSuccess() bool

func (*SocialServiceGetFriendListResult) Read

func (*SocialServiceGetFriendListResult) ReadField0

func (*SocialServiceGetFriendListResult) SetSuccess

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

func (*SocialServiceGetFriendListResult) String

func (*SocialServiceGetFriendListResult) Write

type SocialServiceGetMessageChatArgs

type SocialServiceGetMessageChatArgs struct {
	Req *MessageChatRequest `thrift:"req,1" frugal:"1,default,MessageChatRequest" json:"req"`
}

func NewSocialServiceGetMessageChatArgs

func NewSocialServiceGetMessageChatArgs() *SocialServiceGetMessageChatArgs

func (*SocialServiceGetMessageChatArgs) BLength

func (p *SocialServiceGetMessageChatArgs) BLength() int

func (*SocialServiceGetMessageChatArgs) DeepEqual

func (*SocialServiceGetMessageChatArgs) FastRead

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

func (*SocialServiceGetMessageChatArgs) FastReadField1

func (p *SocialServiceGetMessageChatArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceGetMessageChatArgs) FastWrite

func (p *SocialServiceGetMessageChatArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetMessageChatArgs) FastWriteNocopy

func (p *SocialServiceGetMessageChatArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetMessageChatArgs) Field1DeepEqual

func (p *SocialServiceGetMessageChatArgs) Field1DeepEqual(src *MessageChatRequest) bool

func (*SocialServiceGetMessageChatArgs) GetFirstArgument

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

func (*SocialServiceGetMessageChatArgs) GetReq

func (*SocialServiceGetMessageChatArgs) InitDefault

func (p *SocialServiceGetMessageChatArgs) InitDefault()

func (*SocialServiceGetMessageChatArgs) IsSetReq

func (p *SocialServiceGetMessageChatArgs) IsSetReq() bool

func (*SocialServiceGetMessageChatArgs) Read

func (*SocialServiceGetMessageChatArgs) ReadField1

func (*SocialServiceGetMessageChatArgs) SetReq

func (*SocialServiceGetMessageChatArgs) String

func (*SocialServiceGetMessageChatArgs) Write

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

type SocialServiceGetMessageChatResult

type SocialServiceGetMessageChatResult struct {
	Success *MessageChatResponse `thrift:"success,0,optional" frugal:"0,optional,MessageChatResponse" json:"success,omitempty"`
}

func NewSocialServiceGetMessageChatResult

func NewSocialServiceGetMessageChatResult() *SocialServiceGetMessageChatResult

func (*SocialServiceGetMessageChatResult) BLength

func (*SocialServiceGetMessageChatResult) DeepEqual

func (*SocialServiceGetMessageChatResult) FastRead

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

func (*SocialServiceGetMessageChatResult) FastReadField0

func (p *SocialServiceGetMessageChatResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceGetMessageChatResult) FastWrite

func (p *SocialServiceGetMessageChatResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetMessageChatResult) FastWriteNocopy

func (p *SocialServiceGetMessageChatResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetMessageChatResult) Field0DeepEqual

func (*SocialServiceGetMessageChatResult) GetResult

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

func (*SocialServiceGetMessageChatResult) GetSuccess

func (*SocialServiceGetMessageChatResult) InitDefault

func (p *SocialServiceGetMessageChatResult) InitDefault()

func (*SocialServiceGetMessageChatResult) IsSetSuccess

func (p *SocialServiceGetMessageChatResult) IsSetSuccess() bool

func (*SocialServiceGetMessageChatResult) Read

func (*SocialServiceGetMessageChatResult) ReadField0

func (*SocialServiceGetMessageChatResult) SetSuccess

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

func (*SocialServiceGetMessageChatResult) String

func (*SocialServiceGetMessageChatResult) Write

type SocialServiceGetRelationInfoArgs

type SocialServiceGetRelationInfoArgs struct {
	Req *RelationInfoRequest `thrift:"req,1" frugal:"1,default,RelationInfoRequest" json:"req"`
}

func NewSocialServiceGetRelationInfoArgs

func NewSocialServiceGetRelationInfoArgs() *SocialServiceGetRelationInfoArgs

func (*SocialServiceGetRelationInfoArgs) BLength

func (*SocialServiceGetRelationInfoArgs) DeepEqual

func (*SocialServiceGetRelationInfoArgs) FastRead

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

func (*SocialServiceGetRelationInfoArgs) FastReadField1

func (p *SocialServiceGetRelationInfoArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceGetRelationInfoArgs) FastWrite

func (p *SocialServiceGetRelationInfoArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetRelationInfoArgs) FastWriteNocopy

func (p *SocialServiceGetRelationInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetRelationInfoArgs) Field1DeepEqual

func (*SocialServiceGetRelationInfoArgs) GetFirstArgument

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

func (*SocialServiceGetRelationInfoArgs) GetReq

func (*SocialServiceGetRelationInfoArgs) InitDefault

func (p *SocialServiceGetRelationInfoArgs) InitDefault()

func (*SocialServiceGetRelationInfoArgs) IsSetReq

func (p *SocialServiceGetRelationInfoArgs) IsSetReq() bool

func (*SocialServiceGetRelationInfoArgs) Read

func (*SocialServiceGetRelationInfoArgs) ReadField1

func (*SocialServiceGetRelationInfoArgs) SetReq

func (*SocialServiceGetRelationInfoArgs) String

func (*SocialServiceGetRelationInfoArgs) Write

type SocialServiceGetRelationInfoResult

type SocialServiceGetRelationInfoResult struct {
	Success *RelationInfoResponse `thrift:"success,0,optional" frugal:"0,optional,RelationInfoResponse" json:"success,omitempty"`
}

func NewSocialServiceGetRelationInfoResult

func NewSocialServiceGetRelationInfoResult() *SocialServiceGetRelationInfoResult

func (*SocialServiceGetRelationInfoResult) BLength

func (*SocialServiceGetRelationInfoResult) DeepEqual

func (*SocialServiceGetRelationInfoResult) FastRead

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

func (*SocialServiceGetRelationInfoResult) FastReadField0

func (p *SocialServiceGetRelationInfoResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceGetRelationInfoResult) FastWrite

func (p *SocialServiceGetRelationInfoResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceGetRelationInfoResult) FastWriteNocopy

func (p *SocialServiceGetRelationInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceGetRelationInfoResult) Field0DeepEqual

func (*SocialServiceGetRelationInfoResult) GetResult

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

func (*SocialServiceGetRelationInfoResult) GetSuccess

func (*SocialServiceGetRelationInfoResult) InitDefault

func (p *SocialServiceGetRelationInfoResult) InitDefault()

func (*SocialServiceGetRelationInfoResult) IsSetSuccess

func (p *SocialServiceGetRelationInfoResult) IsSetSuccess() bool

func (*SocialServiceGetRelationInfoResult) Read

func (*SocialServiceGetRelationInfoResult) ReadField0

func (*SocialServiceGetRelationInfoResult) SetSuccess

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

func (*SocialServiceGetRelationInfoResult) String

func (*SocialServiceGetRelationInfoResult) Write

type SocialServiceMessageActionArgs

type SocialServiceMessageActionArgs struct {
	Req *MessageActionRequest `thrift:"req,1" frugal:"1,default,MessageActionRequest" json:"req"`
}

func NewSocialServiceMessageActionArgs

func NewSocialServiceMessageActionArgs() *SocialServiceMessageActionArgs

func (*SocialServiceMessageActionArgs) BLength

func (p *SocialServiceMessageActionArgs) BLength() int

func (*SocialServiceMessageActionArgs) DeepEqual

func (*SocialServiceMessageActionArgs) FastRead

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

func (*SocialServiceMessageActionArgs) FastReadField1

func (p *SocialServiceMessageActionArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceMessageActionArgs) FastWrite

func (p *SocialServiceMessageActionArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceMessageActionArgs) FastWriteNocopy

func (p *SocialServiceMessageActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceMessageActionArgs) Field1DeepEqual

func (p *SocialServiceMessageActionArgs) Field1DeepEqual(src *MessageActionRequest) bool

func (*SocialServiceMessageActionArgs) GetFirstArgument

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

func (*SocialServiceMessageActionArgs) GetReq

func (*SocialServiceMessageActionArgs) InitDefault

func (p *SocialServiceMessageActionArgs) InitDefault()

func (*SocialServiceMessageActionArgs) IsSetReq

func (p *SocialServiceMessageActionArgs) IsSetReq() bool

func (*SocialServiceMessageActionArgs) Read

func (*SocialServiceMessageActionArgs) ReadField1

func (*SocialServiceMessageActionArgs) SetReq

func (*SocialServiceMessageActionArgs) String

func (*SocialServiceMessageActionArgs) Write

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

type SocialServiceMessageActionResult

type SocialServiceMessageActionResult struct {
	Success *MessageActionResponse `thrift:"success,0,optional" frugal:"0,optional,MessageActionResponse" json:"success,omitempty"`
}

func NewSocialServiceMessageActionResult

func NewSocialServiceMessageActionResult() *SocialServiceMessageActionResult

func (*SocialServiceMessageActionResult) BLength

func (*SocialServiceMessageActionResult) DeepEqual

func (*SocialServiceMessageActionResult) FastRead

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

func (*SocialServiceMessageActionResult) FastReadField0

func (p *SocialServiceMessageActionResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceMessageActionResult) FastWrite

func (p *SocialServiceMessageActionResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceMessageActionResult) FastWriteNocopy

func (p *SocialServiceMessageActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceMessageActionResult) Field0DeepEqual

func (*SocialServiceMessageActionResult) GetResult

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

func (*SocialServiceMessageActionResult) GetSuccess

func (*SocialServiceMessageActionResult) InitDefault

func (p *SocialServiceMessageActionResult) InitDefault()

func (*SocialServiceMessageActionResult) IsSetSuccess

func (p *SocialServiceMessageActionResult) IsSetSuccess() bool

func (*SocialServiceMessageActionResult) Read

func (*SocialServiceMessageActionResult) ReadField0

func (*SocialServiceMessageActionResult) SetSuccess

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

func (*SocialServiceMessageActionResult) String

func (*SocialServiceMessageActionResult) Write

type SocialServiceProcessor

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

func NewSocialServiceProcessor

func NewSocialServiceProcessor(handler SocialService) *SocialServiceProcessor

func (*SocialServiceProcessor) AddToProcessorMap

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

func (*SocialServiceProcessor) GetProcessorFunction

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

func (*SocialServiceProcessor) Process

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

func (*SocialServiceProcessor) ProcessorMap

type SocialServiceRelationActionArgs

type SocialServiceRelationActionArgs struct {
	Req *RelationActionRequest `thrift:"req,1" frugal:"1,default,RelationActionRequest" json:"req"`
}

func NewSocialServiceRelationActionArgs

func NewSocialServiceRelationActionArgs() *SocialServiceRelationActionArgs

func (*SocialServiceRelationActionArgs) BLength

func (p *SocialServiceRelationActionArgs) BLength() int

func (*SocialServiceRelationActionArgs) DeepEqual

func (*SocialServiceRelationActionArgs) FastRead

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

func (*SocialServiceRelationActionArgs) FastReadField1

func (p *SocialServiceRelationActionArgs) FastReadField1(buf []byte) (int, error)

func (*SocialServiceRelationActionArgs) FastWrite

func (p *SocialServiceRelationActionArgs) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceRelationActionArgs) FastWriteNocopy

func (p *SocialServiceRelationActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceRelationActionArgs) Field1DeepEqual

func (*SocialServiceRelationActionArgs) GetFirstArgument

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

func (*SocialServiceRelationActionArgs) GetReq

func (*SocialServiceRelationActionArgs) InitDefault

func (p *SocialServiceRelationActionArgs) InitDefault()

func (*SocialServiceRelationActionArgs) IsSetReq

func (p *SocialServiceRelationActionArgs) IsSetReq() bool

func (*SocialServiceRelationActionArgs) Read

func (*SocialServiceRelationActionArgs) ReadField1

func (*SocialServiceRelationActionArgs) SetReq

func (*SocialServiceRelationActionArgs) String

func (*SocialServiceRelationActionArgs) Write

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

type SocialServiceRelationActionResult

type SocialServiceRelationActionResult struct {
	Success *RelationActionResponse `thrift:"success,0,optional" frugal:"0,optional,RelationActionResponse" json:"success,omitempty"`
}

func NewSocialServiceRelationActionResult

func NewSocialServiceRelationActionResult() *SocialServiceRelationActionResult

func (*SocialServiceRelationActionResult) BLength

func (*SocialServiceRelationActionResult) DeepEqual

func (*SocialServiceRelationActionResult) FastRead

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

func (*SocialServiceRelationActionResult) FastReadField0

func (p *SocialServiceRelationActionResult) FastReadField0(buf []byte) (int, error)

func (*SocialServiceRelationActionResult) FastWrite

func (p *SocialServiceRelationActionResult) FastWrite(buf []byte) int

for compatibility

func (*SocialServiceRelationActionResult) FastWriteNocopy

func (p *SocialServiceRelationActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialServiceRelationActionResult) Field0DeepEqual

func (*SocialServiceRelationActionResult) GetResult

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

func (*SocialServiceRelationActionResult) GetSuccess

func (*SocialServiceRelationActionResult) InitDefault

func (p *SocialServiceRelationActionResult) InitDefault()

func (*SocialServiceRelationActionResult) IsSetSuccess

func (p *SocialServiceRelationActionResult) IsSetSuccess() bool

func (*SocialServiceRelationActionResult) Read

func (*SocialServiceRelationActionResult) ReadField0

func (*SocialServiceRelationActionResult) SetSuccess

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

func (*SocialServiceRelationActionResult) String

func (*SocialServiceRelationActionResult) Write

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