package session import ( "net/http" "github.com/gorilla/sessions" "github.com/uptrace/bun" ) type SessionStore struct { orm *bun.DB } // Get should return a cached session. func (s *SessionStore) Get(r *http.Request, name string) (*sessions.Session, error) { panic("not implemented") // TODO: Implement } // New should create and return a new session. // // Note that New should never return a nil session, even in the case of // an error if using the Registry infrastructure to cache the session. func (s *SessionStore) New(r *http.Request, name string) (*sessions.Session, error) { panic("not implemented") // TODO: Implement } // Save should persist session to the underlying store implementation. func (s *SessionStore) Save(r *http.Request, w http.ResponseWriter, ss *sessions.Session) error { panic("not implemented") // TODO: Implement }