chat

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var MessagePostRequest_ActionType_DEFAULT int64
View Source
var Message_CreateTime_DEFAULT string

Functions

This section is empty.

Types

type BaseResp

type BaseResp struct {
	Code int64  `thrift:"code,1" frugal:"1,default,i64" json:"code"`
	Msg  string `thrift:"msg,2" frugal:"2,default,string" json:"msg"`
}
var MessageListResponse_Base_DEFAULT *BaseResp
var MessagePostReponse_Base_DEFAULT *BaseResp

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

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

func (*BaseResp) FastRead

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

func (*BaseResp) FastReadField1

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

func (*BaseResp) FastReadField2

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

func (*BaseResp) FastWrite

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

for compatibility

func (*BaseResp) FastWriteNocopy

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

func (*BaseResp) Field1DeepEqual

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

func (*BaseResp) Field2DeepEqual

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

func (*BaseResp) GetCode

func (p *BaseResp) GetCode() (v int64)

func (*BaseResp) GetMsg

func (p *BaseResp) GetMsg() (v string)

func (*BaseResp) InitDefault

func (p *BaseResp) InitDefault()

func (*BaseResp) Read

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

func (*BaseResp) ReadField1

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

func (*BaseResp) ReadField2

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

func (*BaseResp) SetCode

func (p *BaseResp) SetCode(val int64)

func (*BaseResp) SetMsg

func (p *BaseResp) SetMsg(val string)

func (*BaseResp) String

func (p *BaseResp) String() string

func (*BaseResp) Write

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

type Message

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

func NewMessage

func NewMessage() *Message

func (*Message) BLength

func (p *Message) BLength() int

func (*Message) DeepEqual

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

func (*Message) FastRead

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

func (*Message) FastReadField1

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

func (*Message) FastReadField2

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

func (*Message) FastReadField3

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

func (*Message) FastReadField4

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

func (*Message) FastReadField5

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

func (*Message) FastWrite

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

for compatibility

func (*Message) FastWriteNocopy

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

func (*Message) Field1DeepEqual

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

func (*Message) Field2DeepEqual

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

func (*Message) Field3DeepEqual

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

func (*Message) Field4DeepEqual

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

func (*Message) Field5DeepEqual

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

func (*Message) GetContent

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

func (*Message) GetCreateTime

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

func (*Message) GetFromUserId

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

func (*Message) GetId

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

func (*Message) GetToUserId

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

func (*Message) InitDefault

func (p *Message) InitDefault()

func (*Message) IsSetCreateTime

func (p *Message) IsSetCreateTime() bool

func (*Message) Read

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

func (*Message) ReadField1

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

func (*Message) ReadField2

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

func (*Message) ReadField3

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

func (*Message) ReadField4

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

func (*Message) ReadField5

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

func (*Message) SetContent

func (p *Message) SetContent(val string)

func (*Message) SetCreateTime

func (p *Message) SetCreateTime(val *string)

func (*Message) SetFromUserId

func (p *Message) SetFromUserId(val int64)

func (*Message) SetId

func (p *Message) SetId(val int64)

func (*Message) SetToUserId

func (p *Message) SetToUserId(val int64)

func (*Message) String

func (p *Message) String() string

func (*Message) Write

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

type MessageListRequest

type MessageListRequest struct {
	Token    string `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	ToUserId int64  `thrift:"to_user_id,2,required" frugal:"2,required,i64" json:"to_user_id"`
}
var MessageServiceMessageListArgs_Req_DEFAULT *MessageListRequest

func NewMessageListRequest

func NewMessageListRequest() *MessageListRequest

func (*MessageListRequest) BLength

func (p *MessageListRequest) BLength() int

func (*MessageListRequest) DeepEqual

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

func (*MessageListRequest) FastRead

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

func (*MessageListRequest) FastReadField1

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

func (*MessageListRequest) FastReadField2

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

func (*MessageListRequest) FastWrite

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

for compatibility

func (*MessageListRequest) FastWriteNocopy

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

func (*MessageListRequest) Field1DeepEqual

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

func (*MessageListRequest) Field2DeepEqual

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

func (*MessageListRequest) GetToUserId

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

func (*MessageListRequest) GetToken

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

func (*MessageListRequest) InitDefault

func (p *MessageListRequest) InitDefault()

func (*MessageListRequest) Read

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

func (*MessageListRequest) ReadField1

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

func (*MessageListRequest) ReadField2

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

func (*MessageListRequest) SetToUserId

func (p *MessageListRequest) SetToUserId(val int64)

func (*MessageListRequest) SetToken

func (p *MessageListRequest) SetToken(val string)

func (*MessageListRequest) String

func (p *MessageListRequest) String() string

func (*MessageListRequest) Write

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

type MessageListResponse

type MessageListResponse struct {
	Base        *BaseResp  `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
	MessageList []*Message `thrift:"message_list,2" frugal:"2,default,list<Message>" json:"message_list"`
	Total       int64      `thrift:"total,3" frugal:"3,default,i64" json:"total"`
}
var MessageServiceMessageListResult_Success_DEFAULT *MessageListResponse

