util

package
v0.0.3-beta Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BackoffSchedule = []time.Duration{
	1 * time.Second,
	2 * time.Second,
	4 * time.Second,
	8 * time.Second,
	16 * time.Second,
}

Functions

func GenerateLockfile

func GenerateLockfile(service string) error

func GenerateTestUser

func GenerateTestUser(t *testing.T, permissions string, length int) (db.User, string)

func LockfileBackoff

func LockfileBackoff(lockfilePath string) error

func RemoveLockfile

func RemoveLockfile(service string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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