Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleExit ¶
func HandleExit(err error)
HandleExit ist used within the main handler to exit properly.
Types ¶
type ExitError ¶
type ExitError struct {
// contains filtered or unexported fields
}
ExitError simply implements the defined interface.
func ExitMessage ¶
func ExitMessage(message interface{}) ExitError
ExitMessage initializes a new ExitCoder implementation.
func ExitMessagef ¶ added in v0.3.1
ExitMessagef initializes a new ExitCoder implementation.
func WithFields ¶
WithFields initializes a new ExitCoder implementation.
Click to show internal directories.
Click to hide internal directories.