107b7419b7
* Start abstracting away the ACME provider * Move ACME to interface with sub-package implementations * Addressing comments * Library -> Provider * Missed a couple of Library -> Provider * One more Library -> Provider * remove constants
17 lines
289 B
Go
17 lines
289 B
Go
// Package acme abstracts away various ACME libraries
|
|
package acme
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
var (
|
|
ErrProviderNotImplemented = errors.New("Provider not implemented")
|
|
)
|
|
|
|
// Provider is a ACME provider interface
|
|
type Provider interface {
|
|
NewListener(...string) (net.Listener, error)
|
|
}
|