Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reg ¶
func Reg(store FilesystemStore, args ...string)
func RegWithOptions ¶
func RegWithOptions(opts *FileOptions, args ...string)
Types ¶
type FileOptions ¶
type FileOptions struct { SavePath string `json:"savePath"` KeyPairs [][]byte `json:"keyPairs"` *echo.SessionOptions `json:"session"` }
type FilesystemStore ¶
func New ¶
func New(opts *FileOptions) FilesystemStore
func NewFilesystemStore ¶
func NewFilesystemStore(path string, keyPairs ...[]byte) FilesystemStore
NewFilesystemStore returns a new FilesystemStore.
The path argument is the directory where sessions will be saved. If empty it will use os.TempDir().
See NewCookieStore() for a description of the other parameters.
Click to show internal directories.
Click to hide internal directories.