Discover Packages
go.chromium.org/goma/server
bytestreamio
package
Version:
v0.0.16
Opens a new window with list of versions in this module.
Published: Aug 31, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package bytestreamio provides io interfaces on bytestream service.
Exists checks resource identified by resourceName exists in bytestream server.
Reader is a reader on bytestream.
Open opens reader on bytestream for resourceName.
ctx will be used until Reader is closed.
Read reads data from bytestream.
The maximum data chunk size would be determined by server side.
Size reports read size by Read.
Writer is a writer on bytestream.
Create creates writer on bytestream for resourceName.
ctx will be used until Writer is closed.
Write writes data to bytestream.
The maximum data chunk size would be determined by server side,
so don't pass larger chunk than maximum data chunk size.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.