utils

package
v0.0.0-...-473e3f1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPrefix = "ZOOM"
)

Variables

This section is empty.

Functions

func DirSize

func DirSize(dirPath string) (int64, error)

DirSize get directory size

func GetTestKey

func GetTestKey(i int) []byte

GetTestKey get formated key, for test only

func LoadConfig

func LoadConfig() *viper.Viper

func RandomValue

func RandomValue(n int) []byte

RandomValue generate random value, for test only

Types

This section is empty.

Jump to

Keyboard shortcuts

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