certs

package
v0.0.0-...-5061503 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cert

type Cert struct {
	Email         string
	Domains       []string
	AcmeServer    string
	CertChan      chan acme.CertificateResource
	ComChan       chan string
	ChallengeChan chan *ChallengeParams
	ErrChan       chan error
}

Cert allow creation and renewal of certs

func NewCert

func NewCert(email string, domains []string) *Cert

NewCert creates a new Cert struct

func (*Cert) Create

func (c *Cert) Create()

Create creates a new certificate

type ChallengeParams

type ChallengeParams struct {
	Domain  string
	KeyAuth string
	Token   string
}

ChallengeParams holds the params we need to match for the challenge

Jump to

Keyboard shortcuts

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