Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultKey = "github.com/LonelyPale/goutils/session"
)
Variables ¶
This section is empty.
Functions ¶
func Sessions ¶ added in v0.0.6
func Sessions(store Store) gin.HandlerFunc
Types ¶
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
func (*MemoryStore) Delete ¶
func (m *MemoryStore) Delete(id string) error
func (*MemoryStore) New ¶
func (m *MemoryStore) New() Session
func (*MemoryStore) Save ¶
func (m *MemoryStore) Save(s Session) error
func (*MemoryStore) Session ¶
func (m *MemoryStore) Session(request interface{}) (Session, error)
Click to show internal directories.
Click to hide internal directories.