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 GetS2AStream ¶ added in v0.1.9
GetS2AStream type is for generating an S2AStream interface for talking to the S2A server.
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.
Click to show internal directories.
Click to hide internal directories.