Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + const OCSP_REASON_AA_COMPROMISE + const OCSP_REASON_AFFILIATION_CHANGED + const OCSP_REASON_CA_COMPROMISE + const OCSP_REASON_CERTIFICATE_HOLD + const OCSP_REASON_CESSATION_OF_OPERATION + const OCSP_REASON_KEY_COMPROMISE + const OCSP_REASON_PRIVILEGE_WITHDRAWN + const OCSP_REASON_REMOVE_FROM_CRL + const OCSP_REASON_SUPERSEDED + const OCSP_REASON_UNSPECIFIED + const OCSP_STATUS_GOOD + const OCSP_STATUS_REVOKED + const OCSP_STATUS_SERVER_FAILED + const OCSP_STATUS_UNKNOWN + const SSL_3_0 + const TLS_1_0 + const TLS_1_1 + const TLS_1_2 + const TLS_1_3 + func ParseTLSConnState(tlsState *tls.ConnectionState) (TLSInfo, OCSP) + type BlackListedIPError struct + func (b BlackListedIPError) Error() string + type Conn struct + BytesRead *int64 + BytesWritten *int64 + func (c *Conn) Read(b []byte) (int, error) + func (c *Conn) Write(b []byte) (int, error) + type Dialer struct + Blacklist []*lib.IPNet + BytesRead int64 + BytesWritten int64 + Hosts map[string]net.IP + Resolver *dnscache.Resolver + func NewDialer(dialer net.Dialer) *Dialer + func (d *Dialer) DialContext(ctx context.Context, proto, addr string) (net.Conn, error) + func (d *Dialer) GetTrail(startTime, endTime time.Time, fullIteration bool, emitIterations bool, ...) *NetTrail + type NetTrail struct + BytesRead int64 + BytesWritten int64 + EndTime time.Time + FullIteration bool + Samples []stats.Sample + StartTime time.Time + Tags *stats.SampleTags + func (ntr *NetTrail) GetSamples() []stats.Sample + func (ntr *NetTrail) GetTags() *stats.SampleTags + func (ntr *NetTrail) GetTime() time.Time + type OCSP struct + NextUpdate int64 + ProducedAt int64 + RevocationReason string + RevokedAt int64 + Status string + ThisUpdate int64 + type TLSInfo struct + CipherSuite string + Version string