aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge.go12
-rw-r--r--client.go5
2 files changed, 12 insertions, 5 deletions
diff --git a/challenge.go b/challenge.go
new file mode 100644
index 0000000..90d4d78
--- /dev/null
+++ b/challenge.go
@@ -0,0 +1,12 @@
+package acme
+
+// Solver decribes a solving interface
+type Solver interface {
+ Solve()
+}
+
+var challenges []string
+
+func registerChallenge(c string) {
+ challenges = append(challenges, c)
+}
diff --git a/client.go b/client.go
index 5f70e04..7a99592 100644
--- a/client.go
+++ b/client.go
@@ -12,11 +12,6 @@ import (
"time"
)
-// Solver decribes a solving interface
-type Solver interface {
- Solve()
-}
-
// Links to the next stage
type Links map[string]string