func NewMessageListResponse

func NewMessageListResponse() *MessageListResponse

func (*MessageListResponse) BLength

func (p *MessageListResponse) BLength() int

func (*MessageListResponse) DeepEqual

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

func (*MessageListResponse) FastRead

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

func (*MessageListResponse) FastReadField1

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

func (*MessageListResponse) FastReadField2

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

func (*MessageListResponse) FastReadField3

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

func (*MessageListResponse) FastWrite

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

for compatibility

func (*MessageListResponse) FastWriteNocopy

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

func (*MessageListResponse) Field1DeepEqual

func (p *MessageListResponse) Field1DeepEqual(src *BaseResp) bool

func (*MessageListResponse) Field2DeepEqual

func (p *MessageListResponse) Field2DeepEqual(src []*Message) bool

func (*MessageListResponse) Field3DeepEqual

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

func (*MessageListResponse) GetBase

func (p *MessageListResponse) GetBase() (v *BaseResp)

func (*MessageListResponse) GetMessageList

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

func (*MessageListResponse) GetTotal

func (p *MessageListResponse) GetTotal() (v int64)

func (*MessageListResponse) InitDefault

func (p *MessageListResponse) InitDefault()

func (*MessageListResponse) IsSetBase

func (p *MessageListResponse) IsSetBase() bool

func (*MessageListResponse) Read

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

func (*MessageListResponse) ReadField1

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

func (*MessageListResponse) ReadField2

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

func (*MessageListResponse) ReadField3

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

func (*MessageListResponse) SetBase

func (p *MessageListResponse) SetBase(val *BaseResp)

func (*MessageListResponse) SetMessageList

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

func (*MessageListResponse) SetTotal

func (p *MessageListResponse) SetTotal(val int64)

func (*MessageListResponse) String

func (p *MessageListResponse) String() string

func (*MessageListResponse) Write

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

type MessagePostReponse

type MessagePostReponse struct {
	Base *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
}
var MessageServiceMessagePostResult_Success_DEFAULT *MessagePostReponse

func NewMessagePostReponse

func NewMessagePostReponse() *MessagePostReponse

func (*MessagePostReponse) BLength

func (p *MessagePostReponse) BLength() int

func (*MessagePostReponse) DeepEqual

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

func (*MessagePostReponse) FastRead

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

func (*MessagePostReponse) FastReadField1

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

func (*MessagePostReponse) FastWrite

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

for compatibility

func (*MessagePostReponse) FastWriteNocopy

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

func (*MessagePostReponse) Field1DeepEqual

func (p *MessagePostReponse) Field1DeepEqual(src *BaseResp) bool

func (*MessagePostReponse) GetBase

func (p *MessagePostReponse) GetBase() (v *BaseResp)

func (*MessagePostReponse) InitDefault

func (p *MessagePostReponse) InitDefault()

func (*MessagePostReponse) IsSetBase

func (p *MessagePostReponse) IsSetBase() bool

func (*MessagePostReponse) Read

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

func (*MessagePostReponse) ReadField1

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

func (*MessagePostReponse) SetBase

func (p *MessagePostReponse) SetBase(val *BaseResp)

func (*MessagePostReponse) String

func (p *MessagePostReponse) String() string

func (*MessagePostReponse) Write

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

type MessagePostRequest

