ResolveHTTPFS modifies the default way to resolve a filesystem by any type of value. It affects the Application's API Builder's `HandleDir` method.
(patchFunc func(fsOrDir interface{}) http.FileSystem)
| 840 | // ResolveHTTPFS modifies the default way to resolve a filesystem by any type of value. |
| 841 | // It affects the Application's API Builder's `HandleDir` method. |
| 842 | func (cp *ContextPatches) ResolveHTTPFS(patchFunc func(fsOrDir interface{}) http.FileSystem) { |
| 843 | context.ResolveHTTPFS = patchFunc |
| 844 | } |
| 845 | |
| 846 | // ResolveHTTPFS modifies the default way to resolve a filesystem by any type of value. |
| 847 | // It affects the view engine's filesystem resolver. |