Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Kwiscale Memcache Session Engine

This package provides a Session Engine to use Memcache.

Installation

Use gopkg.in url to get a versionned package:

go get -u gopkg.in/kwiscale/session-memcached.v0

Then you can import package in you application:

package main
import (
"gopkg.in/kwiscale/framework"
_ "gopkg.in/kwiscae/session-memcached"
)
funcmain(){
// configurationcfg:=&kwiscale.Config{
SessionEngine: "memcached",
SessionEngineOptions: SessionEngineOptions{
"prefix": "optional prefix",
"servers" : []string{
"192.168.1.5:11211", // at least one server
}
}
}
}

Note that the port is mandatory (at this time).

About

Memcache session plugin

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages