util

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(slice []string, value string) bool

ContainsString searches a given value in a string slice

func GenerateECDSA

func GenerateECDSA(c int32) ([]byte, error)

func GenerateRSA

func GenerateRSA(bits int32) ([]byte, error)

func RandBytes

func RandBytes(n int) []byte

func RandPassword

func RandPassword(n, digits, symbols int) (string, error)

func RandString

func RandString(n int) string

func RandomPort

func RandomPort() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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