comment

package
v0.0.0-...-18974b4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommentInfo_User_DEFAULT *user.UserInfo
View Source
var CommentListResponse_CommentList_DEFAULT []*CommentInfo
View Source
var CommentListResponse_StatusMsg_DEFAULT string
View Source
var CommentRequest_CommentId_DEFAULT int64
View Source
var CommentRequest_CommentText_DEFAULT string
View Source
var CommentResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

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

Functions

This section is empty.

Types

type CommentInfo

type CommentInfo struct {
	Id         int64          `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	User       *user.UserInfo `thrift:"user,2" frugal:"2,default,user.UserInfo" json:"user"`
	Content    string         `thrift:"content,3" frugal:"3,default,string" json:"content"`
	CreateDate string         `thrift:"create_date,4" frugal:"4,default,string" json:"create_date"`
}
var CommentResponse_Comment_DEFAULT *CommentInfo

func NewCommentInfo

func NewCommentInfo() *CommentInfo

func (*CommentInfo) BLength

func (p *CommentInfo) BLength() int

func (*CommentInfo) DeepEqual

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

func (*CommentInfo) FastRead

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

func (*CommentInfo) FastReadField1

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

func (*CommentInfo) FastReadField2

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

func (*CommentInfo) FastReadField3

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

func (*CommentInfo) FastReadField4

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

func (*CommentInfo) FastWrite

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

for compatibility

func (*CommentInfo) FastWriteNocopy

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

func (*CommentInfo) Field1DeepEqual

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

func (*CommentInfo) Field2DeepEqual

func (p *CommentInfo) Field2DeepEqual(src *user.UserInfo) bool

func (*CommentInfo) Field3DeepEqual

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

func (*CommentInfo) Field4DeepEqual

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

func (*CommentInfo) GetContent

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

func (*CommentInfo) GetCreateDate

func (p *CommentInfo) GetCreateDate() (v string)

func (*CommentInfo) GetId

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

func (*CommentInfo) GetUser

func (p *CommentInfo) GetUser() (v *user.UserInfo)

func (*CommentInfo) InitDefault

func (p *CommentInfo) InitDefault()

func (*CommentInfo) IsSetUser

func (p *CommentInfo) IsSetUser() bool

func (*CommentInfo) Read

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

func (*CommentInfo) ReadField1

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

func (*CommentInfo) ReadField2

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

func (*CommentInfo) ReadField3

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

func (*CommentInfo) ReadField4

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

func (*CommentInfo) SetContent

func (p *CommentInfo) SetContent(val string)

func (*CommentInfo) SetCreateDate

func (p *CommentInfo) SetCreateDate(val string)

func (*CommentInfo) SetId

func (p *CommentInfo) SetId(val int64)

func (*CommentInfo) SetUser

func (p *CommentInfo) SetUser(val *user.UserInfo)

func (*CommentInfo) String

func (p *CommentInfo) String() string

func (*CommentInfo) Write

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

type CommentListRequest

type CommentListRequest struct {
	UserId  int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	VideoId int64 `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"`
}
var CommentServiceGetCommentListArgs_Request_DEFAULT *CommentListRequest

func NewCommentListRequest

func NewCommentListRequest() *CommentListRequest

func (*CommentListRequest) BLength

func (p *CommentListRequest) BLength() int

func (*CommentListRequest) DeepEqual

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

func (*CommentListRequest) FastRead

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

func (*CommentListRequest) FastReadField1

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

func (*CommentListRequest) FastReadField2

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

func (*CommentListRequest) FastWrite

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

for compatibility

func (*CommentListRequest) FastWriteNocopy

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

func (*CommentListRequest) Field1DeepEqual

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

func (*CommentListRequest) Field2DeepEqual

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

func (*CommentListRequest) GetUserId

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

func (*CommentListRequest) GetVideoId

func (p *CommentListRequest) GetVideoId() (v int64)

func (*CommentListRequest) InitDefault

