1
0
mirror of https://github.com/go-acme/lego.git synced 2024-11-28 09:33:13 +02:00

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
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