Documentation ¶
Index ¶
Constants ¶
View Source
const ( RETURNCODE_PASS = 0 RETURNCODE_EXPIRED = 2 RETURNCODE_THRESHOLDFAIL = 3 RETURNCODE_NOTVALIDYET = 4 RETURNCODE_ERROR = 5 )
Variables ¶
This section is empty.
Functions ¶
func CsvHeaderRow ¶ added in v0.5.0
func CsvHeaderRow() string
Types ¶
type CheckedServer ¶
type CheckedServer struct { Target string Err string ExitCode int ServerInfo string Certs []CheckCert Passed bool HttpVersion string TlsVersion uint16 TlsAlgorithm uint16 ServerName string IpAddress string }
func CheckServer ¶
func CheckServer(target string, dateNeededValidFor time.Time, insecure bool) (output CheckedServer)
func (CheckedServer) AsCsv ¶ added in v0.5.0
func (a CheckedServer) AsCsv() string
func (CheckedServer) AsJson ¶
func (a CheckedServer) AsJson() string
func (CheckedServer) AsShortString ¶ added in v0.5.1
func (a CheckedServer) AsShortString(enableColors bool) (output string)
func (CheckedServer) AsString ¶
func (a CheckedServer) AsString(enableColors bool) (output string)
type OutputFormat ¶ added in v0.5.1
type OutputFormat int64
const ( JSON OutputFormat = iota CSV TEXT NONE SHORT )
func (OutputFormat) String ¶ added in v0.5.1
func (a OutputFormat) String() string
Click to show internal directories.
Click to hide internal directories.