Documentation
¶
Index ¶
Constants ¶
View Source
const ( //OptHost Redis/Valkey host name. type: string OptHost = iota + storage.OptDataTypes + 1 //OptPort the port number for the server. Will default to 6379 if not supplied. type: int OptPort //OptClientCaching set true to use client side caching else false. type: bool OptClientCaching //see https://redis.io/docs/latest/develop/reference/client-side-caching/ //OptClientCachingTtl if OptClientCaching is true, then how long to keep the client side caching item. type: time.Duration OptClientCachingTtl //OptValkeyOptions Valkey client options. type: valkey.ClientOption OptValkeyOptions //OptManageTypes set true to manage data types. type: bool OptManageTypes //OptDatetimeFormat the datetime format to use for the cache datetime values when data types are managed. Defaults to time.RFC3339. type: string OptDatetimeFormat )
View Source
const ( //ManagedDataTypeCacheKeyPrefix the prefix for the managed data type cache key. ManagedDataTypeCacheKeyPrefix = "gcm:" // ManagedDataTypeCacheTpl formatting string for the managed data type cache key. ManagedDataTypeCacheTpl = ManagedDataTypeCacheKeyPrefix + "%s" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.