makeHandler creates an http.Handler that will run a handler with the given method
(server *ServerContext, privs handlerPrivs, accessPermissions []Permission, responsePermissions []Permission, method handlerMethod)
| 139 | |
| 140 | // makeHandler creates an http.Handler that will run a handler with the given method |
| 141 | func makeHandler(server *ServerContext, privs handlerPrivs, accessPermissions []Permission, responsePermissions []Permission, method handlerMethod) http.Handler { |
| 142 | return makeHandlerWithOptions(server, privs, accessPermissions, responsePermissions, method, handlerOptions{}) |
| 143 | } |
| 144 | |
| 145 | // makeSilentHandler creates an http.Handler that will run a handler with the given method only logging at debug |
| 146 | func makeSilentHandler(server *ServerContext, privs handlerPrivs, accessPermissions []Permission, responsePermissions []Permission, method handlerMethod) http.Handler { |
no test coverage detected