util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidPort

func IsValidPort(port int) bool

Function to validate a port

func LogTag

func LogTag(tag string) string

Builds a tag for the log entries with indentation in order to align the log entries.

func ObtainIpPort

func ObtainIpPort(hostname string) (string, int)

Obtains IP port from a hostname string i.e. 178.673.111.33:9122.

Types

This section is empty.

Jump to

Keyboard shortcuts

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