util

package
v4.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPortAvailability

func CheckPortAvailability(hostname, port string) bool

CheckPortAvailability - checks for port availability on hostname

func CheckPortOccupied

func CheckPortOccupied(hostname, port string) bool

CheckPortOccupied - checks for port being occupied already

func DeleteCertFile

func DeleteCertFile(fileList []string) error

DeleteCertFile - wrapper to remove certificates

func GetCryptoMap

func GetCryptoMap(appName string) map[string]string

func ValidateJSON

func ValidateJSON(schema string, config string) bool

ValidateJSON - JSON validator function

func WriteCertFile

func WriteCertFile(fileList []string, Certs map[string]interface{}) error

WriteCertFile - A wrapper to write certifiates for different module

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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