helper

package
v2.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FakeBigFileSize = (1 << 20) * 20 //20MB
	FakeBigFilePath = "./FakeBigFile.txt"

	FakeSmallFileSize = (1 << 20) * 2 //2MB
	FakeSmallFilePath = "./FakeSmallFile.txt"

	ConfigFile = "config.json"

	PageSize = 1 << 12 //4K
)

Variables

This section is empty.

Functions

func GenerateFakefile

func GenerateFakefile(filepath string, fsize int)

func GenerateUniqKey

func GenerateUniqKey() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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