func (p *CommentListRequest) InitDefault()

func (*CommentListRequest) Read

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

func (*CommentListRequest) ReadField1

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

func (*CommentListRequest) ReadField2

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

func (*CommentListRequest) SetUserId

func (p *CommentListRequest) SetUserId(val int64)

func (*CommentListRequest) SetVideoId

func (p *CommentListRequest) SetVideoId(val int64)

func (*CommentListRequest) String

func (p *CommentListRequest) String() string

func (*CommentListRequest) Write

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

type CommentListResponse

type CommentListResponse struct {
	StatusCode  int64          `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"`
	StatusMsg   *string        `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	CommentList []*CommentInfo `thrift:"comment_list,4,optional" frugal:"4,optional,list<CommentInfo>" json:"comment_list,omitempty"`
}
var CommentServiceGetCommentListResult_Success_DEFAULT *CommentListResponse

func NewCommentListResponse

func NewCommentListResponse() *CommentListResponse

func (*CommentListResponse) BLength

func (p *CommentListResponse) BLength() int

func (*CommentListResponse) DeepEqual

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

func (*CommentListResponse) FastRead

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

func (*CommentListResponse) FastReadField1

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

func (*CommentListResponse) FastReadField2

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

func (*CommentListResponse) FastReadField4

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

func (*CommentListResponse) FastWrite

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

for compatibility

func (*CommentListResponse) FastWriteNocopy

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

func (*CommentListResponse) Field1DeepEqual

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

func (*CommentListResponse) Field2DeepEqual

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

func (*CommentListResponse) Field4DeepEqual

func (p *CommentListResponse) Field4DeepEqual(src []*CommentInfo) bool

func (*CommentListResponse) GetCommentList

func (p *CommentListResponse) GetCommentList() (v []*CommentInfo)

func (*CommentListResponse) GetStatusCode

func (p *CommentListResponse) GetStatusCode() (v int64)

func (*CommentListResponse) GetStatusMsg

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

func (*CommentListResponse) InitDefault

func (p *CommentListResponse) InitDefault()

func (*CommentListResponse) IsSetCommentList

func (p *CommentListResponse) IsSetCommentList() bool

func (*CommentListResponse) IsSetStatusMsg

func (p *CommentListResponse) IsSetStatusMsg() bool

func (*CommentListResponse) Read

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

func (*CommentListResponse) ReadField1

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

func (*CommentListResponse) ReadField2

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

func (*CommentListResponse) ReadField4

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

func (*CommentListResponse) SetCommentList

func (p *CommentListResponse) SetCommentList(val []*CommentInfo)

func (*CommentListResponse) SetStatusCode

func (p *CommentListResponse) SetStatusCode(val int64)

func (*CommentListResponse) SetStatusMsg

func (p *CommentListResponse) SetStatusMsg(val *string)

func (*CommentListResponse) String

func (p *CommentListResponse) String() string

func (*CommentListResponse) Write

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

type CommentRequest

type CommentRequest struct {
	UserId      int64   `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	VideoId     int64   `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"`
	ActionType  bool    `thrift:"action_type,3" frugal:"3,default,bool" json:"action_type"`
	CommentText *string `thrift:"comment_text,4,optional" frugal:"4,optional,string" json:"comment_text,omitempty"`
	CommentId   *int64  `thrift:"comment_id,5,optional" frugal:"5,optional,i64" json:"comment_id,omitempty"`
}
var CommentServiceCommentActionArgs_Request_DEFAULT *CommentRequest

func NewCommentRequest

func NewCommentRequest() *CommentRequest

func (*CommentRequest) BLength

func (p *CommentRequest) BLength() int

func (*CommentRequest) DeepEqual

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

func (*CommentRequest) FastRead

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

func (*CommentRequest) FastReadField1

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

func (*CommentRequest) FastReadField2

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

func (*CommentRequest) FastReadField3

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

func (*CommentRequest) FastReadField4

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

