util

package
v3.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log *log.Logger = log.New(os.Stdout, "magic ", log.Default().Flags())

Functions

func RandomPort

func RandomPort(start, end uint) uint

Generate a random port

func RandomString

func RandomString(length int) string

func ScanPort

func ScanPort(port uint) bool

Scan an individual port. Returns true when the creation of the listener succeeds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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