Documentation ¶
Overview ¶
The check/domain package checks a domain's security information.
var lib = require('check/domain'); var res = lib.check('https://tv.eurosport.com:443'); console.log(res);
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cert ¶
type Cert struct { CA bool `console:"ca" codec:"ca"` IPs []string `console:"ips" codec:"ips"` Names []string `console:"names" codec:"names"` Emails []string `console:"emails" codec:"emails"` Issuer string `console:"issuer" codec:"issuer"` Subject string `console:"subject" codec:"subject"` Version int `console:"version" codec:"version"` NotAfter *time.Time `console:"notafter" codec:"notafter"` NotBefore *time.Time `console:"notbefore" codec:"notbefore"` Algorithm string `console:"algorithm" codec:"algorithm"` Expired bool `console:"expired" codec:"expired"` Deprecated bool `console:"deprecated" codec:"deprecated"` }
type Info ¶
type Info struct { Up bool `console:"up" codec:"up"` Ok bool `console:"ok" codec:"ok"` Host string `console:"host" codec:"host"` Port string `console:"port" codec:"port"` Scheme string `console:"scheme" codec:"scheme"` Domain string `console:"domain" codec:"domain"` Certs []*Cert `console:"certs" codec:"certs"` }
Click to show internal directories.
Click to hide internal directories.