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.
16 lines
284 B
Go
16 lines
284 B
Go
12 months ago
|
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
|
||
|
}
|