commit | 2cf4adcdf83a2300b1fc5cb128eeadd1f5e0bfb4 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Wed Jul 26 21:40:50 2017 |
committer | Kevin Moore <kevmoo@google.com> | Thu Jul 27 00:27:08 2017 |
tree | e7552133702d79503122b116aa4a8adc08e3d94b | |
parent | b4b69c1f26cbc6dd1f5b34006219cb054459fb73 [diff] |
Stop using deprecated pkg/test expect methods
This package exposes the StreamChannel
interface, which represents a two-way communication channel. Each StreamChannel
exposes a Stream
for receiving data and a StreamSink
for sending it.
StreamChannel
helps abstract communication logic away from the underlying protocol. For example, the test
package re-uses its test suite communication protocol for both WebSocket connections to browser suites and Isolate connections to VM tests.
This package also contains utilities for dealing with StreamChannel
s and with two-way communications in general. For documentation of these utilities, see the API docs.