()
| 126 | } |
| 127 | |
| 128 | func (server *Server) addOptionsRoute() { |
| 129 | server.martini.AddRoute("OPTIONS", ".*", func(w http.ResponseWriter, r *http.Request) { |
| 130 | w.WriteHeader(http.StatusOK) |
| 131 | }) |
| 132 | } |
| 133 | |
| 134 | func (server *Server) addPprofRoutes() { |
| 135 | server.martini.Group("/debug/pprof", func(r martini.Router) { |
no outgoing calls
no test coverage detected