Documentation ¶
Index ¶
- type RedisSessionService
- func (s *RedisSessionService) Get(key interface{}, c *gin.Context) (interface{}, error)
- func (s *RedisSessionService) NewRedisSessionService(redisAdr, key string) (*RedisSessionService, error)
- func (s *RedisSessionService) Set(key, value interface{}, c *gin.Context) error
- func (s *RedisSessionService) UseRedisSession(engine *gin.Engine)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisSessionService ¶
type RedisSessionService struct {
// contains filtered or unexported fields
}
func (*RedisSessionService) Get ¶
func (s *RedisSessionService) Get(key interface{}, c *gin.Context) (interface{}, error)
func (*RedisSessionService) NewRedisSessionService ¶
func (s *RedisSessionService) NewRedisSessionService(redisAdr, key string) (*RedisSessionService, error)
func (*RedisSessionService) Set ¶
func (s *RedisSessionService) Set(key, value interface{}, c *gin.Context) error
func (*RedisSessionService) UseRedisSession ¶
func (s *RedisSessionService) UseRedisSession(engine *gin.Engine)
Click to show internal directories.
Click to hide internal directories.