Skip to content

Commit

Permalink
Merge pull request #40 from 2manymws/add-cacher-handler
Browse files Browse the repository at this point in the history
Add CacherHandler
  • Loading branch information
k1LoW authored Dec 21, 2023
2 parents c8f8be6 + 9294be8 commit 2d60105
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rc.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ type Handler interface {
Storable(req *http.Request, res *http.Response, now time.Time) (ok bool, expires time.Time)
}

type CacherHandler interface {
Cacher
Handler
}

var _ Handler = (*rfc9111.Shared)(nil)

type cacher struct {
Expand Down

0 comments on commit 2d60105

Please sign in to comment.