Documentation ¶
Overview ¶
Package storage session存储器
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStorage ¶
type MemoryStorage struct {
// contains filtered or unexported fields
}
func NewMemoryStorage ¶
func NewMemoryStorage() *MemoryStorage
func (MemoryStorage) HasExpired ¶
func (s MemoryStorage) HasExpired(ctx context.Context, key string) bool
Click to show internal directories.
Click to hide internal directories.