Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryStorage ¶
type InMemoryStorage struct {
// contains filtered or unexported fields
}
func NewInMemoryStorage ¶
func NewInMemoryStorage() *InMemoryStorage
func (*InMemoryStorage) Clear ¶
func (s *InMemoryStorage) Clear()
func (*InMemoryStorage) Delete ¶
func (s *InMemoryStorage) Delete(key string)
func (*InMemoryStorage) Get ¶
func (s *InMemoryStorage) Get(session *Session)
func (*InMemoryStorage) Set ¶
func (s *InMemoryStorage) Set(session Session) error
type Sessions ¶
func NewMiddleware ¶
func (*Sessions) DeleteSession ¶
func (*Sessions) Middleware ¶
func (s *Sessions) Middleware() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.