kitex

package
v0.0.0-...-c28cd52 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualData

func EqualData(d1, d2 *echo.KitexData) bool

func ExchangeFixed

func ExchangeFixed(data *echo.KitexData, client kitexechoservice.Client,
	copsD chan<- time.Duration,
	wg *sync.WaitGroup,
	b *testing.B,
)

func ExchangeQPS

func ExchangeQPS(data *echo.KitexData, client kitexechoservice.Client,
	wg *sync.WaitGroup,
	b *testing.B,
)

func MakeClient

func MakeClient(addr string) (kitexechoservice.Client, error)

func StartServer

func StartServer(addr string, wg *sync.WaitGroup) (srv server.Server)

func WithClientIOBufferSize

func WithClientIOBufferSize() client.Option

func WithServerIOBufferSize

func WithServerIOBufferSize() server.Option

Types

type DataSet

type DataSet = [][]*echo.KitexData

func ConvertDataSet

func ConvertDataSet(ds data.DataSet) (ads DataSet)

type EchoImpl

type EchoImpl struct{}

func (*EchoImpl) Echo

func (s *EchoImpl) Echo(ctx context.Context, req *echo.KitexData) (resp *echo.KitexData, err error)

Directories

Path Synopsis
kitex_gen
echo/kitexechoservice
Code generated by Kitex v0.11.3.
Code generated by Kitex v0.11.3.

Jump to

Keyboard shortcuts

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