Documentation
¶
Index ¶
- func CertGrabber(uri string, queue chan *CertificateInfo)
- func GenerateReport(certs CertificateInfoList, warningsOnly bool) string
- func GetCerts(host string, port int) *x509.Certificate
- func GetExpireDays(then time.Time) int
- func IsExpired(then time.Time) bool
- func MailReport(report, to_addr string)
- type CertificateInfo
- type CertificateInfoList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertGrabber ¶
func CertGrabber(uri string, queue chan *CertificateInfo)
Grab a certificate from the given uri and send it down a channel to be processed Then report our exit to the main thread using another channel This is intended to be run via a goroutine
func GenerateReport ¶
func GenerateReport(certs CertificateInfoList, warningsOnly bool) string
Given a Certificates list, create a tabular report of the relevant information in string format