{"modulePath":"github.com/docker/compose-cli","version":"v1.0.7","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package streams\n\n## Types\n\n```go\ntype IO struct {\n\tStream *Stream\n}\n```\nIO implements an io.ReadWriter that forwards everything to the stream\n\n```go\nfunc (io *IO) Read(p []byte) (int, error)\n```\n\n```go\nfunc (io *IO) Write(p []byte) (n int, err error)\n```\n\n```go\ntype Log struct {\n\tStream grpc.ServerStream\n}\n```\nLog implements an io.Writer that proxies logs over a gRPC stream\n\n```go\nfunc (w *Log) Write(p []byte) (n int, err error)\n```\n\n```go\ntype Stream struct {\n\tstreamsv1.Streaming_NewStreamServer\n\n\tErrChan chan\u003c- error\n\t// contains filtered or unexported fields\n}\n```\nStream is a bidirectional stream for container IO\n\n```go\nfunc (s *Stream) CloseWithError(err error) error\n```\nCloseWithError sends the result of an action to the errChan or nil if no erros\n\n","path":"github.com/docker/compose-cli/server/proxy/streams","name":"streams","synopsis":"","isRedistributable":true}
