Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithModule

Method
📦 Aspire.Hosting.Redis v17.0.0
func (RedisResource) 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().

Applies to

This method applies to the following types: