favoriteservice

package
v0.0.0-...-48d44df Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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 CreateFavoriteArgs_Req_DEFAULT *favorite_rpc.RPCFavoriteCreateReq
View Source
var CreateFavoriteResult_Success_DEFAULT *favorite_rpc.RPCFavoriteCreateResp
View Source
var DelFavoriteArgs_Req_DEFAULT *favorite_rpc.RPCFavoriteDelReq
View Source
var DelFavoriteResult_Success_DEFAULT *favorite_rpc.RPCFavoriteDelResp
View Source
var FavoriteListArgs_Req_DEFAULT *favorite_rpc.RPCFavoriteListReq
View Source
var FavoriteListResult_Success_DEFAULT *favorite_rpc.RPCFavoriteListResp
View Source
var FilterFavoriteArgs_Req_DEFAULT *favorite_rpc.RPCFilterFavoriteReq
View Source
var FilterFavoriteResult_Success_DEFAULT *favorite_rpc.RPCFilterFavoriteResp

Functions

func NewInvoker

func NewInvoker(handler favorite_rpc.FavoriteService, opts ...server.Option) server.Invoker

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

func NewServer

func NewServer(handler favorite_rpc.FavoriteService, 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

type Client interface {
	CreateFavorite(ctx context.Context, Req *favorite_rpc.RPCFavoriteCreateReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFavoriteCreateResp, err error)
	DelFavorite(ctx context.Context, Req *favorite_rpc.RPCFavoriteDelReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFavoriteDelResp, err error)
	FavoriteList(ctx context.Context, Req *favorite_rpc.RPCFavoriteListReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFavoriteListResp, err error)
	FilterFavorite(ctx context.Context, Req *favorite_rpc.RPCFilterFavoriteReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFilterFavoriteResp, err error)
}

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 CreateFavoriteArgs

type CreateFavoriteArgs struct {
	Req *favorite_rpc.RPCFavoriteCreateReq
}

func (*CreateFavoriteArgs) FastRead

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

func (*CreateFavoriteArgs) FastWrite

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

func (*CreateFavoriteArgs) GetReq

func (*CreateFavoriteArgs) IsSetReq

func (p *CreateFavoriteArgs) IsSetReq() bool

func (*CreateFavoriteArgs) Marshal

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

func (*CreateFavoriteArgs) Size

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

func (*CreateFavoriteArgs) Unmarshal

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

type CreateFavoriteResult

type CreateFavoriteResult struct {
	Success *favorite_rpc.RPCFavoriteCreateResp
}

func (*CreateFavoriteResult) FastRead

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

func (*CreateFavoriteResult) FastWrite

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

func (*CreateFavoriteResult) GetSuccess

func (*CreateFavoriteResult) IsSetSuccess

func (p *CreateFavoriteResult) IsSetSuccess() bool

func (*CreateFavoriteResult) Marshal

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

func (*CreateFavoriteResult) SetSuccess

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

func (*CreateFavoriteResult) Size

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

func (*CreateFavoriteResult) Unmarshal

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

type DelFavoriteArgs

type DelFavoriteArgs struct {
	Req *favorite_rpc.RPCFavoriteDelReq
}

func (*DelFavoriteArgs) FastRead

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

func (*DelFavoriteArgs) FastWrite

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

func (*DelFavoriteArgs) GetReq

func (*DelFavoriteArgs) IsSetReq

func (p *DelFavoriteArgs) IsSetReq() bool

func (*DelFavoriteArgs) Marshal

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

func (*DelFavoriteArgs) Size

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

func (*DelFavoriteArgs) Unmarshal

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

type DelFavoriteResult

type DelFavoriteResult struct {
	Success *favorite_rpc.RPCFavoriteDelResp
}

func (*DelFavoriteResult) FastRead

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

func (*DelFavoriteResult) FastWrite

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

func (*DelFavoriteResult) GetSuccess

func (*DelFavoriteResult) IsSetSuccess

func (p *DelFavoriteResult) IsSetSuccess() bool

func (*DelFavoriteResult) Marshal

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

func (*DelFavoriteResult) SetSuccess

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

func (*DelFavoriteResult) Size

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

func (*DelFavoriteResult) Unmarshal

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

type FavoriteListArgs

type FavoriteListArgs struct {
	Req *favorite_rpc.RPCFavoriteListReq
}

func (*FavoriteListArgs) FastRead

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

func (*FavoriteListArgs) FastWrite

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

func (*FavoriteListArgs) GetReq

func (*FavoriteListArgs) IsSetReq

func (p *FavoriteListArgs) IsSetReq() bool

func (*FavoriteListArgs) Marshal

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

func (*FavoriteListArgs) Size

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

func (*FavoriteListArgs) Unmarshal

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

type FavoriteListResult

type FavoriteListResult struct {
	Success *favorite_rpc.RPCFavoriteListResp
}

func (*FavoriteListResult) FastRead

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

func (*FavoriteListResult) FastWrite

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

func (*FavoriteListResult) GetSuccess

func (*FavoriteListResult) IsSetSuccess

func (p *FavoriteListResult) IsSetSuccess() bool

func (*FavoriteListResult) Marshal

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

func (*FavoriteListResult) SetSuccess

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

func (*FavoriteListResult) Size

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

func (*FavoriteListResult) Unmarshal

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

type FilterFavoriteArgs

type FilterFavoriteArgs struct {
	Req *favorite_rpc.RPCFilterFavoriteReq
}

func (*FilterFavoriteArgs) FastRead

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

func (*FilterFavoriteArgs) FastWrite

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

func (*FilterFavoriteArgs) GetReq

func (*FilterFavoriteArgs) IsSetReq

func (p *FilterFavoriteArgs) IsSetReq() bool

func (*FilterFavoriteArgs) Marshal

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

func (*FilterFavoriteArgs) Size

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

func (*FilterFavoriteArgs) Unmarshal

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

type FilterFavoriteResult

type FilterFavoriteResult struct {
	Success *favorite_rpc.RPCFilterFavoriteResp
}

func (*FilterFavoriteResult) FastRead

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

func (*FilterFavoriteResult) FastWrite

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

func (*FilterFavoriteResult) GetSuccess

func (*FilterFavoriteResult) IsSetSuccess

func (p *FilterFavoriteResult) IsSetSuccess() bool

func (*FilterFavoriteResult) Marshal

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

func (*FilterFavoriteResult) SetSuccess

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

func (*FilterFavoriteResult) Size

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

func (*FilterFavoriteResult) Unmarshal

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

Jump to

Keyboard shortcuts

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