Documentation ¶
Index ¶
Constants ¶
View Source
const CertValidity = time.Hour * 24 * 365
View Source
const EncryptionBits = 4096
Variables ¶
View Source
var ( // Log for global use Log = log.New() )
Functions ¶
func ExitIfError ¶
func ExitIfError(err error)
ExitIfError will generically handle an error by logging its contents and exiting with a return code of 1.
func GenerateSelfSignedCA ¶ added in v0.3.0
func GenerateSignedCert ¶ added in v0.3.0
func LogIfError ¶
func LogIfError(err error)
func ValidDaysRemaining ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.