arnaucube
arnaucube/darkID-prototypePublic Self-hosted repository
darkID-prototype/darkID-library-login-example/restRoutes.go
darkID-library-login-example/restRoutes.goRaw
 1package main
 2
 3type Routes []Route
 4
 5var routes = Routes{
 6	Route{
 7		"Index",
 8		"GET",
 9		"/",
10		Index,
11	},
12	Route{
13		"GetProof",
14		"POST",
15		"/getproof",
16		GetProof,
17	},
18	Route{
19		"AnswerProof",
20		"POST",
21		"/answerproof",
22		AnswerProof,
23	},
24}