Versions in this module Expand all Collapse all v1 v1.0.0 Sep 7, 2023 Changes in this version + var KitexUnusedProtection = struct{} + var MessagePostRequest_ActionType_DEFAULT int64 + var Message_CreateTime_DEFAULT string + type BaseResp struct + Code int64 + Msg string + var MessageListResponse_Base_DEFAULT *BaseResp + var MessagePostReponse_Base_DEFAULT *BaseResp + func NewBaseResp() *BaseResp + func (p *BaseResp) BLength() int + func (p *BaseResp) DeepEqual(ano *BaseResp) bool + func (p *BaseResp) FastRead(buf []byte) (int, error) + func (p *BaseResp) FastReadField1(buf []byte) (int, error) + func (p *BaseResp) FastReadField2(buf []byte) (int, error) + func (p *BaseResp) FastWrite(buf []byte) int + func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *BaseResp) Field1DeepEqual(src int64) bool + func (p *BaseResp) Field2DeepEqual(src string) bool + func (p *BaseResp) GetCode() (v int64) + func (p *BaseResp) GetMsg() (v string) + func (p *BaseResp) InitDefault() + func (p *BaseResp) Read(iprot thrift.TProtocol) (err error) + func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error + func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error + func (p *BaseResp) SetCode(val int64) + func (p *BaseResp) SetMsg(val string) + func (p *BaseResp) String() string + func (p *BaseResp) Write(oprot thrift.TProtocol) (err error) + type Message struct + Content string + CreateTime *string + FromUserId int64 + Id int64 + ToUserId int64 + func NewMessage() *Message + func (p *Message) BLength() int + func (p *Message) DeepEqual(ano *Message) bool + func (p *Message) FastRead(buf []byte) (int, error) + func (p *Message) FastReadField1(buf []byte) (int, error) + func (p *Message) FastReadField2(buf []byte) (int, error) + func (p *Message) FastReadField3(buf []byte) (int, error) + func (p *Message) FastReadField4(buf []byte) (int, error) + func (p *Message) FastReadField5(buf []byte) (int, error) + func (p *Message) FastWrite(buf []byte) int + func (p *Message) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *Message) Field1DeepEqual(src int64) bool + func (p *Message) Field2DeepEqual(src int64) bool + func (p *Message) Field3DeepEqual(src int64) bool + func (p *Message) Field4DeepEqual(src string) bool + func (p *Message) Field5DeepEqual(src *string) bool + func (p *Message) GetContent() (v string) + func (p *Message) GetCreateTime() (v string) + func (p *Message) GetFromUserId() (v int64) + func (p *Message) GetId() (v int64) + func (p *Message) GetToUserId() (v int64) + func (p *Message) InitDefault() + func (p *Message) IsSetCreateTime() bool + func (p *Message) Read(iprot thrift.TProtocol) (err error) + func (p *Message) ReadField1(iprot thrift.TProtocol) error + func (p *Message) ReadField2(iprot thrift.TProtocol) error + func (p *Message) ReadField3(iprot thrift.TProtocol) error + func (p *Message) ReadField4(iprot thrift.TProtocol) error + func (p *Message) ReadField5(iprot thrift.TProtocol) error + func (p *Message) SetContent(val string) + func (p *Message) SetCreateTime(val *string) + func (p *Message) SetFromUserId(val int64) + func (p *Message) SetId(val int64) + func (p *Message) SetToUserId(val int64) + func (p *Message) String() string + func (p *Message) Write(oprot thrift.TProtocol) (err error) + type MessageListRequest struct + ToUserId int64 + Token string + var MessageServiceMessageListArgs_Req_DEFAULT *MessageListRequest + func NewMessageListRequest() *MessageListRequest + func (p *MessageListRequest) BLength() int + func (p *MessageListRequest) DeepEqual(ano *MessageListRequest) bool + func (p *MessageListRequest) FastRead(buf []byte) (int, error) + func (p *MessageListRequest) FastReadField1(buf []byte) (int, error) + func (p *MessageListRequest) FastReadField2(buf []byte) (int, error) + func (p *MessageListRequest) FastWrite(buf []byte) int + func (p *MessageListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessageListRequest) Field1DeepEqual(src string) bool + func (p *MessageListRequest) Field2DeepEqual(src int64) bool + func (p *MessageListRequest) GetToUserId() (v int64) + func (p *MessageListRequest) GetToken() (v string) + func (p *MessageListRequest) InitDefault() + func (p *MessageListRequest) Read(iprot thrift.TProtocol) (err error) + func (p *MessageListRequest) ReadField1(iprot thrift.TProtocol) error + func (p *MessageListRequest) ReadField2(iprot thrift.TProtocol) error + func (p *MessageListRequest) SetToUserId(val int64) + func (p *MessageListRequest) SetToken(val string) + func (p *MessageListRequest) String() string + func (p *MessageListRequest) Write(oprot thrift.TProtocol) (err error) + type MessageListResponse struct + Base *BaseResp + MessageList []*Message + Total int64 + var MessageServiceMessageListResult_Success_DEFAULT *MessageListResponse + func NewMessageListResponse() *MessageListResponse + func (p *MessageListResponse) BLength() int + func (p *MessageListResponse) DeepEqual(ano *MessageListResponse) bool + func (p *MessageListResponse) FastRead(buf []byte) (int, error) + func (p *MessageListResponse) FastReadField1(buf []byte) (int, error) + func (p *MessageListResponse) FastReadField2(buf []byte) (int, error) + func (p *MessageListResponse) FastReadField3(buf []byte) (int, error) + func (p *MessageListResponse) FastWrite(buf []byte) int + func (p *MessageListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessageListResponse) Field1DeepEqual(src *BaseResp) bool + func (p *MessageListResponse) Field2DeepEqual(src []*Message) bool + func (p *MessageListResponse) Field3DeepEqual(src int64) bool + func (p *MessageListResponse) GetBase() (v *BaseResp) + func (p *MessageListResponse) GetMessageList() (v []*Message) + func (p *MessageListResponse) GetTotal() (v int64) + func (p *MessageListResponse) InitDefault() + func (p *MessageListResponse) IsSetBase() bool + func (p *MessageListResponse) Read(iprot thrift.TProtocol) (err error) + func (p *MessageListResponse) ReadField1(iprot thrift.TProtocol) error + func (p *MessageListResponse) ReadField2(iprot thrift.TProtocol) error + func (p *MessageListResponse) ReadField3(iprot thrift.TProtocol) error + func (p *MessageListResponse) SetBase(val *BaseResp) + func (p *MessageListResponse) SetMessageList(val []*Message) + func (p *MessageListResponse) SetTotal(val int64) + func (p *MessageListResponse) String() string + func (p *MessageListResponse) Write(oprot thrift.TProtocol) (err error) + type MessagePostReponse struct + Base *BaseResp + var MessageServiceMessagePostResult_Success_DEFAULT *MessagePostReponse + func NewMessagePostReponse() *MessagePostReponse + func (p *MessagePostReponse) BLength() int + func (p *MessagePostReponse) DeepEqual(ano *MessagePostReponse) bool + func (p *MessagePostReponse) FastRead(buf []byte) (int, error) + func (p *MessagePostReponse) FastReadField1(buf []byte) (int, error) + func (p *MessagePostReponse) FastWrite(buf []byte) int + func (p *MessagePostReponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessagePostReponse) Field1DeepEqual(src *BaseResp) bool + func (p *MessagePostReponse) GetBase() (v *BaseResp) + func (p *MessagePostReponse) InitDefault() + func (p *MessagePostReponse) IsSetBase() bool + func (p *MessagePostReponse) Read(iprot thrift.TProtocol) (err error) + func (p *MessagePostReponse) ReadField1(iprot thrift.TProtocol) error + func (p *MessagePostReponse) SetBase(val *BaseResp) + func (p *MessagePostReponse) String() string + func (p *MessagePostReponse) Write(oprot thrift.TProtocol) (err error) + type MessagePostRequest struct + ActionType *int64 + Content string + ToUserId int64 + Token string + var MessageServiceMessagePostArgs_Req_DEFAULT *MessagePostRequest + func NewMessagePostRequest() *MessagePostRequest + func (p *MessagePostRequest) BLength() int + func (p *MessagePostRequest) DeepEqual(ano *MessagePostRequest) bool + func (p *MessagePostRequest) FastRead(buf []byte) (int, error) + func (p *MessagePostRequest) FastReadField1(buf []byte) (int, error) + func (p *MessagePostRequest) FastReadField2(buf []byte) (int, error) + func (p *MessagePostRequest) FastReadField3(buf []byte) (int, error) + func (p *MessagePostRequest) FastReadField4(buf []byte) (int, error) + func (p *MessagePostRequest) FastWrite(buf []byte) int + func (p *MessagePostRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessagePostRequest) Field1DeepEqual(src string) bool + func (p *MessagePostRequest) Field2DeepEqual(src int64) bool + func (p *MessagePostRequest) Field3DeepEqual(src string) bool + func (p *MessagePostRequest) Field4DeepEqual(src *int64) bool + func (p *MessagePostRequest) GetActionType() (v int64) + func (p *MessagePostRequest) GetContent() (v string) + func (p *MessagePostRequest) GetToUserId() (v int64) + func (p *MessagePostRequest) GetToken() (v string) + func (p *MessagePostRequest) InitDefault() + func (p *MessagePostRequest) IsSetActionType() bool + func (p *MessagePostRequest) Read(iprot thrift.TProtocol) (err error) + func (p *MessagePostRequest) ReadField1(iprot thrift.TProtocol) error + func (p *MessagePostRequest) ReadField2(iprot thrift.TProtocol) error + func (p *MessagePostRequest) ReadField3(iprot thrift.TProtocol) error + func (p *MessagePostRequest) ReadField4(iprot thrift.TProtocol) error + func (p *MessagePostRequest) SetActionType(val *int64) + func (p *MessagePostRequest) SetContent(val string) + func (p *MessagePostRequest) SetToUserId(val int64) + func (p *MessagePostRequest) SetToken(val string) + func (p *MessagePostRequest) String() string + func (p *MessagePostRequest) Write(oprot thrift.TProtocol) (err error) + type MessageService interface + MessageList func(ctx context.Context, req *MessageListRequest) (r *MessageListResponse, err error) + MessagePost func(ctx context.Context, req *MessagePostRequest) (r *MessagePostReponse, err error) + type MessageServiceClient struct + func NewMessageServiceClient(c thrift.TClient) *MessageServiceClient + func NewMessageServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MessageServiceClient + func NewMessageServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MessageServiceClient + func (p *MessageServiceClient) Client_() thrift.TClient + func (p *MessageServiceClient) MessageList(ctx context.Context, req *MessageListRequest) (r *MessageListResponse, err error) + func (p *MessageServiceClient) MessagePost(ctx context.Context, req *MessagePostRequest) (r *MessagePostReponse, err error) + type MessageServiceMessageListArgs struct + Req *MessageListRequest + func NewMessageServiceMessageListArgs() *MessageServiceMessageListArgs + func (p *MessageServiceMessageListArgs) BLength() int + func (p *MessageServiceMessageListArgs) DeepEqual(ano *MessageServiceMessageListArgs) bool + func (p *MessageServiceMessageListArgs) FastRead(buf []byte) (int, error) + func (p *MessageServiceMessageListArgs) FastReadField1(buf []byte) (int, error) + func (p *MessageServiceMessageListArgs) FastWrite(buf []byte) int + func (p *MessageServiceMessageListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessageServiceMessageListArgs) Field1DeepEqual(src *MessageListRequest) bool + func (p *MessageServiceMessageListArgs) GetFirstArgument() interface{} + func (p *MessageServiceMessageListArgs) GetReq() (v *MessageListRequest) + func (p *MessageServiceMessageListArgs) InitDefault() + func (p *MessageServiceMessageListArgs) IsSetReq() bool + func (p *MessageServiceMessageListArgs) Read(iprot thrift.TProtocol) (err error) + func (p *MessageServiceMessageListArgs) ReadField1(iprot thrift.TProtocol) error + func (p *MessageServiceMessageListArgs) SetReq(val *MessageListRequest) + func (p *MessageServiceMessageListArgs) String() string + func (p *MessageServiceMessageListArgs) Write(oprot thrift.TProtocol) (err error) + type MessageServiceMessageListResult struct + Success *MessageListResponse + func NewMessageServiceMessageListResult() *MessageServiceMessageListResult + func (p *MessageServiceMessageListResult) BLength() int + func (p *MessageServiceMessageListResult) DeepEqual(ano *MessageServiceMessageListResult) bool + func (p *MessageServiceMessageListResult) FastRead(buf []byte) (int, error) + func (p *MessageServiceMessageListResult) FastReadField0(buf []byte) (int, error) + func (p *MessageServiceMessageListResult) FastWrite(buf []byte) int + func (p *MessageServiceMessageListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessageServiceMessageListResult) Field0DeepEqual(src *MessageListResponse) bool + func (p *MessageServiceMessageListResult) GetResult() interface{} + func (p *MessageServiceMessageListResult) GetSuccess() (v *MessageListResponse) + func (p *MessageServiceMessageListResult) InitDefault() + func (p *MessageServiceMessageListResult) IsSetSuccess() bool + func (p *MessageServiceMessageListResult) Read(iprot thrift.TProtocol) (err error) + func (p *MessageServiceMessageListResult) ReadField0(iprot thrift.TProtocol) error + func (p *MessageServiceMessageListResult) SetSuccess(x interface{}) + func (p *MessageServiceMessageListResult) String() string + func (p *MessageServiceMessageListResult) Write(oprot thrift.TProtocol) (err error) + type MessageServiceMessagePostArgs struct + Req *MessagePostRequest + func NewMessageServiceMessagePostArgs() *MessageServiceMessagePostArgs + func (p *MessageServiceMessagePostArgs) BLength() int + func (p *MessageServiceMessagePostArgs) DeepEqual(ano *MessageServiceMessagePostArgs) bool + func (p *MessageServiceMessagePostArgs) FastRead(buf []byte) (int, error) + func (p *MessageServiceMessagePostArgs) FastReadField1(buf []byte) (int, error) + func (p *MessageServiceMessagePostArgs) FastWrite(buf []byte) int + func (p *MessageServiceMessagePostArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessageServiceMessagePostArgs) Field1DeepEqual(src *MessagePostRequest) bool + func (p *MessageServiceMessagePostArgs) GetFirstArgument() interface{} + func (p *MessageServiceMessagePostArgs) GetReq() (v *MessagePostRequest) + func (p *MessageServiceMessagePostArgs) InitDefault() + func (p *MessageServiceMessagePostArgs) IsSetReq() bool + func (p *MessageServiceMessagePostArgs) Read(iprot thrift.TProtocol) (err error) + func (p *MessageServiceMessagePostArgs) ReadField1(iprot thrift.TProtocol) error + func (p *MessageServiceMessagePostArgs) SetReq(val *MessagePostRequest) + func (p *MessageServiceMessagePostArgs) String() string + func (p *MessageServiceMessagePostArgs) Write(oprot thrift.TProtocol) (err error) + type MessageServiceMessagePostResult struct + Success *MessagePostReponse + func NewMessageServiceMessagePostResult() *MessageServiceMessagePostResult + func (p *MessageServiceMessagePostResult) BLength() int + func (p *MessageServiceMessagePostResult) DeepEqual(ano *MessageServiceMessagePostResult) bool + func (p *MessageServiceMessagePostResult) FastRead(buf []byte) (int, error) + func (p *MessageServiceMessagePostResult) FastReadField0(buf []byte) (int, error) + func (p *MessageServiceMessagePostResult) FastWrite(buf []byte) int + func (p *MessageServiceMessagePostResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int + func (p *MessageServiceMessagePostResult) Field0DeepEqual(src *MessagePostReponse) bool + func (p *MessageServiceMessagePostResult) GetResult() interface{} + func (p *MessageServiceMessagePostResult) GetSuccess() (v *MessagePostReponse) + func (p *MessageServiceMessagePostResult) InitDefault() + func (p *MessageServiceMessagePostResult) IsSetSuccess() bool + func (p *MessageServiceMessagePostResult) Read(iprot thrift.TProtocol) (err error) + func (p *MessageServiceMessagePostResult) ReadField0(iprot thrift.TProtocol) error + func (p *MessageServiceMessagePostResult) SetSuccess(x interface{}) + func (p *MessageServiceMessagePostResult) String() string + func (p *MessageServiceMessagePostResult) Write(oprot thrift.TProtocol) (err error) + type MessageServiceProcessor struct + func NewMessageServiceProcessor(handler MessageService) *MessageServiceProcessor + func (p *MessageServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *MessageServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *MessageServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *MessageServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction