Documentation ¶
Index ¶
- Variables
- type ChatService
- type ChatServiceBatchGetLatestMessageArgs
- func (p *ChatServiceBatchGetLatestMessageArgs) BLength() int
- func (p *ChatServiceBatchGetLatestMessageArgs) DeepEqual(ano *ChatServiceBatchGetLatestMessageArgs) bool
- func (p *ChatServiceBatchGetLatestMessageArgs) FastRead(buf []byte) (int, error)
- func (p *ChatServiceBatchGetLatestMessageArgs) FastReadField1(buf []byte) (int, error)
- func (p *ChatServiceBatchGetLatestMessageArgs) FastWrite(buf []byte) int
- func (p *ChatServiceBatchGetLatestMessageArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceBatchGetLatestMessageArgs) Field1DeepEqual(src *DouyinMessageBatchGetLatestRequest) bool
- func (p *ChatServiceBatchGetLatestMessageArgs) GetFirstArgument() interface{}
- func (p *ChatServiceBatchGetLatestMessageArgs) GetReq() (v *DouyinMessageBatchGetLatestRequest)
- func (p *ChatServiceBatchGetLatestMessageArgs) InitDefault()
- func (p *ChatServiceBatchGetLatestMessageArgs) IsSetReq() bool
- func (p *ChatServiceBatchGetLatestMessageArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceBatchGetLatestMessageArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ChatServiceBatchGetLatestMessageArgs) SetReq(val *DouyinMessageBatchGetLatestRequest)
- func (p *ChatServiceBatchGetLatestMessageArgs) String() string
- func (p *ChatServiceBatchGetLatestMessageArgs) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceBatchGetLatestMessageResult
- func (p *ChatServiceBatchGetLatestMessageResult) BLength() int
- func (p *ChatServiceBatchGetLatestMessageResult) DeepEqual(ano *ChatServiceBatchGetLatestMessageResult) bool
- func (p *ChatServiceBatchGetLatestMessageResult) FastRead(buf []byte) (int, error)
- func (p *ChatServiceBatchGetLatestMessageResult) FastReadField0(buf []byte) (int, error)
- func (p *ChatServiceBatchGetLatestMessageResult) FastWrite(buf []byte) int
- func (p *ChatServiceBatchGetLatestMessageResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceBatchGetLatestMessageResult) Field0DeepEqual(src *DouyinMessageBatchGetLatestResponse) bool
- func (p *ChatServiceBatchGetLatestMessageResult) GetResult() interface{}
- func (p *ChatServiceBatchGetLatestMessageResult) GetSuccess() (v *DouyinMessageBatchGetLatestResponse)
- func (p *ChatServiceBatchGetLatestMessageResult) InitDefault()
- func (p *ChatServiceBatchGetLatestMessageResult) IsSetSuccess() bool
- func (p *ChatServiceBatchGetLatestMessageResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceBatchGetLatestMessageResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ChatServiceBatchGetLatestMessageResult) SetSuccess(x interface{})
- func (p *ChatServiceBatchGetLatestMessageResult) String() string
- func (p *ChatServiceBatchGetLatestMessageResult) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceClient
- func (p *ChatServiceClient) BatchGetLatestMessage(ctx context.Context, req *DouyinMessageBatchGetLatestRequest) (r *DouyinMessageBatchGetLatestResponse, err error)
- func (p *ChatServiceClient) Client_() thrift.TClient
- func (p *ChatServiceClient) GetChatHistory(ctx context.Context, req *DouyinMessageGetChatHistoryRequest) (r *DouyinMessageGetChatHistoryResponse, err error)
- func (p *ChatServiceClient) GetLatestMessage(ctx context.Context, req *DouyinMessageGetLatestRequest) (r *DouyinMessageGetLatestResponse, err error)
- func (p *ChatServiceClient) SentMessage(ctx context.Context, req *DouyinMessageActionRequest) (r *DouyinMessageActionResponse, err error)
- type ChatServiceGetChatHistoryArgs
- func (p *ChatServiceGetChatHistoryArgs) BLength() int
- func (p *ChatServiceGetChatHistoryArgs) DeepEqual(ano *ChatServiceGetChatHistoryArgs) bool
- func (p *ChatServiceGetChatHistoryArgs) FastRead(buf []byte) (int, error)
- func (p *ChatServiceGetChatHistoryArgs) FastReadField1(buf []byte) (int, error)
- func (p *ChatServiceGetChatHistoryArgs) FastWrite(buf []byte) int
- func (p *ChatServiceGetChatHistoryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceGetChatHistoryArgs) Field1DeepEqual(src *DouyinMessageGetChatHistoryRequest) bool
- func (p *ChatServiceGetChatHistoryArgs) GetFirstArgument() interface{}
- func (p *ChatServiceGetChatHistoryArgs) GetReq() (v *DouyinMessageGetChatHistoryRequest)
- func (p *ChatServiceGetChatHistoryArgs) InitDefault()
- func (p *ChatServiceGetChatHistoryArgs) IsSetReq() bool
- func (p *ChatServiceGetChatHistoryArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceGetChatHistoryArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ChatServiceGetChatHistoryArgs) SetReq(val *DouyinMessageGetChatHistoryRequest)
- func (p *ChatServiceGetChatHistoryArgs) String() string
- func (p *ChatServiceGetChatHistoryArgs) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceGetChatHistoryResult
- func (p *ChatServiceGetChatHistoryResult) BLength() int
- func (p *ChatServiceGetChatHistoryResult) DeepEqual(ano *ChatServiceGetChatHistoryResult) bool
- func (p *ChatServiceGetChatHistoryResult) FastRead(buf []byte) (int, error)
- func (p *ChatServiceGetChatHistoryResult) FastReadField0(buf []byte) (int, error)
- func (p *ChatServiceGetChatHistoryResult) FastWrite(buf []byte) int
- func (p *ChatServiceGetChatHistoryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceGetChatHistoryResult) Field0DeepEqual(src *DouyinMessageGetChatHistoryResponse) bool
- func (p *ChatServiceGetChatHistoryResult) GetResult() interface{}
- func (p *ChatServiceGetChatHistoryResult) GetSuccess() (v *DouyinMessageGetChatHistoryResponse)
- func (p *ChatServiceGetChatHistoryResult) InitDefault()
- func (p *ChatServiceGetChatHistoryResult) IsSetSuccess() bool
- func (p *ChatServiceGetChatHistoryResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceGetChatHistoryResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ChatServiceGetChatHistoryResult) SetSuccess(x interface{})
- func (p *ChatServiceGetChatHistoryResult) String() string
- func (p *ChatServiceGetChatHistoryResult) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceGetLatestMessageArgs
- func (p *ChatServiceGetLatestMessageArgs) BLength() int
- func (p *ChatServiceGetLatestMessageArgs) DeepEqual(ano *ChatServiceGetLatestMessageArgs) bool
- func (p *ChatServiceGetLatestMessageArgs) FastRead(buf []byte) (int, error)
- func (p *ChatServiceGetLatestMessageArgs) FastReadField1(buf []byte) (int, error)
- func (p *ChatServiceGetLatestMessageArgs) FastWrite(buf []byte) int
- func (p *ChatServiceGetLatestMessageArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceGetLatestMessageArgs) Field1DeepEqual(src *DouyinMessageGetLatestRequest) bool
- func (p *ChatServiceGetLatestMessageArgs) GetFirstArgument() interface{}
- func (p *ChatServiceGetLatestMessageArgs) GetReq() (v *DouyinMessageGetLatestRequest)
- func (p *ChatServiceGetLatestMessageArgs) InitDefault()
- func (p *ChatServiceGetLatestMessageArgs) IsSetReq() bool
- func (p *ChatServiceGetLatestMessageArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceGetLatestMessageArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ChatServiceGetLatestMessageArgs) SetReq(val *DouyinMessageGetLatestRequest)
- func (p *ChatServiceGetLatestMessageArgs) String() string
- func (p *ChatServiceGetLatestMessageArgs) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceGetLatestMessageResult
- func (p *ChatServiceGetLatestMessageResult) BLength() int
- func (p *ChatServiceGetLatestMessageResult) DeepEqual(ano *ChatServiceGetLatestMessageResult) bool
- func (p *ChatServiceGetLatestMessageResult) FastRead(buf []byte) (int, error)
- func (p *ChatServiceGetLatestMessageResult) FastReadField0(buf []byte) (int, error)
- func (p *ChatServiceGetLatestMessageResult) FastWrite(buf []byte) int
- func (p *ChatServiceGetLatestMessageResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceGetLatestMessageResult) Field0DeepEqual(src *DouyinMessageGetLatestResponse) bool
- func (p *ChatServiceGetLatestMessageResult) GetResult() interface{}
- func (p *ChatServiceGetLatestMessageResult) GetSuccess() (v *DouyinMessageGetLatestResponse)
- func (p *ChatServiceGetLatestMessageResult) InitDefault()
- func (p *ChatServiceGetLatestMessageResult) IsSetSuccess() bool
- func (p *ChatServiceGetLatestMessageResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceGetLatestMessageResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ChatServiceGetLatestMessageResult) SetSuccess(x interface{})
- func (p *ChatServiceGetLatestMessageResult) String() string
- func (p *ChatServiceGetLatestMessageResult) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceProcessor
- func (p *ChatServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *ChatServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *ChatServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *ChatServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type ChatServiceSentMessageArgs
- func (p *ChatServiceSentMessageArgs) BLength() int
- func (p *ChatServiceSentMessageArgs) DeepEqual(ano *ChatServiceSentMessageArgs) bool
- func (p *ChatServiceSentMessageArgs) FastRead(buf []byte) (int, error)
- func (p *ChatServiceSentMessageArgs) FastReadField1(buf []byte) (int, error)
- func (p *ChatServiceSentMessageArgs) FastWrite(buf []byte) int
- func (p *ChatServiceSentMessageArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceSentMessageArgs) Field1DeepEqual(src *DouyinMessageActionRequest) bool
- func (p *ChatServiceSentMessageArgs) GetFirstArgument() interface{}
- func (p *ChatServiceSentMessageArgs) GetReq() (v *DouyinMessageActionRequest)
- func (p *ChatServiceSentMessageArgs) InitDefault()
- func (p *ChatServiceSentMessageArgs) IsSetReq() bool
- func (p *ChatServiceSentMessageArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceSentMessageArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ChatServiceSentMessageArgs) SetReq(val *DouyinMessageActionRequest)
- func (p *ChatServiceSentMessageArgs) String() string
- func (p *ChatServiceSentMessageArgs) Write(oprot thrift.TProtocol) (err error)
- type ChatServiceSentMessageResult
- func (p *ChatServiceSentMessageResult) BLength() int
- func (p *ChatServiceSentMessageResult) DeepEqual(ano *ChatServiceSentMessageResult) bool
- func (p *ChatServiceSentMessageResult) FastRead(buf []byte) (int, error)
- func (p *ChatServiceSentMessageResult) FastReadField0(buf []byte) (int, error)
- func (p *ChatServiceSentMessageResult) FastWrite(buf []byte) int
- func (p *ChatServiceSentMessageResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChatServiceSentMessageResult) Field0DeepEqual(src *DouyinMessageActionResponse) bool
- func (p *ChatServiceSentMessageResult) GetResult() interface{}
- func (p *ChatServiceSentMessageResult) GetSuccess() (v *DouyinMessageActionResponse)
- func (p *ChatServiceSentMessageResult) InitDefault()
- func (p *ChatServiceSentMessageResult) IsSetSuccess() bool
- func (p *ChatServiceSentMessageResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatServiceSentMessageResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ChatServiceSentMessageResult) SetSuccess(x interface{})
- func (p *ChatServiceSentMessageResult) String() string
- func (p *ChatServiceSentMessageResult) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageActionRequest
- func (p *DouyinMessageActionRequest) BLength() int
- func (p *DouyinMessageActionRequest) DeepEqual(ano *DouyinMessageActionRequest) bool
- func (p *DouyinMessageActionRequest) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *DouyinMessageActionRequest) FastReadField4(buf []byte) (int, error)
- func (p *DouyinMessageActionRequest) FastWrite(buf []byte) int
- func (p *DouyinMessageActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageActionRequest) Field1DeepEqual(src int64) bool
- func (p *DouyinMessageActionRequest) Field2DeepEqual(src int64) bool
- func (p *DouyinMessageActionRequest) Field3DeepEqual(src int8) bool
- func (p *DouyinMessageActionRequest) Field4DeepEqual(src string) bool
- func (p *DouyinMessageActionRequest) GetActionType() (v int8)
- func (p *DouyinMessageActionRequest) GetContent() (v string)
- func (p *DouyinMessageActionRequest) GetToUserId() (v int64)
- func (p *DouyinMessageActionRequest) GetUserId() (v int64)
- func (p *DouyinMessageActionRequest) InitDefault()
- func (p *DouyinMessageActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *DouyinMessageActionRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *DouyinMessageActionRequest) SetActionType(val int8)
- func (p *DouyinMessageActionRequest) SetContent(val string)
- func (p *DouyinMessageActionRequest) SetToUserId(val int64)
- func (p *DouyinMessageActionRequest) SetUserId(val int64)
- func (p *DouyinMessageActionRequest) String() string
- func (p *DouyinMessageActionRequest) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageActionResponse
- func (p *DouyinMessageActionResponse) BLength() int
- func (p *DouyinMessageActionResponse) DeepEqual(ano *DouyinMessageActionResponse) bool
- func (p *DouyinMessageActionResponse) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageActionResponse) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageActionResponse) FastWrite(buf []byte) int
- func (p *DouyinMessageActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageActionResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
- func (p *DouyinMessageActionResponse) GetBaseResp() (v *base.DouyinBaseResponse)
- func (p *DouyinMessageActionResponse) InitDefault()
- func (p *DouyinMessageActionResponse) IsSetBaseResp() bool
- func (p *DouyinMessageActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageActionResponse) SetBaseResp(val *base.DouyinBaseResponse)
- func (p *DouyinMessageActionResponse) String() string
- func (p *DouyinMessageActionResponse) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageBatchGetLatestRequest
- func (p *DouyinMessageBatchGetLatestRequest) BLength() int
- func (p *DouyinMessageBatchGetLatestRequest) DeepEqual(ano *DouyinMessageBatchGetLatestRequest) bool
- func (p *DouyinMessageBatchGetLatestRequest) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestRequest) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestRequest) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestRequest) FastReadField3(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestRequest) FastWrite(buf []byte) int
- func (p *DouyinMessageBatchGetLatestRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageBatchGetLatestRequest) Field1DeepEqual(src int64) bool
- func (p *DouyinMessageBatchGetLatestRequest) Field2DeepEqual(src []int64) bool
- func (p *DouyinMessageBatchGetLatestRequest) Field3DeepEqual(src []int64) bool
- func (p *DouyinMessageBatchGetLatestRequest) GetPreMsgTime() (v []int64)
- func (p *DouyinMessageBatchGetLatestRequest) GetToUserIdList() (v []int64)
- func (p *DouyinMessageBatchGetLatestRequest) GetUserId() (v int64)
- func (p *DouyinMessageBatchGetLatestRequest) InitDefault()
- func (p *DouyinMessageBatchGetLatestRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageBatchGetLatestRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageBatchGetLatestRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageBatchGetLatestRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *DouyinMessageBatchGetLatestRequest) SetPreMsgTime(val []int64)
- func (p *DouyinMessageBatchGetLatestRequest) SetToUserIdList(val []int64)
- func (p *DouyinMessageBatchGetLatestRequest) SetUserId(val int64)
- func (p *DouyinMessageBatchGetLatestRequest) String() string
- func (p *DouyinMessageBatchGetLatestRequest) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageBatchGetLatestResponse
- func (p *DouyinMessageBatchGetLatestResponse) BLength() int
- func (p *DouyinMessageBatchGetLatestResponse) DeepEqual(ano *DouyinMessageBatchGetLatestResponse) bool
- func (p *DouyinMessageBatchGetLatestResponse) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestResponse) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestResponse) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageBatchGetLatestResponse) FastWrite(buf []byte) int
- func (p *DouyinMessageBatchGetLatestResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageBatchGetLatestResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
- func (p *DouyinMessageBatchGetLatestResponse) Field2DeepEqual(src []*base.LatestMsg) bool
- func (p *DouyinMessageBatchGetLatestResponse) GetBaseResp() (v *base.DouyinBaseResponse)
- func (p *DouyinMessageBatchGetLatestResponse) GetLatestMsgList() (v []*base.LatestMsg)
- func (p *DouyinMessageBatchGetLatestResponse) InitDefault()
- func (p *DouyinMessageBatchGetLatestResponse) IsSetBaseResp() bool
- func (p *DouyinMessageBatchGetLatestResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageBatchGetLatestResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageBatchGetLatestResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageBatchGetLatestResponse) SetBaseResp(val *base.DouyinBaseResponse)
- func (p *DouyinMessageBatchGetLatestResponse) SetLatestMsgList(val []*base.LatestMsg)
- func (p *DouyinMessageBatchGetLatestResponse) String() string
- func (p *DouyinMessageBatchGetLatestResponse) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageGetChatHistoryRequest
- func (p *DouyinMessageGetChatHistoryRequest) BLength() int
- func (p *DouyinMessageGetChatHistoryRequest) DeepEqual(ano *DouyinMessageGetChatHistoryRequest) bool
- func (p *DouyinMessageGetChatHistoryRequest) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryRequest) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryRequest) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryRequest) FastReadField3(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryRequest) FastWrite(buf []byte) int
- func (p *DouyinMessageGetChatHistoryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageGetChatHistoryRequest) Field1DeepEqual(src int64) bool
- func (p *DouyinMessageGetChatHistoryRequest) Field2DeepEqual(src int64) bool
- func (p *DouyinMessageGetChatHistoryRequest) Field3DeepEqual(src int64) bool
- func (p *DouyinMessageGetChatHistoryRequest) GetPreMsgTime() (v int64)
- func (p *DouyinMessageGetChatHistoryRequest) GetToUserId() (v int64)
- func (p *DouyinMessageGetChatHistoryRequest) GetUserId() (v int64)
- func (p *DouyinMessageGetChatHistoryRequest) InitDefault()
- func (p *DouyinMessageGetChatHistoryRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageGetChatHistoryRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetChatHistoryRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetChatHistoryRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetChatHistoryRequest) SetPreMsgTime(val int64)
- func (p *DouyinMessageGetChatHistoryRequest) SetToUserId(val int64)
- func (p *DouyinMessageGetChatHistoryRequest) SetUserId(val int64)
- func (p *DouyinMessageGetChatHistoryRequest) String() string
- func (p *DouyinMessageGetChatHistoryRequest) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageGetChatHistoryResponse
- func (p *DouyinMessageGetChatHistoryResponse) BLength() int
- func (p *DouyinMessageGetChatHistoryResponse) DeepEqual(ano *DouyinMessageGetChatHistoryResponse) bool
- func (p *DouyinMessageGetChatHistoryResponse) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryResponse) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryResponse) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageGetChatHistoryResponse) FastWrite(buf []byte) int
- func (p *DouyinMessageGetChatHistoryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageGetChatHistoryResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
- func (p *DouyinMessageGetChatHistoryResponse) Field2DeepEqual(src []*base.Message) bool
- func (p *DouyinMessageGetChatHistoryResponse) GetBaseResp() (v *base.DouyinBaseResponse)
- func (p *DouyinMessageGetChatHistoryResponse) GetMessageList() (v []*base.Message)
- func (p *DouyinMessageGetChatHistoryResponse) InitDefault()
- func (p *DouyinMessageGetChatHistoryResponse) IsSetBaseResp() bool
- func (p *DouyinMessageGetChatHistoryResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageGetChatHistoryResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetChatHistoryResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetChatHistoryResponse) SetBaseResp(val *base.DouyinBaseResponse)
- func (p *DouyinMessageGetChatHistoryResponse) SetMessageList(val []*base.Message)
- func (p *DouyinMessageGetChatHistoryResponse) String() string
- func (p *DouyinMessageGetChatHistoryResponse) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageGetLatestRequest
- func (p *DouyinMessageGetLatestRequest) BLength() int
- func (p *DouyinMessageGetLatestRequest) DeepEqual(ano *DouyinMessageGetLatestRequest) bool
- func (p *DouyinMessageGetLatestRequest) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageGetLatestRequest) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageGetLatestRequest) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageGetLatestRequest) FastWrite(buf []byte) int
- func (p *DouyinMessageGetLatestRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageGetLatestRequest) Field1DeepEqual(src int64) bool
- func (p *DouyinMessageGetLatestRequest) Field2DeepEqual(src int64) bool
- func (p *DouyinMessageGetLatestRequest) GetToUserId() (v int64)
- func (p *DouyinMessageGetLatestRequest) GetUserId() (v int64)
- func (p *DouyinMessageGetLatestRequest) InitDefault()
- func (p *DouyinMessageGetLatestRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageGetLatestRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetLatestRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetLatestRequest) SetToUserId(val int64)
- func (p *DouyinMessageGetLatestRequest) SetUserId(val int64)
- func (p *DouyinMessageGetLatestRequest) String() string
- func (p *DouyinMessageGetLatestRequest) Write(oprot thrift.TProtocol) (err error)
- type DouyinMessageGetLatestResponse
- func (p *DouyinMessageGetLatestResponse) BLength() int
- func (p *DouyinMessageGetLatestResponse) DeepEqual(ano *DouyinMessageGetLatestResponse) bool
- func (p *DouyinMessageGetLatestResponse) FastRead(buf []byte) (int, error)
- func (p *DouyinMessageGetLatestResponse) FastReadField1(buf []byte) (int, error)
- func (p *DouyinMessageGetLatestResponse) FastReadField2(buf []byte) (int, error)
- func (p *DouyinMessageGetLatestResponse) FastWrite(buf []byte) int
- func (p *DouyinMessageGetLatestResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DouyinMessageGetLatestResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
- func (p *DouyinMessageGetLatestResponse) Field2DeepEqual(src *base.LatestMsg) bool
- func (p *DouyinMessageGetLatestResponse) GetBaseResp() (v *base.DouyinBaseResponse)
- func (p *DouyinMessageGetLatestResponse) GetLatestMsg() (v *base.LatestMsg)
- func (p *DouyinMessageGetLatestResponse) InitDefault()
- func (p *DouyinMessageGetLatestResponse) IsSetBaseResp() bool
- func (p *DouyinMessageGetLatestResponse) IsSetLatestMsg() bool
- func (p *DouyinMessageGetLatestResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinMessageGetLatestResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetLatestResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinMessageGetLatestResponse) SetBaseResp(val *base.DouyinBaseResponse)
- func (p *DouyinMessageGetLatestResponse) SetLatestMsg(val *base.LatestMsg)
- func (p *DouyinMessageGetLatestResponse) String() string
- func (p *DouyinMessageGetLatestResponse) Write(oprot thrift.TProtocol) (err error)
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 ChatService ¶
type ChatService interface { GetChatHistory(ctx context.Context, req *DouyinMessageGetChatHistoryRequest) (r *DouyinMessageGetChatHistoryResponse, err error) SentMessage(ctx context.Context, req *DouyinMessageActionRequest) (r *DouyinMessageActionResponse, err error) GetLatestMessage(ctx context.Context, req *DouyinMessageGetLatestRequest) (r *DouyinMessageGetLatestResponse, err error) BatchGetLatestMessage(ctx context.Context, req *DouyinMessageBatchGetLatestRequest) (r *DouyinMessageBatchGetLatestResponse, err error) }
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 (p *ChatServiceBatchGetLatestMessageArgs) BLength() int
func (*ChatServiceBatchGetLatestMessageArgs) DeepEqual ¶
func (p *ChatServiceBatchGetLatestMessageArgs) DeepEqual(ano *ChatServiceBatchGetLatestMessageArgs) bool
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 (p *ChatServiceBatchGetLatestMessageArgs) Field1DeepEqual(src *DouyinMessageBatchGetLatestRequest) bool
func (*ChatServiceBatchGetLatestMessageArgs) GetFirstArgument ¶
func (p *ChatServiceBatchGetLatestMessageArgs) GetFirstArgument() interface{}
func (*ChatServiceBatchGetLatestMessageArgs) GetReq ¶
func (p *ChatServiceBatchGetLatestMessageArgs) GetReq() (v *DouyinMessageBatchGetLatestRequest)
func (*ChatServiceBatchGetLatestMessageArgs) InitDefault ¶
func (p *ChatServiceBatchGetLatestMessageArgs) InitDefault()
func (*ChatServiceBatchGetLatestMessageArgs) IsSetReq ¶
func (p *ChatServiceBatchGetLatestMessageArgs) IsSetReq() bool
func (*ChatServiceBatchGetLatestMessageArgs) Read ¶
func (p *ChatServiceBatchGetLatestMessageArgs) Read(iprot thrift.TProtocol) (err error)
func (*ChatServiceBatchGetLatestMessageArgs) ReadField1 ¶
func (p *ChatServiceBatchGetLatestMessageArgs) ReadField1(iprot thrift.TProtocol) error
func (*ChatServiceBatchGetLatestMessageArgs) SetReq ¶
func (p *ChatServiceBatchGetLatestMessageArgs) SetReq(val *DouyinMessageBatchGetLatestRequest)
func (*ChatServiceBatchGetLatestMessageArgs) String ¶
func (p *ChatServiceBatchGetLatestMessageArgs) String() string
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 (p *ChatServiceBatchGetLatestMessageResult) BLength() int
func (*ChatServiceBatchGetLatestMessageResult) DeepEqual ¶
func (p *ChatServiceBatchGetLatestMessageResult) DeepEqual(ano *ChatServiceBatchGetLatestMessageResult) bool
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 (p *ChatServiceBatchGetLatestMessageResult) Field0DeepEqual(src *DouyinMessageBatchGetLatestResponse) bool
func (*ChatServiceBatchGetLatestMessageResult) GetResult ¶
func (p *ChatServiceBatchGetLatestMessageResult) GetResult() interface{}
func (*ChatServiceBatchGetLatestMessageResult) GetSuccess ¶
func (p *ChatServiceBatchGetLatestMessageResult) GetSuccess() (v *DouyinMessageBatchGetLatestResponse)
func (*ChatServiceBatchGetLatestMessageResult) InitDefault ¶
func (p *ChatServiceBatchGetLatestMessageResult) InitDefault()
func (*ChatServiceBatchGetLatestMessageResult) IsSetSuccess ¶
func (p *ChatServiceBatchGetLatestMessageResult) IsSetSuccess() bool
func (*ChatServiceBatchGetLatestMessageResult) Read ¶
func (p *ChatServiceBatchGetLatestMessageResult) Read(iprot thrift.TProtocol) (err error)
func (*ChatServiceBatchGetLatestMessageResult) ReadField0 ¶
func (p *ChatServiceBatchGetLatestMessageResult) ReadField0(iprot thrift.TProtocol) error
func (*ChatServiceBatchGetLatestMessageResult) SetSuccess ¶
func (p *ChatServiceBatchGetLatestMessageResult) SetSuccess(x interface{})
func (*ChatServiceBatchGetLatestMessageResult) String ¶
func (p *ChatServiceBatchGetLatestMessageResult) String() string
type ChatServiceClient ¶
type ChatServiceClient struct {
// contains filtered or unexported fields
}
func NewChatServiceClient ¶
func NewChatServiceClient(c thrift.TClient) *ChatServiceClient
func NewChatServiceClientFactory ¶
func NewChatServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ChatServiceClient
func NewChatServiceClientProtocol ¶
func NewChatServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ChatServiceClient
func (*ChatServiceClient) BatchGetLatestMessage ¶
func (p *ChatServiceClient) BatchGetLatestMessage(ctx context.Context, req *DouyinMessageBatchGetLatestRequest) (r *DouyinMessageBatchGetLatestResponse, err error)
func (*ChatServiceClient) Client_ ¶
func (p *ChatServiceClient) Client_() thrift.TClient
func (*ChatServiceClient) GetChatHistory ¶
func (p *ChatServiceClient) GetChatHistory(ctx context.Context, req *DouyinMessageGetChatHistoryRequest) (r *DouyinMessageGetChatHistoryResponse, err error)
func (*ChatServiceClient) GetLatestMessage ¶
func (p *ChatServiceClient) GetLatestMessage(ctx context.Context, req *DouyinMessageGetLatestRequest) (r *DouyinMessageGetLatestResponse, err error)
func (*ChatServiceClient) SentMessage ¶
func (p *ChatServiceClient) SentMessage(ctx context.Context, req *DouyinMessageActionRequest) (r *DouyinMessageActionResponse, err error)
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 (p *ChatServiceGetChatHistoryArgs) DeepEqual(ano *ChatServiceGetChatHistoryArgs) bool
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 (p *ChatServiceGetChatHistoryArgs) Field1DeepEqual(src *DouyinMessageGetChatHistoryRequest) bool
func (*ChatServiceGetChatHistoryArgs) GetFirstArgument ¶
func (p *ChatServiceGetChatHistoryArgs) GetFirstArgument() interface{}
func (*ChatServiceGetChatHistoryArgs) GetReq ¶
func (p *ChatServiceGetChatHistoryArgs) GetReq() (v *DouyinMessageGetChatHistoryRequest)
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 (p *ChatServiceGetChatHistoryArgs) SetReq(val *DouyinMessageGetChatHistoryRequest)
func (*ChatServiceGetChatHistoryArgs) String ¶
func (p *ChatServiceGetChatHistoryArgs) String() string
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 (p *ChatServiceGetChatHistoryResult) DeepEqual(ano *ChatServiceGetChatHistoryResult) bool
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 (p *ChatServiceGetChatHistoryResult) Field0DeepEqual(src *DouyinMessageGetChatHistoryResponse) bool
func (*ChatServiceGetChatHistoryResult) GetResult ¶
func (p *ChatServiceGetChatHistoryResult) GetResult() interface{}
func (*ChatServiceGetChatHistoryResult) GetSuccess ¶
func (p *ChatServiceGetChatHistoryResult) GetSuccess() (v *DouyinMessageGetChatHistoryResponse)
func (*ChatServiceGetChatHistoryResult) InitDefault ¶
func (p *ChatServiceGetChatHistoryResult) InitDefault()
func (*ChatServiceGetChatHistoryResult) IsSetSuccess ¶
func (p *ChatServiceGetChatHistoryResult) IsSetSuccess() bool
func (*ChatServiceGetChatHistoryResult) Read ¶
func (p *ChatServiceGetChatHistoryResult) Read(iprot thrift.TProtocol) (err error)
func (*ChatServiceGetChatHistoryResult) ReadField0 ¶
func (p *ChatServiceGetChatHistoryResult) ReadField0(iprot thrift.TProtocol) error
func (*ChatServiceGetChatHistoryResult) SetSuccess ¶
func (p *ChatServiceGetChatHistoryResult) SetSuccess(x interface{})
func (*ChatServiceGetChatHistoryResult) String ¶
func (p *ChatServiceGetChatHistoryResult) String() string
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 (p *ChatServiceGetLatestMessageArgs) DeepEqual(ano *ChatServiceGetLatestMessageArgs) bool
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 (p *ChatServiceGetLatestMessageArgs) Field1DeepEqual(src *DouyinMessageGetLatestRequest) bool
func (*ChatServiceGetLatestMessageArgs) GetFirstArgument ¶
func (p *ChatServiceGetLatestMessageArgs) GetFirstArgument() interface{}
func (*ChatServiceGetLatestMessageArgs) GetReq ¶
func (p *ChatServiceGetLatestMessageArgs) GetReq() (v *DouyinMessageGetLatestRequest)
func (*ChatServiceGetLatestMessageArgs) InitDefault ¶
func (p *ChatServiceGetLatestMessageArgs) InitDefault()
func (*ChatServiceGetLatestMessageArgs) IsSetReq ¶
func (p *ChatServiceGetLatestMessageArgs) IsSetReq() bool
func (*ChatServiceGetLatestMessageArgs) Read ¶
func (p *ChatServiceGetLatestMessageArgs) Read(iprot thrift.TProtocol) (err error)
func (*ChatServiceGetLatestMessageArgs) ReadField1 ¶
func (p *ChatServiceGetLatestMessageArgs) ReadField1(iprot thrift.TProtocol) error
func (*ChatServiceGetLatestMessageArgs) SetReq ¶
func (p *ChatServiceGetLatestMessageArgs) SetReq(val *DouyinMessageGetLatestRequest)
func (*ChatServiceGetLatestMessageArgs) String ¶
func (p *ChatServiceGetLatestMessageArgs) String() string
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 (p *ChatServiceGetLatestMessageResult) BLength() int
func (*ChatServiceGetLatestMessageResult) DeepEqual ¶
func (p *ChatServiceGetLatestMessageResult) DeepEqual(ano *ChatServiceGetLatestMessageResult) bool
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 (p *ChatServiceGetLatestMessageResult) Field0DeepEqual(src *DouyinMessageGetLatestResponse) bool
func (*ChatServiceGetLatestMessageResult) GetResult ¶
func (p *ChatServiceGetLatestMessageResult) GetResult() interface{}
func (*ChatServiceGetLatestMessageResult) GetSuccess ¶
func (p *ChatServiceGetLatestMessageResult) GetSuccess() (v *DouyinMessageGetLatestResponse)
func (*ChatServiceGetLatestMessageResult) InitDefault ¶
func (p *ChatServiceGetLatestMessageResult) InitDefault()
func (*ChatServiceGetLatestMessageResult) IsSetSuccess ¶
func (p *ChatServiceGetLatestMessageResult) IsSetSuccess() bool
func (*ChatServiceGetLatestMessageResult) Read ¶
func (p *ChatServiceGetLatestMessageResult) Read(iprot thrift.TProtocol) (err error)
func (*ChatServiceGetLatestMessageResult) ReadField0 ¶
func (p *ChatServiceGetLatestMessageResult) ReadField0(iprot thrift.TProtocol) error
func (*ChatServiceGetLatestMessageResult) SetSuccess ¶
func (p *ChatServiceGetLatestMessageResult) SetSuccess(x interface{})
func (*ChatServiceGetLatestMessageResult) String ¶
func (p *ChatServiceGetLatestMessageResult) String() string
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 (p *ChatServiceSentMessageArgs) DeepEqual(ano *ChatServiceSentMessageArgs) bool
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 (p *ChatServiceSentMessageArgs) Field1DeepEqual(src *DouyinMessageActionRequest) bool
func (*ChatServiceSentMessageArgs) GetFirstArgument ¶
func (p *ChatServiceSentMessageArgs) GetFirstArgument() interface{}
func (*ChatServiceSentMessageArgs) GetReq ¶
func (p *ChatServiceSentMessageArgs) GetReq() (v *DouyinMessageActionRequest)
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 (p *ChatServiceSentMessageArgs) SetReq(val *DouyinMessageActionRequest)
func (*ChatServiceSentMessageArgs) String ¶
func (p *ChatServiceSentMessageArgs) String() string
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 (p *ChatServiceSentMessageResult) DeepEqual(ano *ChatServiceSentMessageResult) bool
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 (p *ChatServiceSentMessageResult) Field0DeepEqual(src *DouyinMessageActionResponse) bool
func (*ChatServiceSentMessageResult) GetResult ¶
func (p *ChatServiceSentMessageResult) GetResult() interface{}
func (*ChatServiceSentMessageResult) GetSuccess ¶
func (p *ChatServiceSentMessageResult) GetSuccess() (v *DouyinMessageActionResponse)
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 (p *ChatServiceSentMessageResult) String() string
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 (p *DouyinMessageActionRequest) DeepEqual(ano *DouyinMessageActionRequest) bool
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
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 (p *DouyinMessageActionResponse) DeepEqual(ano *DouyinMessageActionResponse) bool
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 (p *DouyinMessageActionResponse) SetBaseResp(val *base.DouyinBaseResponse)
func (*DouyinMessageActionResponse) String ¶
func (p *DouyinMessageActionResponse) String() string
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 (p *DouyinMessageBatchGetLatestRequest) BLength() int
func (*DouyinMessageBatchGetLatestRequest) DeepEqual ¶
func (p *DouyinMessageBatchGetLatestRequest) DeepEqual(ano *DouyinMessageBatchGetLatestRequest) bool
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 (p *DouyinMessageBatchGetLatestRequest) Read(iprot thrift.TProtocol) (err error)
func (*DouyinMessageBatchGetLatestRequest) ReadField1 ¶
func (p *DouyinMessageBatchGetLatestRequest) ReadField1(iprot thrift.TProtocol) error
func (*DouyinMessageBatchGetLatestRequest) ReadField2 ¶
func (p *DouyinMessageBatchGetLatestRequest) ReadField2(iprot thrift.TProtocol) error
func (*DouyinMessageBatchGetLatestRequest) ReadField3 ¶
func (p *DouyinMessageBatchGetLatestRequest) ReadField3(iprot thrift.TProtocol) error
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 (p *DouyinMessageBatchGetLatestRequest) String() string
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 (p *DouyinMessageBatchGetLatestResponse) BLength() int
func (*DouyinMessageBatchGetLatestResponse) DeepEqual ¶
func (p *DouyinMessageBatchGetLatestResponse) DeepEqual(ano *DouyinMessageBatchGetLatestResponse) bool
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 (p *DouyinMessageBatchGetLatestResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
func (*DouyinMessageBatchGetLatestResponse) Field2DeepEqual ¶
func (p *DouyinMessageBatchGetLatestResponse) Field2DeepEqual(src []*base.LatestMsg) bool
func (*DouyinMessageBatchGetLatestResponse) GetBaseResp ¶
func (p *DouyinMessageBatchGetLatestResponse) GetBaseResp() (v *base.DouyinBaseResponse)
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 (p *DouyinMessageBatchGetLatestResponse) Read(iprot thrift.TProtocol) (err error)
func (*DouyinMessageBatchGetLatestResponse) ReadField1 ¶
func (p *DouyinMessageBatchGetLatestResponse) ReadField1(iprot thrift.TProtocol) error
func (*DouyinMessageBatchGetLatestResponse) ReadField2 ¶
func (p *DouyinMessageBatchGetLatestResponse) ReadField2(iprot thrift.TProtocol) error
func (*DouyinMessageBatchGetLatestResponse) SetBaseResp ¶
func (p *DouyinMessageBatchGetLatestResponse) SetBaseResp(val *base.DouyinBaseResponse)
func (*DouyinMessageBatchGetLatestResponse) SetLatestMsgList ¶
func (p *DouyinMessageBatchGetLatestResponse) SetLatestMsgList(val []*base.LatestMsg)
func (*DouyinMessageBatchGetLatestResponse) String ¶
func (p *DouyinMessageBatchGetLatestResponse) String() string
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 (p *DouyinMessageGetChatHistoryRequest) BLength() int
func (*DouyinMessageGetChatHistoryRequest) DeepEqual ¶
func (p *DouyinMessageGetChatHistoryRequest) DeepEqual(ano *DouyinMessageGetChatHistoryRequest) bool
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 (p *DouyinMessageGetChatHistoryRequest) Read(iprot thrift.TProtocol) (err error)
func (*DouyinMessageGetChatHistoryRequest) ReadField1 ¶
func (p *DouyinMessageGetChatHistoryRequest) ReadField1(iprot thrift.TProtocol) error
func (*DouyinMessageGetChatHistoryRequest) ReadField2 ¶
func (p *DouyinMessageGetChatHistoryRequest) ReadField2(iprot thrift.TProtocol) error
func (*DouyinMessageGetChatHistoryRequest) ReadField3 ¶
func (p *DouyinMessageGetChatHistoryRequest) ReadField3(iprot thrift.TProtocol) error
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 (p *DouyinMessageGetChatHistoryRequest) String() string
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 (p *DouyinMessageGetChatHistoryResponse) BLength() int
func (*DouyinMessageGetChatHistoryResponse) DeepEqual ¶
func (p *DouyinMessageGetChatHistoryResponse) DeepEqual(ano *DouyinMessageGetChatHistoryResponse) bool
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 (p *DouyinMessageGetChatHistoryResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
func (*DouyinMessageGetChatHistoryResponse) Field2DeepEqual ¶
func (p *DouyinMessageGetChatHistoryResponse) Field2DeepEqual(src []*base.Message) bool
func (*DouyinMessageGetChatHistoryResponse) GetBaseResp ¶
func (p *DouyinMessageGetChatHistoryResponse) GetBaseResp() (v *base.DouyinBaseResponse)
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 (p *DouyinMessageGetChatHistoryResponse) Read(iprot thrift.TProtocol) (err error)
func (*DouyinMessageGetChatHistoryResponse) ReadField1 ¶
func (p *DouyinMessageGetChatHistoryResponse) ReadField1(iprot thrift.TProtocol) error
func (*DouyinMessageGetChatHistoryResponse) ReadField2 ¶
func (p *DouyinMessageGetChatHistoryResponse) ReadField2(iprot thrift.TProtocol) error
func (*DouyinMessageGetChatHistoryResponse) SetBaseResp ¶
func (p *DouyinMessageGetChatHistoryResponse) SetBaseResp(val *base.DouyinBaseResponse)
func (*DouyinMessageGetChatHistoryResponse) SetMessageList ¶
func (p *DouyinMessageGetChatHistoryResponse) SetMessageList(val []*base.Message)
func (*DouyinMessageGetChatHistoryResponse) String ¶
func (p *DouyinMessageGetChatHistoryResponse) String() string
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 (p *DouyinMessageGetLatestRequest) DeepEqual(ano *DouyinMessageGetLatestRequest) bool
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 (p *DouyinMessageGetLatestRequest) String() string
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 (p *DouyinMessageGetLatestResponse) DeepEqual(ano *DouyinMessageGetLatestResponse) bool
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 (p *DouyinMessageGetLatestResponse) Field1DeepEqual(src *base.DouyinBaseResponse) bool
func (*DouyinMessageGetLatestResponse) Field2DeepEqual ¶
func (p *DouyinMessageGetLatestResponse) Field2DeepEqual(src *base.LatestMsg) bool
func (*DouyinMessageGetLatestResponse) GetBaseResp ¶
func (p *DouyinMessageGetLatestResponse) GetBaseResp() (v *base.DouyinBaseResponse)
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 (p *DouyinMessageGetLatestResponse) Read(iprot thrift.TProtocol) (err error)
func (*DouyinMessageGetLatestResponse) ReadField1 ¶
func (p *DouyinMessageGetLatestResponse) ReadField1(iprot thrift.TProtocol) error
func (*DouyinMessageGetLatestResponse) ReadField2 ¶
func (p *DouyinMessageGetLatestResponse) ReadField2(iprot thrift.TProtocol) error
func (*DouyinMessageGetLatestResponse) SetBaseResp ¶
func (p *DouyinMessageGetLatestResponse) SetBaseResp(val *base.DouyinBaseResponse)
func (*DouyinMessageGetLatestResponse) SetLatestMsg ¶
func (p *DouyinMessageGetLatestResponse) SetLatestMsg(val *base.LatestMsg)
func (*DouyinMessageGetLatestResponse) String ¶
func (p *DouyinMessageGetLatestResponse) String() string
Click to show internal directories.
Click to hide internal directories.