Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileRepository ¶
type FileRepository struct {
// contains filtered or unexported fields
}
type Holder ¶
type Holder interface {
GetCertificate() (*tls.Certificate, error)
}
func NewRefreshingCertHolder ¶
type LegoManager ¶
type LegoManager struct {
// contains filtered or unexported fields
}
func (*LegoManager) RetrieveCertificate ¶
func (l *LegoManager) RetrieveCertificate() (*tls.Certificate, error)
type Manager ¶
type Manager interface {
RetrieveCertificate() (*tls.Certificate, error)
}
func NewLegoManager ¶
func NewLegoManager(repo Repository, cfg config.ProxyConfig) Manager
type MyUser ¶
type MyUser struct { Email string Registration *registration.Resource // contains filtered or unexported fields }
func (*MyUser) GetPrivateKey ¶
func (u *MyUser) GetPrivateKey() crypto.PrivateKey
func (MyUser) GetRegistration ¶
func (u MyUser) GetRegistration() *registration.Resource
type RefreshingCertHolder ¶
type RefreshingCertHolder struct {
// contains filtered or unexported fields
}
func (*RefreshingCertHolder) GetCertificate ¶
func (r *RefreshingCertHolder) GetCertificate() (*tls.Certificate, error)
type Repository ¶
type Repository interface {
// contains filtered or unexported methods
}
func NewFileRepo ¶
func NewFileRepo(dir string) Repository
Click to show internal directories.
Click to hide internal directories.