Documentation ¶
Index ¶
Constants ¶
View Source
const ( Expired ExpirationStatus = "Expired" Warn = "Warn" Alert = "Alert" Valid = "Valid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateStatusResult ¶
type CertificateStatusResult struct { Host string Port string Subject string Ca bool Days int NotAfter time.Time Status ExpirationStatus Err error }
CertificateStatusResult ...
type SSLConnect ¶
type SSLConnect struct {
// contains filtered or unexported fields
}
SSLConnect ...
func NewSSLConnect ¶
func NewSSLConnect(warnDays, alertDays int, wg *sync.WaitGroup, wp *workerpool.WorkerPool, r chan<- CertificateStatusResult) *SSLConnect
NewSSLConnect ...
func (*SSLConnect) Connect ¶
func (sc *SSLConnect) Connect(h SSLHost)
Connect ... Connects to the SSL host
Click to show internal directories.
Click to hide internal directories.