models

package
v0.0.0-...-3104f5d Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	gorm.Model
	AppName    string `json:"appName"  gorm:"not null; unique"`
	IPAddress  string `json:"ipAddress" gorm:"not null;"`
	Port       string `json:"port" gorm:"not null;"`
	Folders    string `json:"folders"`
	ConfigPath string `json:"configPath"`
	ClientHash string `json:"clientHash"`
	AuthToken  string `json:"authToken"`
	Status     bool   `json:"status" gorm:"default: 1"`
}

type CustomClaims

type CustomClaims struct {
	AppName string `json:"app_name"`
	jwt.StandardClaims
}

type LogFile

type LogFile struct {
	Name string  `json:"name"`
	Size float64 `json:"size"`
	Path string  `json:"path"`
	Date string  `json:"date"`
}

Jump to

Keyboard shortcuts

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