Documentation ¶ Overview ¶ Package archiver registers all the archivers Index ¶ Variables func Register(as ...Archiver) type Archiver Constants ¶ This section is empty. Variables ¶ View Source var Archivers []Archiver Archivers is a slice of all registered archivers Functions ¶ func Register ¶ func Register(as ...Archiver) Register adds the archivers provided to the list of known archivers Types ¶ type Archiver ¶ type Archiver struct { // New constructs an Fs from the (wrappedFs, remote) with the objects // prefix with prefix and rooted at root New func(ctx context.Context, f fs.Fs, remote, prefix, root string) (fs.Fs, error) Extension string } Archiver describes an archive package Source Files ¶ View all Source files archiver.go Click to show internal directories. Click to hide internal directories.