servicers

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUpdatesUnverified

func GetUpdatesUnverified(request *protos.StreamRequest, stream protos.Streamer_GetUpdatesServer) error

GetUpdatesUnverified finds a stream provider for stream name in the request and starts streaming updates generated by the provider If provider's GetUpdates() returns error == nil, the update batch is sent to the client and the stream is closed If provider's GetUpdates() returns error == EAGAIN, the update batch is sent to the client and the streaming continues on the same stream

func NewStreamerServicer

func NewStreamerServicer() protos.StreamerServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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