type MessagePostRequest struct {
	Token      string `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	ToUserId   int64  `thrift:"to_user_id,2,required" frugal:"2,required,i64" json:"to_user_id"`
	Content    string `thrift:"content,3,required" frugal:"3,required,string" json:"content"`
	ActionType *int64 `thrift:"action_type,4,optional" frugal:"4,optional,i64" json:"action_type,omitempty"`
}
var MessageServiceMessagePostArgs_Req_DEFAULT *MessagePostRequest

func NewMessagePostRequest

func NewMessagePostRequest() *MessagePostRequest

func (*MessagePostRequest) BLength

func (p *MessagePostRequest) BLength() int

func (*MessagePostRequest) DeepEqual

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

func (*MessagePostRequest) FastRead

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

func (*MessagePostRequest) FastReadField1

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

func (*MessagePostRequest) FastReadField2

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

func (*MessagePostRequest) FastReadField3

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

func (*MessagePostRequest) FastReadField4

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

func (*MessagePostRequest) FastWrite

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

for compatibility

func (*MessagePostRequest) FastWriteNocopy

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

func (*MessagePostRequest) Field1DeepEqual

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

func (*MessagePostRequest) Field2DeepEqual

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

func (*MessagePostRequest) Field3DeepEqual

func (p *MessagePostRequest) Field3DeepEqual(src string) bool

func (*MessagePostRequest) Field4DeepEqual

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

func (*MessagePostRequest) GetActionType

func (p *MessagePostRequest) GetActionType() (v int64)

func (*MessagePostRequest) GetContent

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

func (*MessagePostRequest) GetToUserId

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

func (*MessagePostRequest) GetToken

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

func (*MessagePostRequest) InitDefault

func (p *MessagePostRequest) InitDefault()

func (*MessagePostRequest) IsSetActionType

func (p *MessagePostRequest) IsSetActionType() bool

func (*MessagePostRequest) Read

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

func (*MessagePostRequest) ReadField1

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

func (*MessagePostRequest) ReadField2

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

func (*MessagePostRequest) ReadField3

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

func (*MessagePostRequest) ReadField4

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

func (*MessagePostRequest) SetActionType

func (p *MessagePostRequest) SetActionType(val *int64)

func (*MessagePostRequest) SetContent

func (p *MessagePostRequest) SetContent(val string)

func (*MessagePostRequest) SetToUserId

func (p *MessagePostRequest) SetToUserId(val int64)

func (*MessagePostRequest) SetToken

func (p *MessagePostRequest) SetToken(val string)

func (*MessagePostRequest) String

func (p *MessagePostRequest) String() string

func (*MessagePostRequest) Write

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

type MessageService

type MessageService interface {
	MessagePost(ctx context.Context, req *MessagePostRequest) (r *MessagePostReponse, err error)

	MessageList(ctx context.Context, req *MessageListRequest) (r *MessageListResponse, err error)
}

type MessageServiceClient

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

func NewMessageServiceClient

func NewMessageServiceClient(c thrift.TClient) *MessageServiceClient

func NewMessageServiceClientProtocol

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

func (*MessageServiceClient) Client_

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

func (*MessageServiceClient) MessageList

func (*MessageServiceClient) MessagePost

func (p *MessageServiceClient) MessagePost(ctx context.Context, req *MessagePostRequest) (r *MessagePostReponse, err error)

type MessageServiceMessageListArgs

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

func NewMessageServiceMessageListArgs

func NewMessageServiceMessageListArgs() *MessageServiceMessageListArgs

func (*MessageServiceMessageListArgs) BLength

func (p *MessageServiceMessageListArgs) BLength() int

func (*MessageServiceMessageListArgs) DeepEqual

func (*MessageServiceMessageListArgs) FastRead

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

func (*MessageServiceMessageListArgs) FastReadField1

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

func (*MessageServiceMessageListArgs) FastWrite

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

for compatibility

func (*MessageServiceMessageListArgs) FastWriteNocopy

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

func (*MessageServiceMessageListArgs) Field1DeepEqual

func (p *MessageServiceMessageListArgs) Field1DeepEqual(src *MessageListRequest) bool

func (*MessageServiceMessageListArgs) GetFirstArgument

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

func (*MessageServiceMessageListArgs) GetReq

func (*MessageServiceMessageListArgs) InitDefault

func (p *MessageServiceMessageListArgs) InitDefault()

func (*MessageServiceMessageListArgs) IsSetReq

func (p *MessageServiceMessageListArgs) IsSetReq() bool

func (*MessageServiceMessageListArgs) Read

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

func (*MessageServiceMessageListArgs) ReadField1

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

func (*MessageServiceMessageListArgs) SetReq

func (*MessageServiceMessageListArgs) String

func (*MessageServiceMessageListArgs) Write

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

type MessageServiceMessageListResult

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

func NewMessageServiceMessageListResult

func NewMessageServiceMessageListResult() *MessageServiceMessageListResult

func (*MessageServiceMessageListResult) BLength

func (p *MessageServiceMessageListResult) BLength() int

func (*MessageServiceMessageListResult) DeepEqual

func (*MessageServiceMessageListResult) FastRead

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

func (*MessageServiceMessageListResult) FastReadField0

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

func (*MessageServiceMessageListResult) FastWrite

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

for compatibility

func (*MessageServiceMessageListResult) FastWriteNocopy

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

func (*MessageServiceMessageListResult) Field0DeepEqual

func (p *MessageServiceMessageListResult) Field0DeepEqual(src *MessageListResponse) bool

func (*MessageServiceMessageListResult) GetResult

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

func (*MessageServiceMessageListResult) GetSuccess

func (*MessageServiceMessageListResult) InitDefault

func (p *MessageServiceMessageListResult) InitDefault()

func (*MessageServiceMessageListResult) IsSetSuccess

func (p *MessageServiceMessageListResult) IsSetSuccess() bool

func (*MessageServiceMessageListResult) Read

func (*MessageServiceMessageListResult) ReadField0

func (*MessageServiceMessageListResult) SetSuccess

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

func (*MessageServiceMessageListResult) String

func (*MessageServiceMessageListResult) Write

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

type MessageServiceMessagePostArgs

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

func NewMessageServiceMessagePostArgs

func NewMessageServiceMessagePostArgs() *MessageServiceMessagePostArgs

func (*MessageServiceMessagePostArgs) BLength

func (p *MessageServiceMessagePostArgs) BLength() int

func (*MessageServiceMessagePostArgs) DeepEqual

func (*MessageServiceMessagePostArgs) FastRead

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

func (*MessageServiceMessagePostArgs) FastReadField1

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

func (*MessageServiceMessagePostArgs) FastWrite

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

for compatibility

func (*MessageServiceMessagePostArgs) FastWriteNocopy

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

func (*MessageServiceMessagePostArgs) Field1DeepEqual

func (p *MessageServiceMessagePostArgs) Field1DeepEqual(src *MessagePostRequest) bool

func (*MessageServiceMessagePostArgs) GetFirstArgument

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

func (*MessageServiceMessagePostArgs) GetReq

func (*MessageServiceMessagePostArgs) InitDefault

func (p *MessageServiceMessagePostArgs) InitDefault()

func (*MessageServiceMessagePostArgs) IsSetReq

func (p *MessageServiceMessagePostArgs) IsSetReq() bool

func (*MessageServiceMessagePostArgs) Read

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

func (*MessageServiceMessagePostArgs) ReadField1

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

func (*MessageServiceMessagePostArgs) SetReq

func (*MessageServiceMessagePostArgs) String

func (*MessageServiceMessagePostArgs) Write

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

type MessageServiceMessagePostResult

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

func NewMessageServiceMessagePostResult

func NewMessageServiceMessagePostResult() *MessageServiceMessagePostResult

func (*MessageServiceMessagePostResult) BLength

func (p *MessageServiceMessagePostResult) BLength() int

func (*MessageServiceMessagePostResult) DeepEqual

func (*MessageServiceMessagePostResult) FastRead

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

func (*MessageServiceMessagePostResult) FastReadField0

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

func (*MessageServiceMessagePostResult) FastWrite

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

for compatibility

func (*MessageServiceMessagePostResult) FastWriteNocopy

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

func (*MessageServiceMessagePostResult) Field0DeepEqual

func (p *MessageServiceMessagePostResult) Field0DeepEqual(src *MessagePostReponse) bool

func (*MessageServiceMessagePostResult) GetResult

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

func (*MessageServiceMessagePostResult) GetSuccess

func (*MessageServiceMessagePostResult) InitDefault

func (p *MessageServiceMessagePostResult) InitDefault()

func (*MessageServiceMessagePostResult) IsSetSuccess

func (p *MessageServiceMessagePostResult) IsSetSuccess() bool

func (*MessageServiceMessagePostResult) Read

func (*MessageServiceMessagePostResult) ReadField0

func (*MessageServiceMessagePostResult) SetSuccess

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

func (*MessageServiceMessagePostResult) String

func (*MessageServiceMessagePostResult) Write

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

type MessageServiceProcessor

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

func NewMessageServiceProcessor

func NewMessageServiceProcessor(handler MessageService) *MessageServiceProcessor

func (*MessageServiceProcessor) AddToProcessorMap

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

func (*MessageServiceProcessor) GetProcessorFunction

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

func (*MessageServiceProcessor) Process

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

func (*MessageServiceProcessor) ProcessorMap

Directories

Path Synopsis
Code generated by Kitex v0.6.2.
Code generated by Kitex v0.6.2.

Jump to

Keyboard shortcuts

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