ADMIN API: CreateAdminHandler Creates the HTTP handler for the PRIVATE admin API of a gateway server.
(sc *ServerContext)
| 138 | |
| 139 | // CreateAdminHandler Creates the HTTP handler for the PRIVATE admin API of a gateway server. |
| 140 | func CreateAdminHandler(sc *ServerContext) http.Handler { |
| 141 | router := CreateAdminRouter(sc) |
| 142 | return wrapRouter(sc, adminPrivs, adminServer, router) |
| 143 | } |
| 144 | |
| 145 | // CreateAdminRouter Creates the HTTP handler for the PRIVATE admin API of a gateway server. |
| 146 | func CreateAdminRouter(sc *ServerContext) *mux.Router { |
no test coverage detected