so mamy things...

This commit is contained in:
didier amyot committed 2015-07-05 17:17:01 -04:00
1 parent f7a8d416c1
commit 78d50d9a6d
24 files changed
+516 -173

No files matched your search

+8
View File
@@ -44,11 +44,19 @@ func Create(root string) http.Handler {
UpdateDoorman,
}
getDoormanStatus := &simpleapi.Endpoint{
"/doormen/{id}/status",
`Returns the status of the doorman as a doorman client expect it.`,
"GET",
GetDoormanStatus,
}
api := simpleapi.New(
root,
serverSpecification,
createDoorman,
allDoorman,
getDoormanStatus,
doorman,
updateDoorman,
)