Description

Package memcache for session provider

depend on github.com/bradfitz/gomemcache/memcache

go install github.com/bradfitz/gomemcache/memcache

Usage: import(

_ "github.com/astaxie/beego/session/memcache"
"github.com/astaxie/beego/session"

)

func init() {
	globalSessions, _ = session.NewManager("memcache", ``{"cookieName":"gosessionid","gclifetime":3600,"ProviderConfig":"127.0.0.1:11211"}``)
	go globalSessions.GC()
}

more docs: http://beego.me/docs/module/session.md

memcache is referenced in 1 repository

github.com/astaxie/beego