models

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 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 HostInfo added in v0.5.0

type HostInfo struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	IP          string `json:"ip"`
	Port        string `json:"port"`
	Key         string `json:"key"`
	QrCode      string `json:"qrCode,omitempty"`
}

type Login

type Login struct {
	Password string `form:"password"`
}

type Password

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

type User

type User struct {
	Password string
	Apikey   string
}

Jump to

Keyboard shortcuts

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