archiver

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeFormat = "20060102150405" //TimeFormat is prefix of archive file.
)

file const.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archiver

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

Archiver contains archive configs.

func New

func New(ctx context.Context, cfg *config.Config) *Archiver

New creates a Archiver.

func (*Archiver) Archive

func (a *Archiver) Archive() (string, error)

Archive generates a buffer of compressed files.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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