diff --git a/src/session/session_redis.go b/src/session/session_redis.go new file mode 100644 index 0000000..3483d46 --- /dev/null +++ b/src/session/session_redis.go @@ -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 +}