models

package
v0.0.0-...-7cbedea Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	gorm.Model

	Name    string `json:"name"`
	JWTKey  string `json:"-"`
	JWTType string `json:"-"`
}

Application model store Name, JWTKey and KWTType

type Credential

type Credential struct {
	gorm.Model

	Email          string `json:"email"`
	SecurePassword string `json:"-"`
	JWTKey         string `json:"-"`
	JWTType        string `json:"-"`
}

Credential model store email and the secure password

Jump to

Keyboard shortcuts

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