chat

package
v0.0.0-...-55e1567 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DouyinMessageActionResponse_BaseResp_DEFAULT *base.DouyinBaseResponse
View Source
var DouyinMessageBatchGetLatestResponse_BaseResp_DEFAULT *base.DouyinBaseResponse
View Source
var DouyinMessageGetChatHistoryResponse_BaseResp_DEFAULT *base.DouyinBaseResponse
View Source
var DouyinMessageGetLatestResponse_BaseResp_DEFAULT *base.DouyinBaseResponse
View Source
var DouyinMessageGetLatestResponse_LatestMsg_DEFAULT *base.LatestMsg
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

Functions

This section is empty.

Types

type ChatServiceBatchGetLatestMessageArgs

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

func NewChatServiceBatchGetLatestMessageArgs

func NewChatServiceBatchGetLatestMessageArgs() *ChatServiceBatchGetLatestMessageArgs

func (*ChatServiceBatchGetLatestMessageArgs) BLength

func (*ChatServiceBatchGetLatestMessageArgs) DeepEqual

func (*ChatServiceBatchGetLatestMessageArgs) FastRead

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

func (*ChatServiceBatchGetLatestMessageArgs) FastReadField1

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

func (*ChatServiceBatchGetLatestMessageArgs) FastWrite

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

for compatibility

func (*ChatServiceBatchGetLatestMessageArgs) FastWriteNocopy

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

func (*ChatServiceBatchGetLatestMessageArgs) Field1DeepEqual

func (*ChatServiceBatchGetLatestMessageArgs) GetFirstArgument

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

func (*ChatServiceBatchGetLatestMessageArgs) GetReq

func (*ChatServiceBatchGetLatestMessageArgs) InitDefault

func (p *ChatServiceBatchGetLatestMessageArgs) InitDefault()

func (*ChatServiceBatchGetLatestMessageArgs) IsSetReq

func (*ChatServiceBatchGetLatestMessageArgs) Read

func (*ChatServiceBatchGetLatestMessageArgs) ReadField1

func (*ChatServiceBatchGetLatestMessageArgs) SetReq

func (*ChatServiceBatchGetLatestMessageArgs) String

func (*ChatServiceBatchGetLatestMessageArgs) Write

type ChatServiceBatchGetLatestMessageResult

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

func NewChatServiceBatchGetLatestMessageResult

func NewChatServiceBatchGetLatestMessageResult() *ChatServiceBatchGetLatestMessageResult

func (*ChatServiceBatchGetLatestMessageResult) BLength

func (*ChatServiceBatchGetLatestMessageResult) DeepEqual

func (*ChatServiceBatchGetLatestMessageResult) FastRead

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

func (*ChatServiceBatchGetLatestMessageResult) FastReadField0

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

func (*ChatServiceBatchGetLatestMessageResult) FastWrite

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

for compatibility

func (*ChatServiceBatchGetLatestMessageResult) FastWriteNocopy

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

func (*ChatServiceBatchGetLatestMessageResult) Field0DeepEqual

func (*ChatServiceBatchGetLatestMessageResult) GetResult

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

func (*ChatServiceBatchGetLatestMessageResult) GetSuccess

func (*ChatServiceBatchGetLatestMessageResult) InitDefault

func (p *ChatServiceBatchGetLatestMessageResult) InitDefault()

func (*ChatServiceBatchGetLatestMessageResult) IsSetSuccess

func (p *ChatServiceBatchGetLatestMessageResult) IsSetSuccess() bool

func (*ChatServiceBatchGetLatestMessageResult) Read

func (*ChatServiceBatchGetLatestMessageResult) ReadField0

func (*ChatServiceBatchGetLatestMessageResult) SetSuccess

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

func (*ChatServiceBatchGetLatestMessageResult) String

func (*ChatServiceBatchGetLatestMessageResult) Write

type ChatServiceClient

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

func NewChatServiceClient

func NewChatServiceClient(c thrift.TClient) *ChatServiceClient

func NewChatServiceClientProtocol

func NewChatServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ChatServiceClient

func (*ChatServiceClient) BatchGetLatestMessage

func (*ChatServiceClient) Client_

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

func (*ChatServiceClient) GetChatHistory

func (*ChatServiceClient) GetLatestMessage

func (*ChatServiceClient) SentMessage

