store

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2016 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 1 Imported by: 0

Documentation

Overview

Package store the package is in diffent folder to reduce the import cycles from the ./context/context.go *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IStore

type IStore interface {
	Get(string) interface{}
	GetString(string) string
	GetInt(string) int
	Set(string, interface{}) error
	Delete(string) error
	Clear() error
	VisitAll(func(string, interface{}))
	GetAll() map[string]interface{}
	ID() string
	LastAccessedTime() time.Time
	SetLastAccessedTime(time.Time)
	Destroy()
}

IStore is the interface which all session stores should implement

Jump to

Keyboard shortcuts

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