Skip to content

Commit

Permalink
CR's fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed Oct 11, 2023
1 parent b917473 commit 6546bd8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions service/cachemdw/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ import (
"github.com/kava-labs/kava-proxy-service/decode"
)

type cacheContextKey string

const (
CachedContextKey cacheContextKey = "X-KAVA-PROXY-CACHED"
CachedContextKey = "X-KAVA-PROXY-CACHED"

CacheHeaderKey = "X-Cache"
CacheHeaderKey = "X-KAVA-PROXY-CACHE-STATUS"
CacheHitHeaderValue = "HIT"
CacheMissHeaderValue = "MISS"
)
Expand Down

0 comments on commit 6546bd8

Please sign in to comment.