func (*CommentRequest) FastReadField5

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

func (*CommentRequest) FastWrite

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

for compatibility

func (*CommentRequest) FastWriteNocopy

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

func (*CommentRequest) Field1DeepEqual

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

func (*CommentRequest) Field2DeepEqual

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

func (*CommentRequest) Field3DeepEqual

func (p *CommentRequest) Field3DeepEqual(src bool) bool

func (*CommentRequest) Field4DeepEqual

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

func (*CommentRequest) Field5DeepEqual

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

func (*CommentRequest) GetActionType

func (p *CommentRequest) GetActionType() (v bool)

func (*CommentRequest) GetCommentId

func (p *CommentRequest) GetCommentId() (v int64)

func (*CommentRequest) GetCommentText

func (p *CommentRequest) GetCommentText() (v string)

func (*CommentRequest) GetUserId

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

func (*CommentRequest) GetVideoId

func (p *CommentRequest) GetVideoId() (v int64)

func (*CommentRequest) InitDefault

func (p *CommentRequest) InitDefault()

func (*CommentRequest) IsSetCommentId

func (p *CommentRequest) IsSetCommentId() bool

func (*CommentRequest) IsSetCommentText

func (p *CommentRequest) IsSetCommentText() bool

func (*CommentRequest) Read

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

func (*CommentRequest) ReadField1

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

func (*CommentRequest) ReadField2

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

func (*CommentRequest) ReadField3

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

func (*CommentRequest) ReadField4

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

func (*CommentRequest) ReadField5

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

func (*CommentRequest) SetActionType

func (p *CommentRequest) SetActionType(val bool)

func (*CommentRequest) SetCommentId

func (p *CommentRequest) SetCommentId(val *int64)

func (*CommentRequest) SetCommentText

func (p *CommentRequest) SetCommentText(val *string)

func (*CommentRequest) SetUserId

func (p *CommentRequest) SetUserId(val int64)

func (*CommentRequest) SetVideoId

func (p *CommentRequest) SetVideoId(val int64)

func (*CommentRequest) String

func (p *CommentRequest) String() string

func (*CommentRequest) Write

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

type CommentResponse

