Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mkdocs.yml. Fixed typo Hybird => Hybrid #505

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public class Startup
config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379));
}, "redis1")
.WithMessagePack()//with messagepack serialization
.UseRedisLock()//with distributed lock
;
});
}
Expand Down
3 changes: 2 additions & 1 deletion docs/Hybrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Install-Package EasyCaching.HybridCache
Install-Package EasyCaching.InMemory
Install-Package EasyCaching.Redis
Install-Package EasyCaching.Bus.Redis
Install-Package EasyCaching.Serialization.Json
```

## 2. Config in Startup class
Expand All @@ -41,7 +42,7 @@ public class Startup
// distributed
option.UseRedis(config =>
{
config.DBConfig.Endpoints.Add(new Core.Configurations.ServerEndPoint("127.0.0.1", 6379));
config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379));
config.DBConfig.Database = 5;
config.SerializerName = "myjson";
}, "myredis");
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pages:
- CSRedis: CSRedis.md
- Memcached : Memcached.md
- SQLite : SQLite.md
- Hybird : Hybrid.md
- Hybrid : Hybrid.md
- Disk : Disk.md
- LiteDB : LiteDB.md
- FasterKv: FasterKv.md
Expand Down