sessioncache

package
v0.0.0-...-118f5d4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoCache

type GoCache struct {
	// contains filtered or unexported fields
}

func (*GoCache) Get

func (g *GoCache) Get(key string) (interface{}, error)

func (*GoCache) New

func (g *GoCache) New()

Initialise the gocache object and set up the cache

func (*GoCache) Set

func (g *GoCache) Set(key string, value interface{}, cacheDuration int)

type MemCache

type MemCache interface {
	Set(key string, value interface{}, cacheDuration int)
	Get(key string) (interface{}, error)
	New()
}

Jump to

Keyboard shortcuts

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