zerror

package
v0.0.0-...-9ba4394 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(msg string)

func ErrorCantConnectToMaster

func ErrorCantConnectToMaster()

func ErrorCantCreateListener

func ErrorCantCreateListener()

func ErrorConfigCommandCouldntStart

func ErrorConfigCommandCouldntStart(msg, output string)

func ErrorConfigCommandCrashed

func ErrorConfigCommandCrashed(output string)

func ErrorConfigFileInvalidFormat

func ErrorConfigFileInvalidFormat()

func ErrorConfigFileInvalidJson

func ErrorConfigFileInvalidJson()

The config file is loaded before any goroutines are launched that require cleanup, and our exitNow goroutine has not been spawned yet, so we will just explicitly exit in the json-related errors..

func ErrorUnableToAcceptSocketConnection

func ErrorUnableToAcceptSocketConnection()

func ExitNow

func ExitNow(code int, finalOuputCallback func())

TODO: this is gross because code is ignored.

func Init

func Init()

func PrintFinalOutput

func PrintFinalOutput()

Types

This section is empty.

Jump to

Keyboard shortcuts

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