Versions in this module Expand all Collapse all v1 v1.5.1 Jun 11, 2025 v1.5.0 Jun 9, 2025 Changes in this version + var RedisName = "redis" + var RedisSessionPrefix = "httpsession" + func SessionProvider() httpsession.SessionProvider + type RedisSession struct + func (s *RedisSession) Clear() httpsession.Session + func (s *RedisSession) Data() map[string]string + func (s *RedisSession) Delete(key string) + func (s *RedisSession) Expire() *time.Time + func (s *RedisSession) GetInt64(key string) int64 + func (s *RedisSession) GetString(key string) string + func (s *RedisSession) GetStruct(key string, obj any) + func (s *RedisSession) ID() string + func (s *RedisSession) IsExpire() bool + func (s *RedisSession) PutInt64(key string, value int64) httpsession.Session + func (s *RedisSession) PutString(key string, value string) httpsession.Session + func (s *RedisSession) PutStruct(key string, value any) httpsession.Session + func (s *RedisSession) Reload() httpsession.Session + func (s *RedisSession) Remove() + func (s *RedisSession) Save() httpsession.Session + func (s *RedisSession) SetExpire(expire *time.Time) httpsession.Session + type RedisSessionProvider struct + Master *datastore.KKRedisOp + Slave *datastore.KKRedisOp + func (r *RedisSessionProvider) NewSession(expire *time.Time) httpsession.Session + func (r *RedisSessionProvider) Session(key string) httpsession.Session + func (r *RedisSessionProvider) Sessions() map[string]httpsession.Session + type SessionEntity struct + Data map[string]string + Expired int64 + ID string + LifeTime int64