account

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// staging
	//DirectoryURL = "https://acme-staging-v02.api.letsencrypt.org/directory"
	DirectoryURL = "https://acme-v02.api.letsencrypt.org/directory"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Certificates     map[string]*certificate.Certificate `json:"certificates"`
	Changed          bool                                `json:"-"`
	ClientPassphrase *string                             `json:"-"`
	Domains          []string                            `json:"-"`
	Email            *string                             `json:"-"`
	Registration     *registration.RegistrationCrypt     `json:"registration"`
	// contains filtered or unexported fields
}

func New

func New(email *string, domains []string, provider *provider.Provider) *Account

func (*Account) Create

func (a *Account) Create() error

func (*Account) CreateOrRenewCertificates

func (a *Account) CreateOrRenewCertificates() error

type AccountCrypt

type AccountCrypt Account

func (*AccountCrypt) MarshalJSON

func (ac *AccountCrypt) MarshalJSON() ([]byte, error)

func (*AccountCrypt) UnmarshalJSON

func (ac *AccountCrypt) UnmarshalJSON(b []byte) error

type Accounts

type Accounts []Account

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL