model

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm uint8

type NewFirmwareParams

type NewFirmwareParams struct {
	ProductKey   string    `json:"product_key" binding:"required"`
	FirmwareName string    `json:"firmware_name" binding:"required"`
	Version      string    `json:"version" binding:"required"`
	Remark       string    `json:"remark" binding:"max=20"`
	FirmwareType int       `json:"firmware_type" binding:"required,min=0,max=1"`
	URL          string    `json:"url" binding:"required,max=256"`
	SignMethod   Algorithm `json:"sign_method" binding:"min=0,max=4"`
	Enable       bool      `json:"enable"`
	Tags         []string  `json:"tags"`
}

Jump to

Keyboard shortcuts

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