type golang.org/x/pkgsite/internal/middleware.cache
5 uses
golang.org/x/pkgsite/internal/middleware (current package)
caching.go#L90: type cache struct {
caching.go#L117: return &cache{
caching.go#L127: func (c *cache) ServeHTTP(w http.ResponseWriter, r *http.Request) {
caching.go#L164: func (c *cache) get(ctx context.Context, key string) (io.Reader, bool) {
caching.go#L192: func (c *cache) put(ctx context.Context, key string, rec *cacheRecorder, ttl time.Duration) {
![]() |
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. |