aboutsummaryrefslogtreecommitdiff
path: root/challenge.go
blob: 3b008a3e11e6de850b71b62779fe61fce1f2f21f (plain)
1
2
3
4
5
6
7
package acme

var canSolve = make(map[ChallengeType]Solver)

func RegisterSolver(c ChallengeType, s Solver) {
	canSolve[c] = s
}