Documentation ¶
Index ¶
Constants ¶
View Source
const ( Staging = "https://acme-staging-v02.api.letsencrypt.org/directory" Production = autocert.DefaultACMEDirectory )
Variables ¶
View Source
var ( // Endpoint is the ACME API to use, it defaults to Production, but // can be pointed at Staging or other compatible endpoints. Endpoint = Production )
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Order(ctx context.Context, domains []string, owner interface{}) (challenges []*apis.URL, cert *tls.Certificate, err error)
}
Interface defines the interface for ordering new certificates.
func New ¶
func New(ctx context.Context, cb OrderUpCallback, chlr challenger.Interface) (Interface, error)
New creates a new OrderManager.
type OrderUpCallback ¶
type OrderUpCallback func(owner interface{})
OrderUpCallback is the signature of the function for notifying owners that their order is up, and that they should invoke Order again to pick it up.
Click to show internal directories.
Click to hide internal directories.