Documentation ¶
Index ¶
- Variables
- func WriteCookie(c echo.Context, sessionID ID) error
- type ID
- type Manager
- func (m *Manager) Create() (ID, error)
- func (m *Manager) Delete(sessionID ID) error
- func (m *Manager) DeleteExpired() error
- func (m *Manager) LoadStore(sessionID ID) (Store, error)
- func (m *Manager) SaveStore(sessionID ID, sessionStore Store) error
- func (m *Manager) Start(echo *echo.Echo)
- func (m *Manager) Stop()
- type Store
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorBadParameter = errors.New("Bad Parameter") ErrorNotFound = errors.New("Not Found") ErrorInvalidToken = errors.New("Invalid Token") ErrorInvalidCommand = errors.New("Invalid Command") ErrorNotImplemented = errors.New("Not Implemented") ErrorOther = errors.New("Other") )
Managerが返す各エラーのインスタンスを生成します。
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.