Rename simple_https to simple_http and add minimal interface implementation

This commit is contained in:
xenolf 2015-06-11 00:12:46 +02:00
parent fe1b6e36d8
commit 0ca3e29eb4
4 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1 @@
package acme

View file

@ -1 +1,11 @@
package acme package acme
type dvsniChallenge struct{}
func (s *dvsniChallenge) CanSolve() bool {
return false
}
func (s *dvsniChallenge) Solve() {
}

View file

@ -0,0 +1,11 @@
package acme
type simpleHTTPChallenge struct{}
func (s *simpleHTTPChallenge) CanSolve() bool {
return true
}
func (s *simpleHTTPChallenge) Solve() {
}

View file

@ -1 +0,0 @@
package acme