transferhdr

package
v0.0.0-...-c5655c4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// CurVer is the currently supported software version
	CurVer int = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Hdr

type Hdr struct {
	// Ver is wire format version. If the protocol changes, for example, record format changes, or
	// end of transfer is added at the end of the transfer, etc, this number will go up by 1.
	// Backward compatibility may or may not be maintained.
	Ver int

	// Hash is the type of hash
	Hash dlhash.Type

	// EncDec is the type of hash
	EncDec encdec.Type
}

Hdr contains the transfer information, it is the first part transferred.

Jump to

Keyboard shortcuts

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