| 57 | } |
| 58 | |
| 59 | type SnappyCache struct { |
| 60 | next Cache |
| 61 | logger log.Logger |
| 62 | } |
| 63 | |
| 64 | // NewSnappy makes a new snappy encoding cache wrapper. |
| 65 | func NewSnappy(next Cache, logger log.Logger) *SnappyCache { |
nothing calls this directly
no outgoing calls
no test coverage detected