type ChatServiceGetChatHistoryArgs

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

func NewChatServiceGetChatHistoryArgs

func NewChatServiceGetChatHistoryArgs() *ChatServiceGetChatHistoryArgs

func (*ChatServiceGetChatHistoryArgs) BLength

func (p *ChatServiceGetChatHistoryArgs) BLength() int

func (*ChatServiceGetChatHistoryArgs) DeepEqual

func (*ChatServiceGetChatHistoryArgs) FastRead

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

func (*ChatServiceGetChatHistoryArgs) FastReadField1

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

func (*ChatServiceGetChatHistoryArgs) FastWrite

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

for compatibility

func (*ChatServiceGetChatHistoryArgs) FastWriteNocopy

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

func (*ChatServiceGetChatHistoryArgs) Field1DeepEqual

func (*ChatServiceGetChatHistoryArgs) GetFirstArgument

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

func (*ChatServiceGetChatHistoryArgs) GetReq

func (*ChatServiceGetChatHistoryArgs) InitDefault

func (p *ChatServiceGetChatHistoryArgs) InitDefault()

func (*ChatServiceGetChatHistoryArgs) IsSetReq

func (p *ChatServiceGetChatHistoryArgs) IsSetReq() bool

func (*ChatServiceGetChatHistoryArgs) Read

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

func (*ChatServiceGetChatHistoryArgs) ReadField1

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

func (*ChatServiceGetChatHistoryArgs) SetReq

func (*ChatServiceGetChatHistoryArgs) String

func (*ChatServiceGetChatHistoryArgs) Write

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

type ChatServiceGetChatHistoryResult

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

func NewChatServiceGetChatHistoryResult

func NewChatServiceGetChatHistoryResult() *ChatServiceGetChatHistoryResult

func (*ChatServiceGetChatHistoryResult) BLength

func (p *ChatServiceGetChatHistoryResult) BLength() int

func (*ChatServiceGetChatHistoryResult) DeepEqual

func (*ChatServiceGetChatHistoryResult) FastRead

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

func (*ChatServiceGetChatHistoryResult) FastReadField0

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

func (*ChatServiceGetChatHistoryResult) FastWrite

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

for compatibility

func (*ChatServiceGetChatHistoryResult) FastWriteNocopy

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

func (*ChatServiceGetChatHistoryResult) Field0DeepEqual

func (*ChatServiceGetChatHistoryResult) GetResult

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

func (*ChatServiceGetChatHistoryResult) GetSuccess

func (*ChatServiceGetChatHistoryResult) InitDefault

func (p *ChatServiceGetChatHistoryResult) InitDefault()

func (*ChatServiceGetChatHistoryResult) IsSetSuccess

func (p *ChatServiceGetChatHistoryResult) IsSetSuccess() bool

func (*ChatServiceGetChatHistoryResult) Read

func (*ChatServiceGetChatHistoryResult) ReadField0

func (*ChatServiceGetChatHistoryResult) SetSuccess

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

func (*ChatServiceGetChatHistoryResult) String

func (*ChatServiceGetChatHistoryResult) Write

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

type ChatServiceGetLatestMessageArgs

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

func NewChatServiceGetLatestMessageArgs

func NewChatServiceGetLatestMessageArgs() *ChatServiceGetLatestMessageArgs

func (*ChatServiceGetLatestMessageArgs) BLength

func (p *ChatServiceGetLatestMessageArgs) BLength() int

func (*ChatServiceGetLatestMessageArgs) DeepEqual

func (*ChatServiceGetLatestMessageArgs) FastRead

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

func (*ChatServiceGetLatestMessageArgs) FastReadField1

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

func (*ChatServiceGetLatestMessageArgs) FastWrite

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

for compatibility

func (*ChatServiceGetLatestMessageArgs) FastWriteNocopy

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

func (*ChatServiceGetLatestMessageArgs) Field1DeepEqual

func (*ChatServiceGetLatestMessageArgs) GetFirstArgument

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

func (*ChatServiceGetLatestMessageArgs) GetReq

func (*ChatServiceGetLatestMessageArgs) InitDefault

func (p *ChatServiceGetLatestMessageArgs) InitDefault()

func (*ChatServiceGetLatestMessageArgs) IsSetReq

func (p *ChatServiceGetLatestMessageArgs) IsSetReq() bool

