Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Name string `json:"name"` DaysLeft int `json:"daysLeft"` EndTime time.Time `json:"endTime"` Status string `json:"status"` }
Data holds additional data about a domain, also used for JSON representation
type Domain ¶
type Domain struct { Name string Certificate *x509.Certificate Error error }
Domain holds a domain and it's certificate
func InitDomain ¶
InitDomain inits Domain and get the cert
Click to show internal directories.
Click to hide internal directories.