package exlib
import "github.com/cloudflare/cfssl/transport/example/exlib"
Package exlib contains common library code for the examples.
Index ¶
- 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)
Variables ¶
Before set to 5 minutes; certificates will attempt to auto-update 5 minutes before they expire.
Functions ¶
func Err ¶
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 ¶
Errx displays a formatted error message to standard error and exits with the status code from `exit`, à la errx(3).
func Pack ¶
Pack writes a message to an io.Writer.
func Unpack ¶
Unpack reads a message from an io.Reader.
func Warn ¶
Warn displays a formatted error message to standard output, appending the error string, à la warn(3).
Source Files ¶
- Version
- v1.6.5 (latest)
- Published
- Mar 5, 2024
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 6 days ago –
Tools for package owners.