func (*ChatServiceGetLatestMessageArgs) Read

func (*ChatServiceGetLatestMessageArgs) ReadField1

func (*ChatServiceGetLatestMessageArgs) SetReq

func (*ChatServiceGetLatestMessageArgs) String

func (*ChatServiceGetLatestMessageArgs) Write

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

type ChatServiceGetLatestMessageResult

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

func NewChatServiceGetLatestMessageResult

func NewChatServiceGetLatestMessageResult() *ChatServiceGetLatestMessageResult

func (*ChatServiceGetLatestMessageResult) BLength

func (*ChatServiceGetLatestMessageResult) DeepEqual

func (*ChatServiceGetLatestMessageResult) FastRead

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

func (*ChatServiceGetLatestMessageResult) FastReadField0

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

func (*ChatServiceGetLatestMessageResult) FastWrite

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

for compatibility

func (*ChatServiceGetLatestMessageResult) FastWriteNocopy

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

func (*ChatServiceGetLatestMessageResult) Field0DeepEqual

func (*ChatServiceGetLatestMessageResult) GetResult

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

func (*ChatServiceGetLatestMessageResult) GetSuccess

func (*ChatServiceGetLatestMessageResult) InitDefault

func (p *ChatServiceGetLatestMessageResult) InitDefault()

func (*ChatServiceGetLatestMessageResult) IsSetSuccess

func (p *ChatServiceGetLatestMessageResult) IsSetSuccess() bool

func (*ChatServiceGetLatestMessageResult) Read

func (*ChatServiceGetLatestMessageResult) ReadField0

func (*ChatServiceGetLatestMessageResult) SetSuccess

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

func (*ChatServiceGetLatestMessageResult) String

func (*ChatServiceGetLatestMessageResult) Write

type ChatServiceProcessor

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

func NewChatServiceProcessor

func NewChatServiceProcessor(handler ChatService) *ChatServiceProcessor

func (*ChatServiceProcessor) AddToProcessorMap

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

func (*ChatServiceProcessor) GetProcessorFunction

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

func (*ChatServiceProcessor) Process

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

func (*ChatServiceProcessor) ProcessorMap

