mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
13 lines
384 B
Go
13 lines
384 B
Go
package fastcache
|
|
|
|
type Cache struct{}
|
|
|
|
func (*Cache) Get(dst, k []byte) []byte { return nil }
|
|
func (*Cache) HasGet(dst, k []byte) ([]byte, bool) { return nil, false }
|
|
func (*Cache) Set(k, v []byte) {}
|
|
func (*Cache) Reset() {}
|
|
func (*Cache) Del([]byte) {}
|
|
|
|
func New(int) *Cache {
|
|
return &Cache{}
|
|
}
|