mem

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferDestination

type BufferDestination struct {
	Data map[string][]byte
}

func NewBufferDestination

func NewBufferDestination() (*BufferDestination, error)

func (*BufferDestination) Store

func (b *BufferDestination) Store(obj backup.Object) (int64, error)

type BufferSource

type BufferSource struct {
	Name string
	Data []byte
}

func NewBufferSource

func NewBufferSource(name string, data []byte) (*BufferSource, error)

func (*BufferSource) Stream

func (b *BufferSource) Stream(dst backup.Destination) (int64, error)

Jump to

Keyboard shortcuts

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