webui

package
v0.0.0-...-ea0670a Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assets = assets.NewFileSystem(map[string][]string{"assets/css": []string{"conoha-iso.css"}, "assets/js": []string{"knockout.js", "conoha-iso.js", "superagent.js", "knockout-3.4.0.js"}, "template": []string{"index.html", "layout.html"}, "assets": []string{}}, map[string]*assets.File{
	"assets/js/knockout.js": &assets.File{
		Path:     "assets/js/knockout.js",
		FileMode: 0x80001ff,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     []byte(_Assetsadfdc590713ae2593061b2123f637e2a29c5c7cb),
	}, "template": &assets.File{
		Path:     "template",
		FileMode: 0x800001fd,
		Mtime:    time.Unix(1510905856, 1510905856235646222),
		Data:     nil,
	}, "template/index.html": &assets.File{
		Path:     "template/index.html",
		FileMode: 0x1b4,
		Mtime:    time.Unix(1510905856, 1510905856235646222),
		Data:     []byte(_Assetsb8dcdfcfeee7287009230f6d38ca8e7047e761e6),
	}, "assets": &assets.File{
		Path:     "assets",
		FileMode: 0x800001fd,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     nil,
	}, "assets/js": &assets.File{
		Path:     "assets/js",
		FileMode: 0x800001fd,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     nil,
	}, "assets/js/superagent.js": &assets.File{
		Path:     "assets/js/superagent.js",
		FileMode: 0x1b4,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     []byte(_Assetsda7d413559371acac7665ec2d577c57ec7458ea7),
	}, "assets/js/knockout-3.4.0.js": &assets.File{
		Path:     "assets/js/knockout-3.4.0.js",
		FileMode: 0x1b4,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     []byte(_Assetsdda1e0ed5bfb4e4b10dbf4c0e56b191ca8a4569d),
	}, "template/layout.html": &assets.File{
		Path:     "template/layout.html",
		FileMode: 0x1b4,
		Mtime:    time.Unix(1510905856, 1510905856235646222),
		Data:     []byte(_Assets1a0151825edaef9c2f5e9cda90ee9753a225f1e9),
	}, "assets/css": &assets.File{
		Path:     "assets/css",
		FileMode: 0x800001fd,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     nil,
	}, "assets/css/conoha-iso.css": &assets.File{
		Path:     "assets/css/conoha-iso.css",
		FileMode: 0x1b4,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     []byte(_Assets04790c6aef3a06407f4d10d18ad336538967cd87),
	}, "assets/js/conoha-iso.js": &assets.File{
		Path:     "assets/js/conoha-iso.js",
		FileMode: 0x1b4,
		Mtime:    time.Unix(1510905856, 1510905856231646211),
		Data:     []byte(_Assetsb191c44ae2620c822eaea41a0333ce7d46d8bf66),
	}}, "")

Assets returns go-assets FileSystem

Functions

func RunServer

func RunServer(address string, ident *command.Identity) (err error)

Types

type IndexTemplateParams

type IndexTemplateParams struct {
	Error         error
	CheckedServer string
	CheckedIso    string
	DownloadUrl   string
	Notice        string
}

type Template

type Template struct {
	// contains filtered or unexported fields
}

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Jump to

Keyboard shortcuts

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