Versions in this module Expand all Collapse all v0 v0.1.3 Aug 26, 2021 v0.1.2 Jul 21, 2021 v0.1.1 Jun 25, 2021 Changes in this version + const ASSESSMENT_COMPLETE + const ASSESSMENT_FAILED + const ASSESSMENT_STARTING + const USER_AGENT + type Event struct + type HostProvider struct + StartingLen int + func NewHostProvider(hs []string) *HostProvider + type LabsCaaPolicy struct + CaaRecords []LabsCaaRecord + PolicyHostname string + type LabsCaaRecord struct + Flags int + Tag string + Value string + type LabsCert struct + AltNames []string + Caapolicy LabsCaaPolicy + CommonNames []string + CrlRevocationStatus int + CrlURIs []string + DnsCaa bool + Id string + IssuerSubject string + Issues int + KeyAlg string + KeyKnownDebianInsecure bool + KeySize int + KeyStrength int + MustStaple bool + NotAfter int64 + NotBefore int64 + OcspRevocationStatus int + OcspURIs []string + PinSha256 string + Raw string + RevocationInfo int + RevocationStatus int + Sct bool + Sgc int + Sha1Hash string + SigAlg string + Subject string + ValidationType string + type LabsCertChain struct + CertIds []string + Id string + Issues int + NoSni bool + Trustpath []LabsTrustPath + type LabsChain struct + Certs []LabsChainCert + Issues int + type LabsChainCert struct + CrlRevocationStatus int + IssuerLabel string + IssuerSubject string + Issues int + KeyAlg string + KeySize int + KeyStrength int + Label string + NotAfter int64 + NotBefore int64 + OcspRevocationStatus int + Raw string + RevocationStatus int + SigAlg string + Subject string + type LabsDrownHost struct + Export bool + Ip string + Port int + Special bool + Sslv2 bool + Status string + type LabsEndpoint struct + Delegation int + Details LabsEndpointDetails + Duration int + Eta int + FutureGrade string + Grade string + GradeTrustIgnored string + HasWarnings bool + IpAddress string + IsExceptional bool + Progress int + ServerName string + StatusDetailsMessage string + StatusMessage string + type LabsEndpointDetails struct + AlpnProtocols string + Bleichenbacher int + CertChains []LabsCertChain + ChaCha20Preference bool + CompressionMethods int + DhPrimes []string + DhUsesKnownPrimes int + DhYsReuse bool + DrownErrors bool + DrownHosts []LabsDrownHost + DrownVulnerable bool + EcdhParameterReuse bool + FallbackScsv bool + ForwardSecrecy int + Freak bool + HasSct int + Heartbeat bool + Heartbleed bool + HostStartTime int64 + HpkpPolicy LabsHpkpPolicy + HpkpRoPolicy LabsHpkpPolicy + HstsPolicy LabsHstsPolicy + HstsPreloads []LabsHstsPreload + HttpForwarding string + HttpStatusCode int + HttpTransactions []LabsHttpTransaction + Logjam bool + MiscIntolerance int + NamedGroups LabsNamedGroups + NoSniSuites LabsSuites + NonPrefixDelegation bool + NpnProtocols string + OcspStapling bool + OpenSSLLuckyMinus20 int + OpenSslCcs int + Poodle bool + PoodleTLS int + PrefixDelegation bool + ProtocolIntolerance int + Protocols []LabsProtocol + Rc4Only bool + Rc4WithModern bool + RenegSupport int + ServerSignature string + SessionResumption int + SessionTickets int + Sims LabsSimDetails + SniRequired bool + StaplingRevocationErrorMessage string + StaplingRevocationStatus int + Suites []LabsSuites + SupportsAlpn bool + SupportsNpn bool + SupportsRc4 bool + Ticketbleed int + VulnBeast bool + type LabsError struct + Field string + Message string + type LabsErrorResponse struct + ResponseErrors []LabsError + func (e LabsErrorResponse) Error() string + type LabsHpkpDirective struct + Name string + Value string + type LabsHpkpPin struct + HashFunction string + Value string + type LabsHpkpPolicy struct + Directives []LabsHpkpDirective + Error string + Header string + IncludeSubDomains bool + MatchedPins []LabsHpkpPin + MaxAge int64 + Pins []LabsHpkpPin + ReportUri string + Status string + type LabsHstsPolicy struct + Directives map[string]string + Error string + Header string + IncludeSubDomains bool + LONG_MAX_AGE int64 + MaxAge int64 + Preload bool + Status string + type LabsHstsPreload struct + Error string + HostName string + Source string + SourceTime int64 + Status string + type LabsHttpHeader struct + Name string + Value string + type LabsHttpTransaction struct + FragileServer bool + RequestHeaders []string + RequestLine string + RequestUrl string + ResponseHeader []LabsHttpHeader + ResponseLine string + ResponseRawHeader []string + StatusCode int + type LabsInfo struct + CriteriaVersion string + EngineVersion string + MaxAssessments int + Messages []string + NewAssessmentCoolOff int64 + type LabsKey struct + Alg string + DebianFlaw bool + Q int + Size int + Strength int + type LabsNamedGroup struct + Bits int + Id int + Name string + type LabsNamedGroups struct + List []LabsNamedGroup + Preference bool + type LabsProtocol struct + Id int + Name string + Q int + V2SuitesDisabled bool + Version string + type LabsReport struct + CacheExpiryTime int64 + CertHostnames []string + Certs []LabsCert + CriteriaVersion string + Endpoints []LabsEndpoint + EngineVersion string + Host string + IsPublic bool + Port int + Protocol string + StartTime int64 + Status string + StatusMessage string + TestTime int64 + type LabsResults struct + Reports []LabsReport + Responses []string + type LabsSimClient struct + Id int + IsReference bool + Name string + Platform string + Version string + type LabsSimDetails struct + Results []LabsSimulation + type LabsSimulation struct + AlertCode int + AlertType int + Attempts int + CertChainId string + Client LabsSimClient + DhBits int + DhG int + DhP int + DhYs int + ErrorCode int + ErrorMessage string + KeyAlg string + KeySize int + KxStrength int + KxType string + NamedGroupBits int + NamedGroupId int + NamedGroupName string + ProtocolId int + SigAlg string + SuiteId int + SuiteName string + type LabsSuite struct + CipherStrength int + DhBits int + DhG int + DhP int + DhYs int + Id int + KxStrength int + KxType string + Name string + NamedGroudName string + NamedGroupBits int + NamedGroupId int + Q int + type LabsSuites struct + List []LabsSuite + Preference bool + Protocol int + type LabsTrust struct + IsTrusted bool + RootStore string + TrustErrorMessage string + type LabsTrustPath struct + CertIds []string + IsPinned bool + MatchedPins int + Trust []LabsTrust + UnMatchedPins int + type SSLLabsClient struct + BackendEventChannel chan Event + FrontendEventChannel chan Event + func NewSSLLabsClient(hosts []string) *SSLLabsClient + func NewSSLLabsClientWithConfig(hosts []string, config *SSLLabsClientConfig) *SSLLabsClient + func (c *SSLLabsClient) Results() *LabsResults + func (c *SSLLabsClient) Run() error + type SSLLabsClientConfig struct + ApiLocation string + FromCache bool + IgnoreMismatch bool + Insecure bool + MaxAge int + NewAssessmentCoolOff int64 + StartNew bool + type SSLLabsClientIface interface + Results func() *LabsResults + Run func() error v0.1.0 Jun 23, 2021