MCPcopy Create free account
hub / github.com/devfeel/dotweb / xGroup

Struct xGroup

group.go:35–41  ·  view source on GitHub ↗

xGroup is the implementation of Group interface.

Source from the content-addressed store, hash-verified

33
34// xGroup is the implementation of Group interface.
35type xGroup struct {
36 prefix string
37 middlewares []Middleware
38 allRouterExpress map[string]struct{}
39 server *HttpServer
40 notFoundHandler StandardHandle
41}
42
43func NewGroup(prefix string, server *HttpServer) Group {
44 g := &xGroup{prefix: prefix, server: server, allRouterExpress: make(map[string]struct{})}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected