Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Add(context.Context, string) error Remove(context.Context, string) error Exists(context.Context, string) (bool, error) ExistsNetwork(context.Context, string, ...string) (bool, error) Size(context.Context) (int64, error) }
func NewMapCache ¶
func NewMapCache() Cache
func NewRedisCache ¶
Click to show internal directories.
Click to hide internal directories.