aboutsummaryrefslogtreecommitdiff
path: root/solver.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-01-18 18:40:54 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-01-18 18:40:54 +0100
commit7f3a0cdcae9aebb119e00253eb581b51e0ef8cc5 (patch)
tree11c68da8ddaf94d461ca0438a3e0fb13e876051b /solver.go
parent152cb4632441a2a6971922e508943708a2f4cca8 (diff)
Encapsulate
Diffstat (limited to 'solver.go')
-rw-r--r--solver.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/solver.go b/solver.go
index 0a4ce08..65d8d24 100644
--- a/solver.go
+++ b/solver.go
@@ -6,6 +6,14 @@ import (
"path"
)
+// WellKnown URL path
+const WellKnown = `/.well-known/acme-challenge/`
+
+// Solver decribes a solving interface
+type Solver interface {
+ Solve(token, keyAuth string) error
+}
+
type httpSolver struct {
http.Server
}