type golang.org/x/pkgsite/internal/middleware.cacheRecorder
6 uses
golang.org/x/pkgsite/internal/middleware (current package)
caching.go#L192: func (c *cache) put(ctx context.Context, key string, rec *cacheRecorder, ttl time.Duration) {
caching.go#L206: func newRecorder(w http.ResponseWriter) *cacheRecorder {
caching.go#L209: return &cacheRecorder{ResponseWriter: w, buf: buf, zipWriter: zw}
caching.go#L215: type cacheRecorder struct {
caching.go#L224: func (r *cacheRecorder) Write(b []byte) (int, error) {
caching.go#L243: func (r *cacheRecorder) WriteHeader(statusCode int) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |