change solver.solve definition

This commit is contained in:
xenolf 2015-06-11 16:09:53 +02:00
parent 7f7e96097b
commit bcdc00add6
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ type User interface {
type solver interface {
CanSolve() bool
Solve()
Solve(challenge)
}
// Client is the user-friendy way to ACME

View file

@ -6,6 +6,6 @@ func (s *dvsniChallenge) CanSolve() bool {
return false
}
func (s *dvsniChallenge) Solve() {
func (s *dvsniChallenge) Solve(challenge challenge) {
}

View file

@ -6,6 +6,6 @@ func (s *simpleHTTPChallenge) CanSolve() bool {
return true
}
func (s *simpleHTTPChallenge) Solve() {
func (s *simpleHTTPChallenge) Solve(challenge challenge) {
}