Documentation ¶ Index ¶ type DbSession type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DbSession ¶ type DbSession struct { Id string UserId uuid.UUID ExpiryDate time.Time LastSeenTime time.Time LogInTime time.Time IpAddress *string // -> more location like country bcs of dynamic ip address Device *string } type User ¶ type User struct { Id uuid.UUID Username string Email string HashedPassword string Salt string } This would also be a schema in the db Source Files ¶ View all Source files db-sql.go login.example.go logout.example.go register.example.go Click to show internal directories. Click to hide internal directories.