utils

package
v0.0.0-...-168a2c3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPid

func CheckPid(pidfileName string) error

func FreePort

func FreePort(network string) (port uint16)

FreePort gets free network port on host.

func GetUnusedNetAddr

func GetUnusedNetAddr(n int, t testing.TB) []string

GetUnusedNetAddr return array of n unused ports starting with base port NB: addresses 1-1024 are reserved for non-root users;

func HashFromHex

func HashFromHex(s string) []byte

HashFromHex converts hex string to bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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