ent seteup
This commit is contained in:
17
pkg/auth/session.go
Normal file
17
pkg/auth/session.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user