streams

package
v1.0.1003 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWrappedStream

func NewWrappedStream(ctx context.Context, s grpc.ServerStream) grpc.ServerStream

Types

type TracingContext

type TracingContext string
const TracingContextParent TracingContext = "TracingContext"

type WrappedStream

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

func (*WrappedStream) Context

func (s *WrappedStream) Context() context.Context

func (*WrappedStream) RecvMsg

func (w *WrappedStream) RecvMsg(m interface{}) error

func (*WrappedStream) SendHeader

func (w *WrappedStream) SendHeader(meta metadata.MD) error

func (*WrappedStream) SendMsg

func (w *WrappedStream) SendMsg(m interface{}) error

func (*WrappedStream) SetHeader

func (w *WrappedStream) SetHeader(meta metadata.MD) error

func (*WrappedStream) SetTrailer

func (w *WrappedStream) SetTrailer(meta metadata.MD)

Jump to

Keyboard shortcuts

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