type Options … // Given an HTTP Request, the future Status Code, and an ResponseWriter, // determine the possible reasons a response SHOULD NOT be cached. func CachableResponseWriter(req *http.Request, statusCode int, resp http.ResponseWriter, opts Options) ([]cacheobject.Reason, time.Time, error) { … } // Given an HTTP Request and Response, determine the possible reasons a response SHOULD NOT // be cached. func CachableResponse(req *http.Request, resp *http.Response, opts Options) ([]cacheobject.Reason, time.Time, error) { … }