models

package
v0.0.0-...-459856e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2020 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL