LogtoResource.WithRedis
Method
type LogtoResource interface { // ... omitted for brevity WithRedis(redis RedisResource) LogtoResource}Signature
method
WithRedis builderConfigures the Logto resource to use a specified Redis resource for caching or other functionality.
WithRedis(redis RedisResource) LogtoResourceParameters
redisRedisResource The resource builder for the Redis resource to be used by the Logto resource.Returns
LogtoResource The resource builder configured with the specified Redis resource.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: