mock

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirMode  fs.FileMode = 0700
	FileMode fs.FileMode = 0600

	SevenZip = "../test/randomfiles.7z"
	Source1  = Test1 + "/0vlLaUEvzAWP"
	Test1    = "../test/bucket1"
	Test2    = "../test/bucket2"
)

Variables

View Source
var (
	ErrBucket = errors.New("bucket already exists")
	ErrCreate = errors.New("create bucket")
)

Functions

func Bucket1

func Bucket1() string

func DBDown

func DBDown() error

func DBUp

func DBUp() error

func Item1

func Item1() string

func Name

func Name() (string, error)

Name returns the absolute path of the Bolt database.

func Read

func Read(name string) (sum [32]byte, err error)

func Source2

func Source2() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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