Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redis-client-sdk
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
go
redis-client-sdk
Commits
286200cd
Commit
286200cd
authored
Oct 12, 2022
by
yemin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c0808ad7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
RedisClient.go
redis/RedisClient.go
+5
-0
No files found.
redis/RedisClient.go
View file @
286200cd
...
@@ -37,6 +37,11 @@ func Init() {
...
@@ -37,6 +37,11 @@ func Init() {
return
return
}
}
// CloseRedis 关闭redis连接池
func
CloseRedis
()
{
redisClient
.
Close
()
}
func
getDb
()
*
redis
.
Client
{
func
getDb
()
*
redis
.
Client
{
return
redisClient
return
redisClient
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment