stream

package
Version: v0.2.93 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package stream encapsulates streams within streams

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(service, endpoint string, req interface{}, s Stream) server.Stream

New returns a new encapsulated stream Proto stream within a server.Stream

Types

type Stream

type Stream interface {
	Context() context.Context
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL