snapshot

package
v0.0.0-...-be83826 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapFile

type SnapFile struct {
	FilePath []byte
	Body     []byte
}

type SnapReader

type SnapReader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(br *bufio.Reader) *SnapReader

func (*SnapReader) Next

func (sr *SnapReader) Next() (*SnapFile, bool, error)

func (*SnapReader) VerifyHeader

func (sr *SnapReader) VerifyHeader(expectedKey string) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL