code: func SetWrapHandler(wh func(path string, handler http.Handler, err error) (string, http.Handler, error)) {
  	wrapHandler = wh
  }
docs: // SetWrapHandler sets the wrap handler which is called for all endpoints
  // A custom wrap handler may be provided in order to add arbitrary server-side pre or post processing
  // of server-side HTTP handling of requests.