so mamy things...
This commit is contained in:
1 parent
f7a8d416c1
commit
78d50d9a6d
24 files changed
+516
-173
No files matched your search
@@ -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,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user