utils

package
v0.0.0-...-d3fde9c Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugFlag        bool
	CfgServerAddress string
	CfgServerPort    string
	CfgServerUseTLS  bool
	CfgUsername      string
	CfgPassword      string
)

variables used to capture the cli flags

Functions

func GetErrorMsg

func GetErrorMsg(err error) string

func PrintConnectionErrorAndExit

func PrintConnectionErrorAndExit(err error)

func PrintErrorAndExit

func PrintErrorAndExit(format string, args ...interface{})

func PrintGetErrorMsgAndExit

func PrintGetErrorMsgAndExit(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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