Versions in this module Expand all Collapse all v0 v0.0.2 Jan 18, 2016 Changes in this version + type Api struct + func New(cnf *config.Config) (*Api, error) + func (p *Api) EnsureCertificate(domain string) error + func (p *Api) GenerateCertificate(domain string) error + func (p *Api) RenewCertificate(domain string) error + func (p *Api) SignCSR(csrFile string) error + func (p *Api) VerifyCertificate(domain string) (bool, error) + type PemCert struct + func NewPemCert(certFile string) *PemCert + func (p *PemCert) ExpireTime() time.Time + func (p *PemCert) ExpiresIn() time.Duration + func (p *PemCert) IsExpiredAt(expire time.Time) bool + func (p *PemCert) Parse() error