stream

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package stream provides an interface for bidirectional streaming to the S2A server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S2AStream

type S2AStream interface {
	// Send sends the message to the S2A server.
	Send(*s2av2pb.SessionReq) error
	// Recv receives the message from the S2A server.
	Recv() (*s2av2pb.SessionResp, error)
	// Closes the channel to the S2A server.
	CloseSend() error
}

S2AStream defines the operation for communicating with the S2A server over a bidirectional stream.

Jump to

Keyboard shortcuts

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