# RedisResource

- Module: [CommunityToolkit.Aspire.Hosting.Redis.Extensions](/reference/api/go/communitytoolkit.aspire.hosting.redis.extensions.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

## Definition

```go
type RedisResource interface{}
```

## Methods

- [WithDbGate](/reference/api/go/communitytoolkit.aspire.hosting.redis.extensions/redisresource/withdbgate.md) -- `method` -- Adds an administration and development platform for Redis to the application model using DbGate.
  ```go
  WithDbGate(options ...*WithDbGateOptions) RedisResource
  ```
- [WithDbx](/reference/api/go/communitytoolkit.aspire.hosting.redis.extensions/redisresource/withdbx.md) -- `method` -- Adds an administration and development platform for Redis to the application model using dbx.
  ```go
  WithDbx(options ...*WithDbxOptions) RedisResource
  ```