func (p *ChatServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type ChatServiceSentMessageArgs

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

func NewChatServiceSentMessageArgs

func NewChatServiceSentMessageArgs() *ChatServiceSentMessageArgs

func (*ChatServiceSentMessageArgs) BLength

func (p *ChatServiceSentMessageArgs) BLength() int

func (*ChatServiceSentMessageArgs) DeepEqual

func (*ChatServiceSentMessageArgs) FastRead

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

func (*ChatServiceSentMessageArgs) FastReadField1

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

func (*ChatServiceSentMessageArgs) FastWrite

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

for compatibility

func (*ChatServiceSentMessageArgs) FastWriteNocopy

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

func (*ChatServiceSentMessageArgs) Field1DeepEqual

func (*ChatServiceSentMessageArgs) GetFirstArgument

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

func (*ChatServiceSentMessageArgs) GetReq

func (*ChatServiceSentMessageArgs) InitDefault

func (p *ChatServiceSentMessageArgs) InitDefault()

func (*ChatServiceSentMessageArgs) IsSetReq

func (p *ChatServiceSentMessageArgs) IsSetReq() bool

func (*ChatServiceSentMessageArgs) Read

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

func (*ChatServiceSentMessageArgs) ReadField1

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

func (*ChatServiceSentMessageArgs) SetReq

func (*ChatServiceSentMessageArgs) String

func (p *ChatServiceSentMessageArgs) String() string

func (*ChatServiceSentMessageArgs) Write

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

type ChatServiceSentMessageResult

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

func NewChatServiceSentMessageResult

func NewChatServiceSentMessageResult() *ChatServiceSentMessageResult

func (*ChatServiceSentMessageResult) BLength

func (p *ChatServiceSentMessageResult) BLength() int

func (*ChatServiceSentMessageResult) DeepEqual

func (*ChatServiceSentMessageResult) FastRead

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

func (*ChatServiceSentMessageResult) FastReadField0

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

func (*ChatServiceSentMessageResult) FastWrite

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

for compatibility

func (*ChatServiceSentMessageResult) FastWriteNocopy

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

func (*ChatServiceSentMessageResult) Field0DeepEqual

func (*ChatServiceSentMessageResult) GetResult

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

func (*ChatServiceSentMessageResult) GetSuccess

func (*ChatServiceSentMessageResult) InitDefault

func (p *ChatServiceSentMessageResult) InitDefault()

func (*ChatServiceSentMessageResult) IsSetSuccess

func (p *ChatServiceSentMessageResult) IsSetSuccess() bool

func (*ChatServiceSentMessageResult) Read

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

func (*ChatServiceSentMessageResult) ReadField0

func (p *ChatServiceSentMessageResult) ReadField0(iprot thrift.TProtocol) error

func (*ChatServiceSentMessageResult) SetSuccess

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

func (*ChatServiceSentMessageResult) String

func (*ChatServiceSentMessageResult) Write

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

type DouyinMessageActionRequest

type DouyinMessageActionRequest struct {
	UserId     int64  `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	ToUserId   int64  `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
	ActionType int8   `thrift:"action_type,3" frugal:"3,default,i8" json:"action_type"`
	Content    string `thrift:"content,4" frugal:"4,default,string" json:"content"`
}
var ChatServiceSentMessageArgs_Req_DEFAULT *DouyinMessageActionRequest

func NewDouyinMessageActionRequest

func NewDouyinMessageActionRequest() *DouyinMessageActionRequest

func (*DouyinMessageActionRequest) BLength

func (p *DouyinMessageActionRequest) BLength() int

func (*DouyinMessageActionRequest) DeepEqual

func (*DouyinMessageActionRequest) FastRead

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

func (*DouyinMessageActionRequest) FastReadField1

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

func (*DouyinMessageActionRequest) FastReadField2

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

func (*DouyinMessageActionRequest) FastReadField3

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

func (*DouyinMessageActionRequest) FastReadField4

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

func (*DouyinMessageActionRequest) FastWrite

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

for compatibility

func (*DouyinMessageActionRequest) FastWriteNocopy

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

func (*DouyinMessageActionRequest) Field1DeepEqual

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

func (*DouyinMessageActionRequest) Field2DeepEqual

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

func (*DouyinMessageActionRequest) Field3DeepEqual

func (p *DouyinMessageActionRequest) Field3DeepEqual(src int8) bool

func (*DouyinMessageActionRequest) Field4DeepEqual

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

func (*DouyinMessageActionRequest) GetActionType

func (p *DouyinMessageActionRequest) GetActionType() (v int8)

func (*DouyinMessageActionRequest) GetContent

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

func (*DouyinMessageActionRequest) GetToUserId

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

func (*DouyinMessageActionRequest) GetUserId

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

func (*DouyinMessageActionRequest) InitDefault

func (p *DouyinMessageActionRequest) InitDefault()

func (*DouyinMessageActionRequest) Read

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

func (*DouyinMessageActionRequest) ReadField1

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

func (*DouyinMessageActionRequest) ReadField2

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

func (*DouyinMessageActionRequest) ReadField3

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

func (*DouyinMessageActionRequest) ReadField4

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

func (*DouyinMessageActionRequest) SetActionType

func (p *DouyinMessageActionRequest) SetActionType(val int8)

func (*DouyinMessageActionRequest) SetContent

func (p *DouyinMessageActionRequest) SetContent(val string)

func (*DouyinMessageActionRequest) SetToUserId

func (p *DouyinMessageActionRequest) SetToUserId(val int64)

func (*DouyinMessageActionRequest) SetUserId

func (p *DouyinMessageActionRequest) SetUserId(val int64)

func (*DouyinMessageActionRequest) String

func (p *DouyinMessageActionRequest) String() string

func (*DouyinMessageActionRequest) Write

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

type DouyinMessageActionResponse

type DouyinMessageActionResponse struct {
	BaseResp *base.DouyinBaseResponse `thrift:"base_resp,1" frugal:"1,default,base.DouyinBaseResponse" json:"base_resp"`
}
var ChatServiceSentMessageResult_Success_DEFAULT *DouyinMessageActionResponse

func NewDouyinMessageActionResponse

func NewDouyinMessageActionResponse() *DouyinMessageActionResponse

func (*DouyinMessageActionResponse) BLength

func (p *DouyinMessageActionResponse) BLength() int

func (*DouyinMessageActionResponse) DeepEqual

func (*DouyinMessageActionResponse) FastRead

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

func (*DouyinMessageActionResponse) FastReadField1

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

func (*DouyinMessageActionResponse) FastWrite

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

for compatibility

func (*DouyinMessageActionResponse) FastWriteNocopy

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

func (*DouyinMessageActionResponse) Field1DeepEqual

func (p *DouyinMessageActionResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool

func (*DouyinMessageActionResponse) GetBaseResp

func (p *DouyinMessageActionResponse) GetBaseResp() (v *base.DouyinBaseResponse)

func (*DouyinMessageActionResponse) InitDefault

func (p *DouyinMessageActionResponse) InitDefault()

func (*DouyinMessageActionResponse) IsSetBaseResp

func (p *DouyinMessageActionResponse) IsSetBaseResp() bool

func (*DouyinMessageActionResponse) Read

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

func (*DouyinMessageActionResponse) ReadField1

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

func (*DouyinMessageActionResponse) SetBaseResp

func (*DouyinMessageActionResponse) String

func (p *DouyinMessageActionResponse) String() string

func (*DouyinMessageActionResponse) Write

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

type DouyinMessageBatchGetLatestRequest

type DouyinMessageBatchGetLatestRequest struct {
	UserId       int64   `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	ToUserIdList []int64 `thrift:"to_user_id_list,2" frugal:"2,default,list<i64>" json:"to_user_id_list"`
	PreMsgTime   []int64 `thrift:"pre_msg_time,3" frugal:"3,default,list<i64>" json:"pre_msg_time"`
}
var ChatServiceBatchGetLatestMessageArgs_Req_DEFAULT *DouyinMessageBatchGetLatestRequest

func NewDouyinMessageBatchGetLatestRequest

func NewDouyinMessageBatchGetLatestRequest() *DouyinMessageBatchGetLatestRequest

func (*DouyinMessageBatchGetLatestRequest) BLength

func (*DouyinMessageBatchGetLatestRequest) DeepEqual

func (*DouyinMessageBatchGetLatestRequest) FastRead

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

func (*DouyinMessageBatchGetLatestRequest) FastReadField1

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

func (*DouyinMessageBatchGetLatestRequest) FastReadField2

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

func (*DouyinMessageBatchGetLatestRequest) FastReadField3

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

func (*DouyinMessageBatchGetLatestRequest) FastWrite

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

for compatibility

func (*DouyinMessageBatchGetLatestRequest) FastWriteNocopy

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

func (*DouyinMessageBatchGetLatestRequest) Field1DeepEqual

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

func (*DouyinMessageBatchGetLatestRequest) Field2DeepEqual

func (p *DouyinMessageBatchGetLatestRequest) Field2DeepEqual(src []int64) bool

func (*DouyinMessageBatchGetLatestRequest) Field3DeepEqual

func (p *DouyinMessageBatchGetLatestRequest) Field3DeepEqual(src []int64) bool

func (*DouyinMessageBatchGetLatestRequest) GetPreMsgTime

func (p *DouyinMessageBatchGetLatestRequest) GetPreMsgTime() (v []int64)

func (*DouyinMessageBatchGetLatestRequest) GetToUserIdList

func (p *DouyinMessageBatchGetLatestRequest) GetToUserIdList() (v []int64)

func (*DouyinMessageBatchGetLatestRequest) GetUserId

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

func (*DouyinMessageBatchGetLatestRequest) InitDefault

func (p *DouyinMessageBatchGetLatestRequest) InitDefault()

func (*DouyinMessageBatchGetLatestRequest) Read

func (*DouyinMessageBatchGetLatestRequest) ReadField1

func (*DouyinMessageBatchGetLatestRequest) ReadField2

func (*DouyinMessageBatchGetLatestRequest) ReadField3

func (*DouyinMessageBatchGetLatestRequest) SetPreMsgTime

func (p *DouyinMessageBatchGetLatestRequest) SetPreMsgTime(val []int64)

func (*DouyinMessageBatchGetLatestRequest) SetToUserIdList

func (p *DouyinMessageBatchGetLatestRequest) SetToUserIdList(val []int64)

func (*DouyinMessageBatchGetLatestRequest) SetUserId

func (p *DouyinMessageBatchGetLatestRequest) SetUserId(val int64)

func (*DouyinMessageBatchGetLatestRequest) String

func (*DouyinMessageBatchGetLatestRequest) Write

type DouyinMessageBatchGetLatestResponse

type DouyinMessageBatchGetLatestResponse struct {
	BaseResp      *base.DouyinBaseResponse `thrift:"base_resp,1" frugal:"1,default,base.DouyinBaseResponse" json:"base_resp"`
	LatestMsgList []*base.LatestMsg        `thrift:"latest_msg_list,2" frugal:"2,default,list<base.LatestMsg>" json:"latest_msg_list"`
}
var ChatServiceBatchGetLatestMessageResult_Success_DEFAULT *DouyinMessageBatchGetLatestResponse

func NewDouyinMessageBatchGetLatestResponse

func NewDouyinMessageBatchGetLatestResponse() *DouyinMessageBatchGetLatestResponse

func (*DouyinMessageBatchGetLatestResponse) BLength

func (*DouyinMessageBatchGetLatestResponse) DeepEqual

func (*DouyinMessageBatchGetLatestResponse) FastRead

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

func (*DouyinMessageBatchGetLatestResponse) FastReadField1

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

func (*DouyinMessageBatchGetLatestResponse) FastReadField2

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

func (*DouyinMessageBatchGetLatestResponse) FastWrite

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

for compatibility

func (*DouyinMessageBatchGetLatestResponse) FastWriteNocopy

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

func (*DouyinMessageBatchGetLatestResponse) Field1DeepEqual

func (*DouyinMessageBatchGetLatestResponse) Field2DeepEqual

func (p *DouyinMessageBatchGetLatestResponse) Field2DeepEqual(src []*base.LatestMsg) bool

func (*DouyinMessageBatchGetLatestResponse) GetBaseResp

func (*DouyinMessageBatchGetLatestResponse) GetLatestMsgList

func (p *DouyinMessageBatchGetLatestResponse) GetLatestMsgList() (v []*base.LatestMsg)

func (*DouyinMessageBatchGetLatestResponse) InitDefault

func (p *DouyinMessageBatchGetLatestResponse) InitDefault()

func (*DouyinMessageBatchGetLatestResponse) IsSetBaseResp

func (p *DouyinMessageBatchGetLatestResponse) IsSetBaseResp() bool

func (*DouyinMessageBatchGetLatestResponse) Read

func (*DouyinMessageBatchGetLatestResponse) ReadField1

func (*DouyinMessageBatchGetLatestResponse) ReadField2

func (*DouyinMessageBatchGetLatestResponse) SetBaseResp

func (*DouyinMessageBatchGetLatestResponse) SetLatestMsgList

func (p *DouyinMessageBatchGetLatestResponse) SetLatestMsgList(val []*base.LatestMsg)

func (*DouyinMessageBatchGetLatestResponse) String

func (*DouyinMessageBatchGetLatestResponse) Write

type DouyinMessageGetChatHistoryRequest

type DouyinMessageGetChatHistoryRequest struct {
	UserId     int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	ToUserId   int64 `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
	PreMsgTime int64 `thrift:"pre_msg_time,3" frugal:"3,default,i64" json:"pre_msg_time"`
}
var ChatServiceGetChatHistoryArgs_Req_DEFAULT *DouyinMessageGetChatHistoryRequest

func NewDouyinMessageGetChatHistoryRequest

func NewDouyinMessageGetChatHistoryRequest() *DouyinMessageGetChatHistoryRequest

func (*DouyinMessageGetChatHistoryRequest) BLength

func (*DouyinMessageGetChatHistoryRequest) DeepEqual

func (*DouyinMessageGetChatHistoryRequest) FastRead

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

func (*DouyinMessageGetChatHistoryRequest) FastReadField1

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

func (*DouyinMessageGetChatHistoryRequest) FastReadField2

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

func (*DouyinMessageGetChatHistoryRequest) FastReadField3

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

func (*DouyinMessageGetChatHistoryRequest) FastWrite

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

for compatibility

func (*DouyinMessageGetChatHistoryRequest) FastWriteNocopy

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

func (*DouyinMessageGetChatHistoryRequest) Field1DeepEqual

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

func (*DouyinMessageGetChatHistoryRequest) Field2DeepEqual

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

func (*DouyinMessageGetChatHistoryRequest) Field3DeepEqual

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

func (*DouyinMessageGetChatHistoryRequest) GetPreMsgTime

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

func (*DouyinMessageGetChatHistoryRequest) GetToUserId

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

func (*DouyinMessageGetChatHistoryRequest) GetUserId

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

func (*DouyinMessageGetChatHistoryRequest) InitDefault

func (p *DouyinMessageGetChatHistoryRequest) InitDefault()

func (*DouyinMessageGetChatHistoryRequest) Read

func (*DouyinMessageGetChatHistoryRequest) ReadField1

func (*DouyinMessageGetChatHistoryRequest) ReadField2

func (*DouyinMessageGetChatHistoryRequest) ReadField3

func (*DouyinMessageGetChatHistoryRequest) SetPreMsgTime

func (p *DouyinMessageGetChatHistoryRequest) SetPreMsgTime(val int64)

func (*DouyinMessageGetChatHistoryRequest) SetToUserId

func (p *DouyinMessageGetChatHistoryRequest) SetToUserId(val int64)

func (*DouyinMessageGetChatHistoryRequest) SetUserId

func (p *DouyinMessageGetChatHistoryRequest) SetUserId(val int64)

func (*DouyinMessageGetChatHistoryRequest) String

func (*DouyinMessageGetChatHistoryRequest) Write

type DouyinMessageGetChatHistoryResponse

type DouyinMessageGetChatHistoryResponse struct {
	BaseResp    *base.DouyinBaseResponse `thrift:"base_resp,1" frugal:"1,default,base.DouyinBaseResponse" json:"base_resp"`
	MessageList []*base.Message          `thrift:"message_list,2" frugal:"2,default,list<base.Message>" json:"message_list"`
}
var ChatServiceGetChatHistoryResult_Success_DEFAULT *DouyinMessageGetChatHistoryResponse

func NewDouyinMessageGetChatHistoryResponse

func NewDouyinMessageGetChatHistoryResponse() *DouyinMessageGetChatHistoryResponse

func (*DouyinMessageGetChatHistoryResponse) BLength

func (*DouyinMessageGetChatHistoryResponse) DeepEqual

func (*DouyinMessageGetChatHistoryResponse) FastRead

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

func (*DouyinMessageGetChatHistoryResponse) FastReadField1

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

func (*DouyinMessageGetChatHistoryResponse) FastReadField2

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

func (*DouyinMessageGetChatHistoryResponse) FastWrite

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

for compatibility

func (*DouyinMessageGetChatHistoryResponse) FastWriteNocopy

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

func (*DouyinMessageGetChatHistoryResponse) Field1DeepEqual

func (*DouyinMessageGetChatHistoryResponse) Field2DeepEqual

func (p *DouyinMessageGetChatHistoryResponse) Field2DeepEqual(src []*base.Message) bool

func (*DouyinMessageGetChatHistoryResponse) GetBaseResp

func (*DouyinMessageGetChatHistoryResponse) GetMessageList

func (p *DouyinMessageGetChatHistoryResponse) GetMessageList() (v []*base.Message)

func (*DouyinMessageGetChatHistoryResponse) InitDefault

func (p *DouyinMessageGetChatHistoryResponse) InitDefault()

func (*DouyinMessageGetChatHistoryResponse) IsSetBaseResp

func (p *DouyinMessageGetChatHistoryResponse) IsSetBaseResp() bool

func (*DouyinMessageGetChatHistoryResponse) Read

func (*DouyinMessageGetChatHistoryResponse) ReadField1

func (*DouyinMessageGetChatHistoryResponse) ReadField2

func (*DouyinMessageGetChatHistoryResponse) SetBaseResp

func (*DouyinMessageGetChatHistoryResponse) SetMessageList

func (p *DouyinMessageGetChatHistoryResponse) SetMessageList(val []*base.Message)

func (*DouyinMessageGetChatHistoryResponse) String

func (*DouyinMessageGetChatHistoryResponse) Write

type DouyinMessageGetLatestRequest

type DouyinMessageGetLatestRequest struct {
	UserId   int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	ToUserId int64 `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
}
var ChatServiceGetLatestMessageArgs_Req_DEFAULT *DouyinMessageGetLatestRequest

func NewDouyinMessageGetLatestRequest

func NewDouyinMessageGetLatestRequest() *DouyinMessageGetLatestRequest

func (*DouyinMessageGetLatestRequest) BLength

func (p *DouyinMessageGetLatestRequest) BLength() int

func (*DouyinMessageGetLatestRequest) DeepEqual

func (*DouyinMessageGetLatestRequest) FastRead

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

func (*DouyinMessageGetLatestRequest) FastReadField1

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

func (*DouyinMessageGetLatestRequest) FastReadField2

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

func (*DouyinMessageGetLatestRequest) FastWrite

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

for compatibility

func (*DouyinMessageGetLatestRequest) FastWriteNocopy

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

func (*DouyinMessageGetLatestRequest) Field1DeepEqual

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

func (*DouyinMessageGetLatestRequest) Field2DeepEqual

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

func (*DouyinMessageGetLatestRequest) GetToUserId

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

func (*DouyinMessageGetLatestRequest) GetUserId

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

func (*DouyinMessageGetLatestRequest) InitDefault

func (p *DouyinMessageGetLatestRequest) InitDefault()

func (*DouyinMessageGetLatestRequest) Read

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

func (*DouyinMessageGetLatestRequest) ReadField1

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

func (*DouyinMessageGetLatestRequest) ReadField2

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

func (*DouyinMessageGetLatestRequest) SetToUserId

func (p *DouyinMessageGetLatestRequest) SetToUserId(val int64)

func (*DouyinMessageGetLatestRequest) SetUserId

func (p *DouyinMessageGetLatestRequest) SetUserId(val int64)

func (*DouyinMessageGetLatestRequest) String

func (*DouyinMessageGetLatestRequest) Write

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

type DouyinMessageGetLatestResponse

type DouyinMessageGetLatestResponse struct {
	BaseResp  *base.DouyinBaseResponse `thrift:"base_resp,1" frugal:"1,default,base.DouyinBaseResponse" json:"base_resp"`
	LatestMsg *base.LatestMsg          `thrift:"latest_msg,2" frugal:"2,default,base.LatestMsg" json:"latest_msg"`
}
var ChatServiceGetLatestMessageResult_Success_DEFAULT *DouyinMessageGetLatestResponse

func NewDouyinMessageGetLatestResponse

func NewDouyinMessageGetLatestResponse() *DouyinMessageGetLatestResponse

func (*DouyinMessageGetLatestResponse) BLength

func (p *DouyinMessageGetLatestResponse) BLength() int

func (*DouyinMessageGetLatestResponse) DeepEqual

func (*DouyinMessageGetLatestResponse) FastRead

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

func (*DouyinMessageGetLatestResponse) FastReadField1

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

func (*DouyinMessageGetLatestResponse) FastReadField2

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

func (*DouyinMessageGetLatestResponse) FastWrite

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

for compatibility

func (*DouyinMessageGetLatestResponse) FastWriteNocopy

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

func (*DouyinMessageGetLatestResponse) Field1DeepEqual

func (*DouyinMessageGetLatestResponse) Field2DeepEqual

func (p *DouyinMessageGetLatestResponse) Field2DeepEqual(src *base.LatestMsg) bool

func (*DouyinMessageGetLatestResponse) GetBaseResp

func (*DouyinMessageGetLatestResponse) GetLatestMsg

func (p *DouyinMessageGetLatestResponse) GetLatestMsg() (v *base.LatestMsg)

func (*DouyinMessageGetLatestResponse) InitDefault

func (p *DouyinMessageGetLatestResponse) InitDefault()

func (*DouyinMessageGetLatestResponse) IsSetBaseResp

func (p *DouyinMessageGetLatestResponse) IsSetBaseResp() bool

func (*DouyinMessageGetLatestResponse) IsSetLatestMsg

func (p *DouyinMessageGetLatestResponse) IsSetLatestMsg() bool

func (*DouyinMessageGetLatestResponse) Read

func (*DouyinMessageGetLatestResponse) ReadField1

func (*DouyinMessageGetLatestResponse) ReadField2

func (*DouyinMessageGetLatestResponse) SetBaseResp

func (*DouyinMessageGetLatestResponse) SetLatestMsg

func (p *DouyinMessageGetLatestResponse) SetLatestMsg(val *base.LatestMsg)

func (*DouyinMessageGetLatestResponse) String

func (*DouyinMessageGetLatestResponse) Write

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

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