Versions in this module Expand all Collapse all v0 v0.8.1 May 2, 2022 Changes in this version + func Before(ctx *cli.Context) error + func CreateCommands() []cli.Command + func CreateFlags(defaultPath string) []cli.Flag + type Account struct + Email string + Registration *registration.Resource + func (a *Account) GetEmail() string + func (a *Account) GetPrivateKey() crypto.PrivateKey + func (a *Account) GetRegistration() *registration.Resource + type AccountsStorage struct + func NewAccountsStorage(ctx *cli.Context) *AccountsStorage + func (s *AccountsStorage) ExistsAccountFilePath() bool + func (s *AccountsStorage) GetPrivateKey(keyType certcrypto.KeyType) crypto.PrivateKey + func (s *AccountsStorage) GetRootPath() string + func (s *AccountsStorage) GetRootUserPath() string + func (s *AccountsStorage) GetUserID() string + func (s *AccountsStorage) LoadAccount(privateKey crypto.PrivateKey) *Account + func (s *AccountsStorage) Save(account *Account) error + type CertificatesStorage struct + func NewCertificatesStorage(ctx *cli.Context) *CertificatesStorage + func (s *CertificatesStorage) CreateArchiveFolder() + func (s *CertificatesStorage) CreateRootFolder() + func (s *CertificatesStorage) ExistsFile(domain, extension string) bool + func (s *CertificatesStorage) GetFileName(domain, extension string) string + func (s *CertificatesStorage) GetRootPath() string + func (s *CertificatesStorage) MoveToArchive(domain string) error + func (s *CertificatesStorage) ReadCertificate(domain, extension string) ([]*x509.Certificate, error) + func (s *CertificatesStorage) ReadFile(domain, extension string) ([]byte, error) + func (s *CertificatesStorage) ReadResource(domain string) certificate.Resource + func (s *CertificatesStorage) SaveResource(certRes *certificate.Resource) + func (s *CertificatesStorage) WriteFile(domain, extension string, data []byte) error