create redis session go file

This commit is contained in:
Gregory Wells
2026-06-07 19:58:59 -04:00
parent 10900093e0
commit 9c984fefaf
+31
View File
@@ -0,0 +1,31 @@
package session
import (
"astraltech.xyz/accountmanager/src/logging"
)
type RedisStore struct {
}
func NewRedisStore() *RedisStore {
logging.Debug("Creating new in redis session store")
store := &RedisStore{}
return store
}
func (m *RedisStore) Create(sessionID string, session *SessionData) (err error) {
return nil
}
func (m *RedisStore) Get(sessionID string) (*SessionData, error) {
return nil, nil
}
func (m *RedisStore) Update(sessionID string, session *SessionData) error {
return nil
}
func (m *RedisStore) cleanup() {
}
func (m *RedisStore) Delete(sessionID string) error {
return nil
}