Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SmtpAttach ¶
type SmtpMsg ¶
type SmtpMsg struct { To string `json:"to"` ToName string `json:"to_name"` From string `json:"from"` FromName string `json:"from_name"` ReplyTo string `json:"reply_to"` Subject string `json:"subject"` Text string `json:"text"` Html string `json:"html"` Header map[string][]string `json:"header"` Attach []SmtpAttach `json:"attach"` }
type SmtpResult ¶
type SmtpServer ¶
type TLSCert ¶
type TLSCert struct { Signature []byte `json:"signature"` SignatureAlgorithm string `json:"signature_alg"` PublicKeyAlgorithm string `json:"signature_alg"` Version int `json:"version"` SerialNumber string `json:"serial_number"` Issuer pkix.Name `json:"issuer"` Subject pkix.Name `json:"subject"` NotBefore int64 `json:"not_before"` // converted to js units NotAfter int64 `json:"not_after"` // converted to js units KeyUsage int32 `json:"key_usage"` SubjectKeyId []byte `json:"subject_key_id"` AuthorityKeyId []byte `json:"authority_key_id"` DNSNames []string `json:"dns_names"` EmailAddresses []string `json:"email_addresses"` IPAddresses []net.IP `json:"ip_addresses"` URIs []*url.URL `json:"uris"` CRLDistributionPoints []string `json:"crl_distribution_points"` }
type TLSResult ¶
type TLSResult struct { Version uint16 `json:"version"` CipherSuite uint16 `json:"cipher_suite"` NegotiatedProtocol string `json:"negotiated_protocol"` ServerName string `json:"server_name"` Certs int `json:"n_certs"` }
QQQ - provide more / less?
Click to show internal directories.
Click to hide internal directories.