add session struct
parent
720b2e876e
commit
b3c03a1dca
|
@ -0,0 +1,14 @@
|
|||
package structs
|
||||
|
||||
import "time"
|
||||
|
||||
// User represents a session
|
||||
// swagger:model
|
||||
type Session struct {
|
||||
UserId string
|
||||
SessionId string
|
||||
IP string
|
||||
UserAgent string
|
||||
LastLogin time.Time
|
||||
Expires time.Time
|
||||
}
|
Loading…
Reference in New Issue