18 lines
283 B
Go
18 lines
283 B
Go
package auth
|
|
|
|
// NewSession for user.
|
|
//
|
|
// Authenticated
|
|
func NewSession(email, pwd string) (*AuthUser, error) {
|
|
// authenticate.
|
|
|
|
// create sesion entry in db
|
|
|
|
panic("not implemented")
|
|
}
|
|
|
|
// RemoveSession entry from DB
|
|
func RemoveSession(sID uint) {
|
|
panic("not implemented")
|
|
}
|