grpcx

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOStream

type IOStream interface {
	Recv() (*proto.IOStreamData, error)
	Send(*proto.IOStreamData) error
	Context() context.Context
}

type IOStreamWrapper

type IOStreamWrapper struct {
	IOStream
	// contains filtered or unexported fields
}

func NewIOStreamWrapper

func NewIOStreamWrapper(stream IOStream) *IOStreamWrapper

func (*IOStreamWrapper) Close

func (iw *IOStreamWrapper) Close() error

func (*IOStreamWrapper) Read

func (iw *IOStreamWrapper) Read(p []byte) (n int, err error)

func (*IOStreamWrapper) Wait

func (iw *IOStreamWrapper) Wait()

func (*IOStreamWrapper) Write

func (iw *IOStreamWrapper) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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