type CommentResponse struct {
	StatusCode int64        `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"`
	StatusMsg  *string      `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	Comment    *CommentInfo `thrift:"comment,3,optional" frugal:"3,optional,CommentInfo" json:"comment,omitempty"`
}
var CommentServiceCommentActionResult_Success_DEFAULT *CommentResponse

func NewCommentResponse

func NewCommentResponse() *CommentResponse

func (*CommentResponse) BLength

func (p *CommentResponse) BLength() int

func (*CommentResponse) DeepEqual

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

func (*CommentResponse) FastRead

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

func (*CommentResponse) FastReadField1

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

func (*CommentResponse) FastReadField2

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

func (*CommentResponse) FastReadField3

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

func (*CommentResponse) FastWrite

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

for compatibility

func (*CommentResponse) FastWriteNocopy

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

func (*CommentResponse) Field1DeepEqual

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

func (*CommentResponse) Field2DeepEqual

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

func (*CommentResponse) Field3DeepEqual

func (p *CommentResponse) Field3DeepEqual(src *CommentInfo) bool

func (*CommentResponse) GetComment

func (p *CommentResponse) GetComment() (v *CommentInfo)

func (*CommentResponse) GetStatusCode

func (p *CommentResponse) GetStatusCode() (v int64)

func (*CommentResponse) GetStatusMsg

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

func (*CommentResponse) InitDefault

func (p *CommentResponse) InitDefault()

func (*CommentResponse) IsSetComment

func (p *CommentResponse) IsSetComment() bool

func (*CommentResponse) IsSetStatusMsg

func (p *CommentResponse) IsSetStatusMsg() bool

func (*CommentResponse) Read

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

func (*CommentResponse) ReadField1

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

func (*CommentResponse) ReadField2

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

func (*CommentResponse) ReadField3

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

func (*CommentResponse) SetComment

func (p *CommentResponse) SetComment(val *CommentInfo)

func (*CommentResponse) SetStatusCode

func (p *CommentResponse) SetStatusCode(val int64)

func (*CommentResponse) SetStatusMsg

func (p *CommentResponse) SetStatusMsg(val *string)

func (*CommentResponse) String

func (p *CommentResponse) String() string

func (*CommentResponse) Write

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

type CommentService

type CommentService interface {
	CommentAction(ctx context.Context, request *CommentRequest) (r *CommentResponse, err error)

	GetCommentList(ctx context.Context, request *CommentListRequest) (r *CommentListResponse, err error)
}

type CommentServiceClient

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

func NewCommentServiceClient

func NewCommentServiceClient(c thrift.TClient) *CommentServiceClient

func NewCommentServiceClientProtocol

func NewCommentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CommentServiceClient

func (*CommentServiceClient) Client_

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

func (*CommentServiceClient) CommentAction

func (p *CommentServiceClient) CommentAction(ctx context.Context, request *CommentRequest) (r *CommentResponse, err error)

func (*CommentServiceClient) GetCommentList

func (p *CommentServiceClient) GetCommentList(ctx context.Context, request *CommentListRequest) (r *CommentListResponse, err error)

type CommentServiceCommentActionArgs

type CommentServiceCommentActionArgs struct {
	Request *CommentRequest `thrift:"request,1" frugal:"1,default,CommentRequest" json:"request"`
}

func NewCommentServiceCommentActionArgs

func NewCommentServiceCommentActionArgs() *CommentServiceCommentActionArgs

func (*CommentServiceCommentActionArgs) BLength

func (p *CommentServiceCommentActionArgs) BLength() int

func (*CommentServiceCommentActionArgs) DeepEqual

func (*CommentServiceCommentActionArgs) FastRead

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

func (*CommentServiceCommentActionArgs) FastReadField1

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

func (*CommentServiceCommentActionArgs) FastWrite

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

for compatibility

func (*CommentServiceCommentActionArgs) FastWriteNocopy

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

func (*CommentServiceCommentActionArgs) Field1DeepEqual

func (p *CommentServiceCommentActionArgs) Field1DeepEqual(src *CommentRequest) bool

func (*CommentServiceCommentActionArgs) GetFirstArgument

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

func (*CommentServiceCommentActionArgs) GetRequest

func (p *CommentServiceCommentActionArgs) GetRequest() (v *CommentRequest)

func (*CommentServiceCommentActionArgs) InitDefault

func (p *CommentServiceCommentActionArgs) InitDefault()

func (*CommentServiceCommentActionArgs) IsSetRequest

func (p *CommentServiceCommentActionArgs) IsSetRequest() bool

func (*CommentServiceCommentActionArgs) Read

func (*CommentServiceCommentActionArgs) ReadField1

func (*CommentServiceCommentActionArgs) SetRequest

func (p *CommentServiceCommentActionArgs) SetRequest(val *CommentRequest)

func (*CommentServiceCommentActionArgs) String

func (*CommentServiceCommentActionArgs) Write

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

type CommentServiceCommentActionResult

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

func NewCommentServiceCommentActionResult

func NewCommentServiceCommentActionResult() *CommentServiceCommentActionResult

func (*CommentServiceCommentActionResult) BLength

func (*CommentServiceCommentActionResult) DeepEqual

func (*CommentServiceCommentActionResult) FastRead

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

func (*CommentServiceCommentActionResult) FastReadField0

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

func (*CommentServiceCommentActionResult) FastWrite

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

for compatibility

func (*CommentServiceCommentActionResult) FastWriteNocopy

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

func (*CommentServiceCommentActionResult) Field0DeepEqual

func (p *CommentServiceCommentActionResult) Field0DeepEqual(src *CommentResponse) bool

func (*CommentServiceCommentActionResult) GetResult

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

func (*CommentServiceCommentActionResult) GetSuccess

func (*CommentServiceCommentActionResult) InitDefault

func (p *CommentServiceCommentActionResult) InitDefault()

func (*CommentServiceCommentActionResult) IsSetSuccess

func (p *CommentServiceCommentActionResult) IsSetSuccess() bool

func (*CommentServiceCommentActionResult) Read

func (*CommentServiceCommentActionResult) ReadField0

func (*CommentServiceCommentActionResult) SetSuccess

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

func (*CommentServiceCommentActionResult) String

func (*CommentServiceCommentActionResult) Write

type CommentServiceGetCommentListArgs

type CommentServiceGetCommentListArgs struct {
	Request *CommentListRequest `thrift:"request,1" frugal:"1,default,CommentListRequest" json:"request"`
}

func NewCommentServiceGetCommentListArgs

func NewCommentServiceGetCommentListArgs() *CommentServiceGetCommentListArgs

func (*CommentServiceGetCommentListArgs) BLength

func (*CommentServiceGetCommentListArgs) DeepEqual

func (*CommentServiceGetCommentListArgs) FastRead

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

func (*CommentServiceGetCommentListArgs) FastReadField1

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

func (*CommentServiceGetCommentListArgs) FastWrite

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

for compatibility

func (*CommentServiceGetCommentListArgs) FastWriteNocopy

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

func (*CommentServiceGetCommentListArgs) Field1DeepEqual

func (p *CommentServiceGetCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool

func (*CommentServiceGetCommentListArgs) GetFirstArgument

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

func (*CommentServiceGetCommentListArgs) GetRequest

func (*CommentServiceGetCommentListArgs) InitDefault

func (p *CommentServiceGetCommentListArgs) InitDefault()

func (*CommentServiceGetCommentListArgs) IsSetRequest

func (p *CommentServiceGetCommentListArgs) IsSetRequest() bool

func (*CommentServiceGetCommentListArgs) Read

func (*CommentServiceGetCommentListArgs) ReadField1

func (*CommentServiceGetCommentListArgs) SetRequest

func (*CommentServiceGetCommentListArgs) String

func (*CommentServiceGetCommentListArgs) Write

type CommentServiceGetCommentListResult

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

func NewCommentServiceGetCommentListResult

func NewCommentServiceGetCommentListResult() *CommentServiceGetCommentListResult

func (*CommentServiceGetCommentListResult) BLength

func (*CommentServiceGetCommentListResult) DeepEqual

func (*CommentServiceGetCommentListResult) FastRead

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

func (*CommentServiceGetCommentListResult) FastReadField0

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

func (*CommentServiceGetCommentListResult) FastWrite

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

for compatibility

func (*CommentServiceGetCommentListResult) FastWriteNocopy

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

func (*CommentServiceGetCommentListResult) Field0DeepEqual

func (*CommentServiceGetCommentListResult) GetResult

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

func (*CommentServiceGetCommentListResult) GetSuccess

func (*CommentServiceGetCommentListResult) InitDefault

func (p *CommentServiceGetCommentListResult) InitDefault()

func (*CommentServiceGetCommentListResult) IsSetSuccess

func (p *CommentServiceGetCommentListResult) IsSetSuccess() bool

func (*CommentServiceGetCommentListResult) Read

func (*CommentServiceGetCommentListResult) ReadField0

func (*CommentServiceGetCommentListResult) SetSuccess

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

func (*CommentServiceGetCommentListResult) String

func (*CommentServiceGetCommentListResult) Write

type CommentServiceProcessor

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

func NewCommentServiceProcessor

func NewCommentServiceProcessor(handler CommentService) *CommentServiceProcessor

func (*CommentServiceProcessor) AddToProcessorMap

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

func (*CommentServiceProcessor) GetProcessorFunction

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

func (*CommentServiceProcessor) Process

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

func (*CommentServiceProcessor) ProcessorMap

Directories

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

Jump to

Keyboard shortcuts

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