Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
0cfde640
Commit
0cfde640
authored
4 years ago
by
Akshay Bharambe
Browse files
Options
Downloads
Patches
Plain Diff
Rename cache init funtion
parent
f4d7a512
2 merge requests
!210
Staging mepdeployment05072020
,
!200
Add: Session control
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
authmdl/sessionmdl/session.go
+2
-2
authmdl/sessionmdl/session.go
with
2 additions
and
2 deletions
authmdl/sessionmdl/session.go
+
2
−
2
View file @
0cfde640
...
...
@@ -32,8 +32,8 @@ var (
ErrSessionValidationFailed
=
errors
.
New
(
"session validation failed"
)
)
// InitSession
Manager
Cache initializes the cache with provided configuration. Need to provide a cache type to use.
func
InitSession
Manager
Cache
(
chacheType
int
)
{
// Init
User
SessionCache initializes the cache with provided configuration. Need to provide a cache type to use.
func
Init
User
SessionCache
(
chacheType
int
)
{
cacheConfig
:=
cachemdl
.
CacheConfig
{
Type
:
chacheType
,
RedisCache
:
&
cachemdl
.
RedisCache
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets