RedisResource.WithModule

Method
📦 Aspire.Hosting.Redis v17.0.0
type RedisResource interface {
// ... omitted for brevity
WithModule(path string) RedisResource
}

Signature

methodWithModulebuilder
Configures the Redis resource to use the specified Redis module by providing its path inside the container.
WithModule(path string) RedisResource
pathstringThe absolute path to the Redis module inside the Redis container.
RedisResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: