mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 09:48:32 +02:00
doc(entrypoint): escape [] in mermaid
This commit is contained in:
@@ -122,9 +122,9 @@ classDiagram
|
|||||||
+accessLogger AccessLogger
|
+accessLogger AccessLogger
|
||||||
+findRouteFunc findRouteFunc
|
+findRouteFunc findRouteFunc
|
||||||
+shortLinkMatcher *ShortLinkMatcher
|
+shortLinkMatcher *ShortLinkMatcher
|
||||||
+streamRoutes *pool.Pool[types.StreamRoute]
|
+streamRoutes *pool.Pool\[types.StreamRoute\]
|
||||||
+excludedRoutes *pool.Pool[types.Route]
|
+excludedRoutes *pool.Pool\[types.Route\]
|
||||||
+servers *xsync.Map[string, *httpServer]
|
+servers *xsync.Map\[string, *httpServer\]
|
||||||
+SupportProxyProtocol() bool
|
+SupportProxyProtocol() bool
|
||||||
+StartAddRoute(r) error
|
+StartAddRoute(r) error
|
||||||
+IterRoutes(yield)
|
+IterRoutes(yield)
|
||||||
@@ -132,7 +132,7 @@ classDiagram
|
|||||||
}
|
}
|
||||||
|
|
||||||
class httpServer {
|
class httpServer {
|
||||||
+routes *pool.Pool[types.HTTPRoute]
|
+routes *pool.Pool\[types.HTTPRoute\]
|
||||||
+ServeHTTP(w, r)
|
+ServeHTTP(w, r)
|
||||||
+AddRoute(route)
|
+AddRoute(route)
|
||||||
+DelRoute(route)
|
+DelRoute(route)
|
||||||
@@ -154,8 +154,8 @@ classDiagram
|
|||||||
}
|
}
|
||||||
|
|
||||||
class ShortLinkMatcher {
|
class ShortLinkMatcher {
|
||||||
+fqdnRoutes *xsync.Map[string, string]
|
+fqdnRoutes *xsync.Map\[string, string\]
|
||||||
+subdomainRoutes *xsync.Map[string, struct{}]
|
+subdomainRoutes *xsync.Map\[string, emptyStruct\]
|
||||||
+ServeHTTP(w, r)
|
+ServeHTTP(w, r)
|
||||||
+AddRoute(alias)
|
+AddRoute(alias)
|
||||||
+DelRoute(alias)
|
+DelRoute(alias)
|
||||||
|
|||||||
Reference in New Issue
Block a user