MCPcopy
hub / github.com/yusing/godoxy / httpServer

Struct httpServer

internal/entrypoint/http_server.go:35–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35type httpServer struct {
36 ep *Entrypoint
37
38 stopFunc func(reason any)
39
40 addr string
41 routes *pool.Pool[types.HTTPRoute]
42
43 routeEntrypointOverlays atomic.Pointer[xsync.Map[string, *routeEntrypointOverlay]]
44 wildcardRoutes atomic.Pointer[wildcardRouteIndex]
45 wildcardRoutesMu sync.Mutex
46}
47
48type routeEntrypointOverlay struct {
49 middleware *middleware.Middleware

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected