models

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey

type ApiKey struct {
	Key    string `json:"key"`
	QrCode string `json:"qrCode"`
}

type Login

type Login struct {
	Username string `form:"username"`
	Password string `form:"password"`
	Remember string `form:"remember"`
}

type Password

type Password struct {
	CurrentPassword    string `form:"currentPassword"`
	NewPassword        string `form:"newPassword"`
	RepeateNewPassword string `form:"repeatNewPassword"`
}

type QR

type QR struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Port        string `json:"port"`
	Key         string `json:"key"`
}

type User

type User struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Apikey   string `json:"apikey"`
	QrCode   string `json:"qrCode"`
}

Jump to

Keyboard shortcuts

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