MCPcopy Create free account
hub / github.com/envoyproxy/ratelimit / AddDebugHttpEndpoint

Method AddDebugHttpEndpoint

src/server/server_impl.go:50–53  ·  view source on GitHub ↗
(path string, help string, handler http.HandlerFunc)

Source from the content-addressed store, hash-verified

48}
49
50func (server *server) AddDebugHttpEndpoint(path string, help string, handler http.HandlerFunc) {
51 server.debugListener.debugMux.HandleFunc(path, handler)
52 server.debugListener.endpoints[path] = help
53}
54
55func (server *server) GrpcServer() *grpc.Server {
56 return server.grpcServer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected