models

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: GPL-3.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 AllUrls

type AllUrls struct {
	Urls []*Url
}

type TemplateData

type TemplateData struct {
	StringMap           map[string]string
	IntMap              map[string]int
	FloatMap            map[string]float32
	Data                map[string]interface{}
	HeadersMap          map[string]interface{}
	FtpBannerGrabberMap map[string]interface{}
	CSRFToken           string
	Flash               string
	Warning             string
	Error               string
}

Template data holds data sent from handlers to templates

type Url

type Url struct {
	Id       int     `json:"id"`
	Path     string  `json:"path"`
	Status   float64 `json:"status"`
	Progress float32 `json:"progress"`
}

Jump to

Keyboard shortcuts

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