Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet(NewMongoCacheDB)
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Get(key string) ([]byte, error) Set(key string, val []byte, exp time.Duration) error Delete(key string) error Reset() error Close() error }
func NewMongoCacheDB ¶
Click to show internal directories.
Click to hide internal directories.