util

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringifyBytes

func StringifyBytes(b []byte) string

StringifyBytes returns a semi readable representation of a byte array.

func Throttle added in v0.5.0

func Throttle(startTimeMilli int64, maxDelayMilli int64) (time.Duration, error)

Throttle sleeps for up to maxDelayMilli but subtracting the time passed since startTimeMilli.

Types

This section is empty.

Directories

Path Synopsis
container
nativeutils

Jump to

Keyboard shortcuts

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