mirror of
https://github.com/go-acme/lego.git
synced 2025-01-13 18:37:56 +02:00
change solver.solve definition
This commit is contained in:
parent
7f7e96097b
commit
bcdc00add6
@ -37,7 +37,7 @@ type User interface {
|
|||||||
|
|
||||||
type solver interface {
|
type solver interface {
|
||||||
CanSolve() bool
|
CanSolve() bool
|
||||||
Solve()
|
Solve(challenge)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Client is the user-friendy way to ACME
|
// Client is the user-friendy way to ACME
|
||||||
|
@ -6,6 +6,6 @@ func (s *dvsniChallenge) CanSolve() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *dvsniChallenge) Solve() {
|
func (s *dvsniChallenge) Solve(challenge challenge) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,6 @@ func (s *simpleHTTPChallenge) CanSolve() bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *simpleHTTPChallenge) Solve() {
|
func (s *simpleHTTPChallenge) Solve(challenge challenge) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user