MCPcopy Create free account
hub / github.com/fnproject/fn / AddRootMiddleware

Method AddRootMiddleware

api/server/middleware.go:115–117  ·  view source on GitHub ↗

AddRootMiddleware add middleware add middleware for end user applications

(m fnext.Middleware)

Source from the content-addressed store, hash-verified

113
114// AddRootMiddleware add middleware add middleware for end user applications
115func (s *Server) AddRootMiddleware(m fnext.Middleware) {
116 s.rootMiddlewares = append(s.rootMiddlewares, m)
117}
118
119// AddRootMiddlewareFunc add middleware for end user applications
120func (s *Server) AddRootMiddlewareFunc(m fnext.MiddlewareFunc) {

Callers 1

AddRootMiddlewareFuncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected