utils

package
v0.0.0-...-1790263 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryExist

func DirectoryExist(path string) bool

DirectoryExist checks if the given directory path exists or not.

func FreePort

func FreePort() (int, error)

FreePort finds a free port.

func IP

func IP() string

IP finds public IP address.

func Token

func Token() string

Token generates a random token

Types

This section is empty.

Jump to

Keyboard shortcuts

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