Documentation ¶
Overview ¶
Package memcached implements a HTTP provider for solving the HTTP-01 challenge using memcached in combination with a webserver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPProvider ¶ added in v1.0.0
type HTTPProvider struct {
// contains filtered or unexported fields
}
HTTPProvider implements HTTPProvider for `http-01` challenge
func NewMemcachedProvider ¶
func NewMemcachedProvider(hosts []string) (*HTTPProvider, error)
NewMemcachedProvider returns a HTTPProvider instance with a configured webroot path
func (*HTTPProvider) CleanUp ¶ added in v1.0.0
func (w *HTTPProvider) CleanUp(domain, token, keyAuth string) error
CleanUp removes the file created for the challenge
func (*HTTPProvider) Present ¶ added in v1.0.0
func (w *HTTPProvider) Present(domain, token, keyAuth string) error
Present makes the token available at `HTTP01ChallengePath(token)` by creating a file in the given webroot path
Click to show internal directories.
Click to hide internal directories.