storage

package
v0.0.0-...-4779486 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: GPL-3.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 Storage

type Storage interface {
	WriteFile(filename string, data []byte) error
	Close() error
	Remove() error
}

type TarStorage

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

func NewTarStorage

func NewTarStorage(filename string) (*TarStorage, error)

func (*TarStorage) Close

func (storage *TarStorage) Close() error

func (*TarStorage) Remove

func (storage *TarStorage) Remove() error

func (*TarStorage) WriteFile

func (storage *TarStorage) WriteFile(filename string, data []byte) error

Jump to

Keyboard shortcuts

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