Documentation ¶
Index ¶
- Variables
- func New(opts *BoltOptions) sessions.Store
- func NewBoltStore(opts *BoltOptions) (sessions.Store, error)
- func Reg(store sessions.Store, args ...string)
- func RegWithOptions(opts *BoltOptions, args ...string) sessions.Store
- type BoltOptions
- type Storex
- func (s *Storex) Get(ctx echo.Context, name string) (*sessions.Session, error)
- func (s *Storex) New(ctx echo.Context, name string) (*sessions.Session, error)
- func (s *Storex) Reload(ctx echo.Context, session *sessions.Session) error
- func (s *Storex) Save(ctx echo.Context, session *sessions.Session) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultCheckInterval = time.Minute * 30
)
Functions ¶
func New ¶
func New(opts *BoltOptions) sessions.Store
func NewBoltStore ¶
func NewBoltStore(opts *BoltOptions) (sessions.Store, error)
NewBoltStore ./sessions.db
func RegWithOptions ¶
func RegWithOptions(opts *BoltOptions, args ...string) sessions.Store
Types ¶
type BoltOptions ¶
Click to show internal directories.
Click to hide internal directories.