10 lines
370 B
Go
10 lines
370 B
Go
package acme
|
|
|
|
// ChallengeProvider enables implementing a custom challenge
|
|
// provider. Present presents the solution to a challenge available to
|
|
// be solved. CleanUp will be called by the challenge if Present ends
|
|
// in a non-error state.
|
|
type ChallengeProvider interface {
|
|
Present(domain, token, keyAuth string) error
|
|
CleanUp(domain, token, keyAuth string) error
|
|
}
|