You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package snapshot2
|
|
|
|
// Stream is a stream of data that can be read from a snapshot.
|
|
type Stream struct {
|
|
}
|
|
|
|
// Read reads from the stream.
|
|
func (s *Stream) Read(p []byte) (n int, err error) {
|
|
return n, err
|
|
}
|
|
|
|
// Close closes the stream.
|
|
func (s *Stream) Close() error {
|
|
return nil
|
|
}
|