todo: evaluate whether the internal server should be included as part of this
| 39 | |
| 40 | // todo: evaluate whether the internal server should be included as part of this |
| 41 | type tempoServer struct { |
| 42 | mux *mux.Router // all tempo http routes are added here |
| 43 | handler http.Handler // the final handler which includes the router and any middleware |
| 44 | |
| 45 | externalServer *server.Server // the standard server that all HTTP/GRPC requests are served on |
| 46 | enableHTTP2Once sync.Once |
| 47 | } |
| 48 | |
| 49 | func newTempoServer() *tempoServer { |
| 50 | return &tempoServer{ |
nothing calls this directly
no outgoing calls
no test coverage detected