Persist, renew and delete sessions, refactor storage package, move reusable packages to pkg
This commit is contained in:
parent
121582f72a
commit
24f9553aa5
48 changed files with 1872 additions and 1171 deletions
5
pkg/session/session.schema
Normal file
5
pkg/session/session.schema
Normal file
|
@ -0,0 +1,5 @@
|
|||
struct Session {
|
||||
UserID uint64
|
||||
key string
|
||||
createdAt int64
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue