session

package
v0.0.0-...-bd7d7c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL