dto

package
v0.0.0-...-c69a8cc Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package dto provides data containers (DTO pattern) to transfer information between server and DB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	gorm.Model
	UserID  uint
	Message string
}

Alert describes alert information.

type Auth

type Auth struct {
	gorm.Model
	Login        string
	PasswordHash string
}

Auth describes authentication data.

type User

type User struct {
	gorm.Model
	Nick string
}

User describes user data.

Jump to

Keyboard shortcuts

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