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:
parent
fe1b6e36d8
commit
0ca3e29eb4
@ -0,0 +1 @@
|
||||
package acme
|
@ -1 +1,11 @@
|
||||
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 New Issue
Block a user