utils

package
v0.0.0-...-51e328c Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_TRANSFER_FILE_SIZE = 0x1e00000

Variables

This section is empty.

Functions

func ChunkData

func ChunkData(data []byte) (chunked [][]byte)

func ConvertStringsToInterfaces

func ConvertStringsToInterfaces(input []string) []interface{}

func GenerateRandomAlphaNum

func GenerateRandomAlphaNum(length int) string

func GenerateRandomAnimalName

func GenerateRandomAnimalName(uppercase bool, prefix string) string

func GenerateRandomHumanName

func GenerateRandomHumanName(uppercase bool, prefix string) string

func GenerateRandomInt

func GenerateRandomInt(min int, max int) int

func GenerateRandomPort

func GenerateRandomPort() uint16

func GenerateRandomRoleName

func GenerateRandomRoleName(uppercase bool, prefix string) string

func GetRandomElemString

func GetRandomElemString(list []string) string

func StandardizeSpaces

func StandardizeSpaces(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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