Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheBackendChecker ¶
type CacheBackendChecker[T backend.IBackendConstrain] struct { Backend backend.IBackend[T] }
CacheBackendChecker is a helper struct to check the type of the backend
func (*CacheBackendChecker[T]) IsInMemoryBackend ¶
func (c *CacheBackendChecker[T]) IsInMemoryBackend() bool
IsInMemoryBackend returns true if the backend is an InMemoryBackend
func (*CacheBackendChecker[T]) IsRedisBackend ¶
func (c *CacheBackendChecker[T]) IsRedisBackend() bool
IsRedisBackend returns true if the backend is a RedisBackend
Click to show internal directories.
Click to hide internal directories.