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 16, 2023
1 parent d53f5df commit 97a2c16
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions service/cachemdw/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Package cachemdw is responsible for caching EVM requests and provides corresponding middleware
// package can work with any underlying storage which implements simple cache.Cache interface
//
// package provides two different middlewares:
// - IsCachedMiddleware (should be run before proxy middleware)
// - CachingMiddleware (should be run after proxy middleware)
//
// IsCachedMiddleware is responsible for setting response in the context if it's in the cache
// CachingMiddleware is responsible for caching response by taking a value from context (should be set by proxy mdw) and setting in the cache
package cachemdw
File renamed without changes.

0 comments on commit 97a2c16

Please sign in to comment.