Extended Structure
Application.Caches.Provider
extension Application.Caches.Provider
Topics
Type Properties
static var redis: Application.Caches.ProviderConfigures the application cache to use the default Redis ID and coders.
Type Methods
static func redis<E, D>(RedisID, encoder: E, decoder: D) -> Application.Caches.ProviderConfigures the application cache to use the given Redis ID and the provided encoder and decoder.static func redis(RedisID, jsonEncoder: JSONEncoder, jsonDecoder: JSONDecoder) -> Application.Caches.ProviderConfigures the application cache to use the given Redis ID and the default coders.