Initial commit: Open sourcing all of the Maple Open Technologies code.
This commit is contained in:
commit
755d54a99d
2010 changed files with 448675 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
package session
|
||||
|
||||
// Repository interface defines data access operations for sessions
|
||||
type Repository interface {
|
||||
// Save stores a session
|
||||
Save(session *Session) error
|
||||
|
||||
// Get retrieves the current session
|
||||
Get() (*Session, error)
|
||||
|
||||
// Delete removes the current session
|
||||
Delete() error
|
||||
|
||||
// Exists checks if a session exists
|
||||
Exists() (bool, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue