func Configure(s Session) {
	Store = sessions.NewCookieStore([]byte(s.SecretKey))
	Store.Options = &s.Options
	Name = s.Name
}
Configure the session cookie store
package session
import (
	"net/http"
	"github.com/gorilla/sessions"
)
var (
	Store *sessions.CookieStore
	Name string
)
type Session struct {
	Options   sessions.Options `json:"Options"`    
	Name      string           `json:"Name"`       
	SecretKey string           `json:"SecretKey"`  
}