package
Version:
v0.0.0-...-459856e
Opens a new window with list of versions in this module.
Published: Jan 8, 2020
License: BSD-2-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Event struct {
gorm.Model
UserID uint `gorm:"column:user_id" json:"USER_ID"`
Action string `gorm:"column:action" json:"Action"`
Type string `gorm:"column:type" json:"Type"`
Message string `gorm:"column:message" json:"Message"`
}
Event contains operational API and database events
type User struct {
gorm.Model
Alias string `gorm:"column:alias;unique" json:"Alias"`
Password string `gorm:"column:password" json:"PasswordHash"`
}
User is a user object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.