micro/api/server/acme/acme.go

17 lines
289 B
Go
Raw Normal View History

// 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)
}