Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HashSize means the length of hash string.
HashSize = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Put(key []byte, value []byte) Get(key []byte) ([]byte, error) Delete(key []byte) error }
Cache interface is used for cache data from database.
Click to show internal directories.
Click to hide internal directories.