utils

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewPort

func GetNewPort() (string, error)

Get unused port number

func IsDir

func IsDir(path string) bool

Check path is as directory.

func IsFile

func IsFile(path string) bool

Check path is a file.

func IsPortOpen

func IsPortOpen(addr string, timeout int) bool

Check is a port open.

func UnmarshalGuarkiFile

func UnmarshalGuarkiFile(dir string, s interface{}) (err error)

Unmarshal guarki.yaml file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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