(m *mux.Router)
| 334 | } |
| 335 | |
| 336 | func initPrometheus(m *mux.Router) { |
| 337 | m.Handle("/metrics", promhttp.Handler()) |
| 338 | } |
| 339 | |
| 340 | func stripProtocol(addr string) string { |
| 341 | return strings.TrimPrefix(strings.TrimPrefix(addr, "https://"), "http://") |
no outgoing calls
no test coverage detected