Documentation
¶
Index ¶
- type Option
- type SQLiteSessionStore
- func (s *SQLiteSessionStore) Get(r *http.Request, name string) (*gsessions.Session, error)
- func (s *SQLiteSessionStore) New(r *http.Request, name string) (*gsessions.Session, error)
- func (s *SQLiteSessionStore) Options(options ginsessions.Options)
- func (s *SQLiteSessionStore) Save(_ *http.Request, w http.ResponseWriter, session *gsessions.Session) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteSessionStore ¶
type SQLiteSessionStore struct {
// contains filtered or unexported fields
}
func NewSQLiteSessionStore ¶
func NewSQLiteSessionStore(db *gorm.DB, keyPairs ...[]byte) (*SQLiteSessionStore, error)
func (*SQLiteSessionStore) Options ¶
func (s *SQLiteSessionStore) Options(options ginsessions.Options)
func (*SQLiteSessionStore) Save ¶
func (s *SQLiteSessionStore) Save(_ *http.Request, w http.ResponseWriter, session *gsessions.Session) error
Click to show internal directories.
Click to hide internal directories.