code: func NewMiddleware(names []string, pg plugingetter.PluginGetter) *Middleware {
  	SetPluginGetter(pg)
  	return &Middleware{
  		plugins: newPlugins(names),
  	}
  }
docs: // NewMiddleware creates a new Middleware
  // with a slice of plugins names.