Versions in this module Expand all Collapse all v0 v0.2.0 May 22, 2019 Changes in this version + func Delete(session *Session, key string) + func Get(session *Session, key string) + func Logger(inner http.Handler, name string) http.Handler + func NewRouter() *mux.Router + func Save(session *Session, key string, create bool, data []byte) + func Start() + func Subscribe(session *Session, key string) + func Unsubscribe(session *Session, key string) + type Route struct + Handler http.Handler + Method string + Name string + Path string + type Routes []Route + type Session struct + Expires int64 + ID string + Subscriptions []string + func GetSession(name string) (*Session, error) + func GetSessionFromNamespace(namespace *datastore.Key, name string) (*Session, error) + func NewSession(wsConn *websocket.Conn) *Session + func ResumeSession(id string, wsConn *websocket.Conn) (*Session, error) + func (m *Session) Create(name string) error + func (m *Session) CreateInNamespace(namespace *datastore.Key, name string) error + func (m *Session) CreateWithID() error + func (m *Session) Deactivate() + func (m *Session) Save() error + func (m *Session) Subscribe(subKey string) + func (m *Session) Unsubscribe(subKey string) + func (m *Session) Writer()