commentservice

package
v0.0.0-...-7de97a6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by Kitex v0.4.4. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var CommentActionArgs_Req_DEFAULT *CommentServer.DouyinCommentActionRequest
View Source
var CommentActionResult_Success_DEFAULT *CommentServer.DouyinCommentActionResponse
View Source
var CommentListArgs_Req_DEFAULT *CommentServer.DouyinCommentListRequest
View Source
var CommentListResult_Success_DEFAULT *CommentServer.DouyinCommentListResponse

Functions

func NewInvoker

func NewInvoker(handler CommentServer.CommentService, opts ...server.Option) server.Invoker

NewInvoker creates a server.Invoker with the given handler and options.

func NewServer

func NewServer(handler CommentServer.CommentService, opts ...server.Option) server.Server

NewServer creates a server.Server with the given handler and options.

func NewServiceInfo

func NewServiceInfo() *kitex.ServiceInfo

Types

type Client

Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.

func MustNewClient

func MustNewClient(destService string, opts ...client.Option) Client

MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.

func NewClient

func NewClient(destService string, opts ...client.Option) (Client, error)

NewClient creates a client for the service defined in IDL.

type CommentActionArgs

type CommentActionArgs struct {
	Req *CommentServer.DouyinCommentActionRequest
}

func (*CommentActionArgs) FastRead

func (p *CommentActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*CommentActionArgs) FastWrite

func (p *CommentActionArgs) FastWrite(buf []byte) (n int)

func (*CommentActionArgs) GetReq

func (*CommentActionArgs) IsSetReq

func (p *CommentActionArgs) IsSetReq() bool

func (*CommentActionArgs) Marshal

func (p *CommentActionArgs) Marshal(out []byte) ([]byte, error)

func (*CommentActionArgs) Size

func (p *CommentActionArgs) Size() (n int)

func (*CommentActionArgs) Unmarshal

func (p *CommentActionArgs) Unmarshal(in []byte) error

type CommentActionResult

type CommentActionResult struct {
	Success *CommentServer.DouyinCommentActionResponse
}

func (*CommentActionResult) FastRead

func (p *CommentActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*CommentActionResult) FastWrite

func (p *CommentActionResult) FastWrite(buf []byte) (n int)

func (*CommentActionResult) GetSuccess

func (*CommentActionResult) IsSetSuccess

func (p *CommentActionResult) IsSetSuccess() bool

func (*CommentActionResult) Marshal

func (p *CommentActionResult) Marshal(out []byte) ([]byte, error)

func (*CommentActionResult) SetSuccess

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

func (*CommentActionResult) Size

func (p *CommentActionResult) Size() (n int)

func (*CommentActionResult) Unmarshal

func (p *CommentActionResult) Unmarshal(in []byte) error

type CommentListArgs

type CommentListArgs struct {
	Req *CommentServer.DouyinCommentListRequest
}

func (*CommentListArgs) FastRead

func (p *CommentListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*CommentListArgs) FastWrite

func (p *CommentListArgs) FastWrite(buf []byte) (n int)

func (*CommentListArgs) GetReq

func (*CommentListArgs) IsSetReq

func (p *CommentListArgs) IsSetReq() bool

func (*CommentListArgs) Marshal

func (p *CommentListArgs) Marshal(out []byte) ([]byte, error)

func (*CommentListArgs) Size

func (p *CommentListArgs) Size() (n int)

func (*CommentListArgs) Unmarshal

func (p *CommentListArgs) Unmarshal(in []byte) error

type CommentListResult

type CommentListResult struct {
	Success *CommentServer.DouyinCommentListResponse
}

func (*CommentListResult) FastRead

func (p *CommentListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*CommentListResult) FastWrite

func (p *CommentListResult) FastWrite(buf []byte) (n int)

func (*CommentListResult) GetSuccess

func (*CommentListResult) IsSetSuccess

func (p *CommentListResult) IsSetSuccess() bool

func (*CommentListResult) Marshal

func (p *CommentListResult) Marshal(out []byte) ([]byte, error)

func (*CommentListResult) SetSuccess

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

func (*CommentListResult) Size

func (p *CommentListResult) Size() (n int)

func (*CommentListResult) Unmarshal

func (p *CommentListResult) Unmarshal(in []byte) error

Jump to

Keyboard shortcuts

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