forked from TrueCloudLab/lego
Rename simple_https to simple_http and add minimal interface implementation
This commit is contained in:
parent
fe1b6e36d8
commit
0ca3e29eb4
4 changed files with 22 additions and 1 deletions
|
@ -0,0 +1 @@
|
||||||
|
package acme
|
|
@ -1 +1,11 @@
|
||||||
package acme
|
package acme
|
||||||
|
|
||||||
|
type dvsniChallenge struct{}
|
||||||
|
|
||||||
|
func (s *dvsniChallenge) CanSolve() bool {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *dvsniChallenge) Solve() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
11
acme/simple_http_challenge.go
Normal file
11
acme/simple_http_challenge.go
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
package acme
|
||||||
|
|
||||||
|
type simpleHTTPChallenge struct{}
|
||||||
|
|
||||||
|
func (s *simpleHTTPChallenge) CanSolve() bool {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *simpleHTTPChallenge) Solve() {
|
||||||
|
|
||||||
|
}
|
|
@ -1 +0,0 @@
|
||||||
package acme
|
|
Loading…
Reference in a new issue