package
Version:
v0.0.0-...-5fc50ce
Opens a new window with list of versions in this module.
Published: Jul 16, 2019
License: BSD-2-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package exlib contains common library code for the examples.
- Variables
-
func Err(exit int, err error, format string, a ...interface{})
-
func Errx(exit int, format string, a ...interface{})
-
func Pack(w io.Writer, buf []byte) error
-
func Unpack(r io.Reader) ([]byte, error)
-
func Warn(err error, format string, a ...interface{}) (int, error)
Before set to 5 minutes; certificates will attempt to auto-update 5
minutes before they expire.
Err displays a formatting error message to standard error,
appending the error string, and exits with the status code from
`exit`, à la err(3).
func Errx(exit int, format string, a ...interface{})
Errx displays a formatted error message to standard error and exits
with the status code from `exit`, à la errx(3).
Pack writes a message to an io.Writer.
Unpack reads a message from an io.Reader.
Warn displays a formatted error message to standard output,
appending the error string, à la warn(3).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.