gotty/app/resource.go

309 lines
535 KiB
Go
Raw Normal View History

2015-08-16 09:47:23 +00:00
// Code generated by go-bindata.
// sources:
2015-08-30 07:27:40 +00:00
// bindata/static/favicon.png
2015-08-23 11:40:18 +00:00
// bindata/static/index.html
// bindata/static/js/gotty.js
// bindata/static/js/hterm.js
2015-08-16 09:47:23 +00:00
// DO NOT EDIT!
package app
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
2015-08-20 07:45:06 +00:00
"os"
2015-08-16 09:47:23 +00:00
"path/filepath"
2015-08-20 07:45:06 +00:00
"strings"
"time"
2015-08-16 09:47:23 +00:00
)
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
2015-08-20 07:45:06 +00:00
name string
size int64
mode os.FileMode
2015-08-16 09:47:23 +00:00
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
2015-08-30 07:27:40 +00:00
var _staticFaviconPng = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x00\x5f\x03\xa0\xfc\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x20\x00\x00\x00\x20\x08\x03\x00\x00\x00\x44\xa4\x8a\xc6\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\x79\x71\xc9\x65\x3c\x00\x00\x01\xa4\x50\x4c\x54\x45\x1c\x1c\x1c\x2e\x2e\x2e\x1a\x1a\x1a\x25\x25\x25\x26\x26\x26\x24\x24\x24\x4e\x4e\x4e\x5f\x5f\x5f\x20\x20\x20\x1e\x1e\x1e\x1f\x1f\x1f\x22\x22\x22\x1d\x1d\x1d\x21\x21\x21\x3b\x3b\x3b\x19\x19\x19\x16\x16\x16\x2c\x2c\x2c\x29\x29\x29\x28\x28\x28\x27\x27\x27\x2b\x2b\x2b\x2a\x2a\x2a\x2d\x2d\x2d\x2f\x2f\x2f\x00\xac\x3a\x00\xa9\x3a\x60\x60\x60\x3a\x3a\x3a\x00\xae\x3b\x05\x9a\x38\x5e\x5e\x5e\x25\x24\x24\x52\x52\x52\x18\x18\x18\x39\x39\x39\x55\x55\x55\x5c\x5c\x5c\x5d\x5d\x5d\x37\x37\x37\x32\x32\x32\x50\x50\x50\x61\x61\x61\x5b\x5b\x5b\x4f\x4f\x4f\x58\x58\x58\x53\x53\x53\x59\x59\x59\x30\x27\x2d\x28\x1e\x24\x56\x56\x56\x54\x54\x54\x14\x14\x14\x2f\x2c\x2e\x17\x17\x17\x1b\x1b\x1b\x44\x44\x44\x35\x35\x35\x33\x33\x33\x4a\x4a\x4a\x36\x36\x36\x38\x38\x38\x20\x62\x36\x34\x34\x34\x30\x30\x30\x31\x31\x31\x23\x24\x24\x75\x75\x75\x2a\x22\x27\x20\x55\x32\x2e\x2b\x2d\x27\x1f\x24\x2e\x2a\x2d\x29\x26\x28\x62\x62\x62\x25\x21\x24\x26\x25\x25\x26\x2e\x29\x2b\x28\x2a\x20\x60\x36\x1f\x3b\x29\x2d\x25\x2b\x1f\x53\x32\x11\x70\x32\x25\x24\x25\x1d\x4f\x2e\x25\x29\x27\x1f\x52\x31\x00\xb1\x3b\x27\x2e\x2a\x77\x77\x77\x28\x2f\x2b\x2a\x31\x2d\x00\xb6\x3c\x23\x23\x23\x28\x25\x27\x2f\x2e\x2f\x11\x71\x32\x5a\x5a\x5a\x14\x66\x30\x30\x28\x2d\x2e\x25\x2c\x22\x5a\x35\x1e\x51\x2f\x2e\x31\x2f\x29\x21\x26\x2a\x3e\x31\x25\x26\x26\x2b\x32\x2d\x1c\x4f\x2d\x2c\x24\x2a\x30\x26\x2c\x28\x20\x25\x57\x57\x57\x00\xae\x3a\x27\x25\x26\x2a\x27\x29\x2c\x29\x2b\x25\x2d\x28\x00\xaf\x3b\x2c\x34\x2f\x22\x23\x23\x27\x1e\x24\x29\x30\x2c\x2b\x33\x2e\x04\xa0\x3a\x26\x23\x25\x1a\x50\x2d\x1f\x51\x30\x00\xb5\x3b\x00\xb3\x3b\x2b\x23\x28\x03\xa0\x39\x11\x6e\x31\x05\x99\x38\x1d\x50\x2f\x00\xb4\x3c\x2d\x2a\x2c\x63\x63\x63\x2f\x2b\x2e\x63\xda\xc5\x2e\x00\x00\x01\x51\x49\x44\x41\x54\x38\xcb\x85\xcc\xd5\x76\xc2\x40\x14\x40\xd1\x0b\x24\x78\x25\x81\x00\x2d\x69\x53\xdc\xdd\x1d\xea\xee\xee\xee\xee\xee\xde\x9f\x6e\xf2\x3c\x0c\xec\xe7\xb3\x0e\xcc\x72\x46\x19\x96\x91\x6b\x03\x2e\xc9\xd6\x62\xb1\x49\x1b\xfc\xb2\x54\x2c\x18\x0c\xae\x8b\xca\xa1\x58\x37\xf4\xb2\xdd\xbb\xf9\xa1\xfc\xe6\xf6\xb2\x01\xa5\x67\x8d\xe0\xb6\x1c\x75\xbc\x5c\xbd\x3e\x5c\xc7\xca\x1d\x2c\x42\xb0\x31\x7a\xda\xd8\xd0\x7c\xff\x87\x09\x8c\xb9\x91\xa9\x26\x3e\xd8\xef\xd4\xa3\x98\x9c\x0c\x64\x8e\xc3\x67\x21\x98\xff\xa1\x50\x3a\x07\xc7\x07\x6f\x5b\x42\x70\x77\xc1\xa0\x68\x3e\xe0\xb2\xed\x5f\x42\x30\x37\xa8\x43\x69\xb2\x76\xb0\xa7\x76\x26\x84\x60\xe6\x9c\x46\x69\x53\x36\xb0\x15\x8e\x0f\xf8\xe0\x73\xa0\x47\x83\x22\x0a\x1e\xb0\xa5\x6f\x9f\x16\xa6\xbf\xdf\x2f\x97\xb4\x28\x49\xda\x03\x1e\x67\xdf\xf0\xca\xc7\xd8\xda\xe4\x19\x81\x22\x9d\xab\x10\x70\xb6\x3e\x86\x42\xa1\xae\xfe\xbd\xb2\x81\x0f\x02\xa5\x9b\x16\xc1\xb8\xa4\x8c\xc5\x12\x1f\x14\x55\x24\x96\xaa\xe8\x83\x13\x91\x5c\x85\x25\x17\x85\x21\xac\x57\xd6\x60\x29\xf5\x56\x08\x53\x0a\x39\x96\x82\xb2\x82\x95\x51\x2b\xb1\xd4\x8c\x15\x22\x3a\x50\x60\x81\x2e\x02\x7e\x3a\xa1\xc6\x4a\xd0\x7e\x30\xd1\x62\xc0\x12\x0b\x81\xa6\x52\xa0\x31\x55\x09\xb4\x26\x70\x11\x66\x31\x96\x59\xeb\xaa\x16\x78\xf9\x20\x5e\x87\x15\x27\xbc\xe0\x25\xa3\xf5\x58\x51\x52\x0a\x19\x03\x29\xc1\x22\x0d\x19\xb0\x4b\x2b\xb2\xff\x03\x80\x64\x51\xf1\x29\x1a\xc2\x9c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\x01\x00\x00\xff\xff\xb0\xaa\xd3\x73\x5f\x03\x00\x00")
func staticFaviconPngBytes() ([]byte, error) {
return bindataRead(
_staticFaviconPng,
"static/favicon.png",
)
}
func staticFaviconPng() (*asset, error) {
bytes, err := staticFaviconPngBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "static/favicon.png", size: 863, mode: os.FileMode(436), modTime: time.Unix(1460529855, 0)}
2015-08-30 07:27:40 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _staticIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x90\x41\x4f\xf4\x20\x10\x86\xef\xdf\xaf\x98\x0f\xe3\xcd\x94\x7a\x6d\x69\xaf\xfe\x81\xbd\x78\x32\x6c\x99\x2d\xd3\xa5\x40\x60\xb6\xda\x18\xff\xbb\x41\xec\x49\x13\x4f\x30\xbc\x4f\x5e\x1e\x50\xff\x4d\x98\x78\x8f\x08\x96\x57\x37\xfe\x53\x75\x01\x50\x16\xb5\x29\x1b\x00\xc5\xc4\x0e\xc7\xa7\x70\x3a\x3d\x2b\x59\x87\x1a\x64\xde\x1d\x8e\xe7\x60\xf6\x07\xb8\x63\x4c\x2b\x79\xed\xe0\x3d\x86\x4c\x4c\xc1\x77\xa0\xcf\x39\xb8\x1b\x63\x0f\x16\x69\xb6\xdc\xc1\x63\xdb\xde\xf7\xf0\x4a\x86\xed\x31\xac\x3a\xcd\xe4\x3b\x68\xe3\x5b\xff\xa1\x64\x2d\xad\x17\x38\xf2\x57\x48\xe8\x06\x41\x53\xf0\x02\x8a\xe9\x20\x68\xd5\x33\xca\xe8\x67\x01\x36\xe1\x65\x10\x17\xbd\x95\xbc\x29\x47\x5f\xf2\xf2\xb0\x57\x45\xee\xbb\xcc\xd0\x06\x64\x06\x71\x88\x8a\x51\x49\x43\xdb\xf1\x96\x29\x51\x64\xc8\x69\x1a\x44\x23\x97\x2c\x6d\xe1\x9a\x25\x17\xac\x86\xbf\x92\xfa\xc6\xf6\x85\xc3\x15\xfd\xdf\xec\x92\xe5\x1c\x98\xf7\x1f\xa4\x92\xd5\x53\xc9\xfa\xff\x9f\x01\x00\x00\xff\xff\x35\xaf\x3e\x6a\x97\x01\x00\x00")
2015-08-16 09:47:23 +00:00
func staticIndexHtmlBytes() ([]byte, error) {
2015-08-16 09:47:23 +00:00
return bindataRead(
_staticIndexHtml,
"static/index.html",
2015-08-16 09:47:23 +00:00
)
}
func staticIndexHtml() (*asset, error) {
bytes, err := staticIndexHtmlBytes()
2015-08-16 09:47:23 +00:00
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "static/index.html", size: 407, mode: os.FileMode(436), modTime: time.Unix(1502167632, 0)}
2015-08-23 11:40:18 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _staticJsGottyJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x94\x56\x5f\x8f\xdb\x36\x0c\x7f\xbf\x4f\x41\xf8\xe5\xe4\x9d\xeb\xcb\xb5\x7b\x18\x12\x64\x43\x57\xdc\x80\xae\xd8\xae\x68\xb2\xdd\xc3\xe1\x50\x28\x36\x63\x6b\x51\xc4\x40\xa2\xcf\xf0\x8a\x7c\xf7\x42\x76\xfe\x38\x8e\xdd\xb4\x7a\x48\x6c\x91\x3f\xf2\x47\xd2\xa4\x24\x96\x85\x49\x58\x91\x11\x21\x7c\xb9\x02\x00\x78\x91\x16\x72\xe6\x8d\xbb\x37\x72\xa1\x31\x85\x29\x94\xca\xa4\x54\xc6\x9a\x12\xe9\x55\xe3\x8d\x25\xa6\x84\x34\x4c\xa7\x10\xd4\xba\xe3\x60\x72\x00\x4b\x9b\xb9\x1e\x90\x43\x69\x93\xfc\xa8\x56\x58\x0d\x53\x10\x27\xae\x7e\x83\xeb\xd2\xb9\xf1\xed\xed\x35\x8c\xfd\xa3\x7f\x0a\xe1\xe6\xcc\x56\x4e\x8e\x7b\xb6\x37\x92\x73\x23\xd7\x08\x37\x1e\x7c\x7d\xf4\xb5\x27\xec\x79\x3d\x05\x19\x31\x57\xc1\x73\x8b\x71\xc1\xf4\x09\x13\x32\x06\x13\x86\x29\xbc\xba\x9b\x5c\x1d\x84\xb4\x41\xf3\xe8\x81\x67\x99\xda\x6b\x94\x5e\x6a\xb0\x84\x47\x5c\xcc\x28\x59\x21\x8b\xc2\xea\xe8\xe8\x35\xdc\x99\xdb\x03\x18\xed\xba\xb3\xb5\x51\x26\x9b\xab\x35\xda\xd6\x7e\xe9\x62\x32\xde\x7d\xdb\x39\xbe\xa0\xe1\x36\x83\x9d\xa6\x43\x93\x8a\x3f\x67\x0f\x7f\xc7\x8e\xad\x32\x99\x5a\x56\xe2\x0b\xbc\xb5\x59\xb1\x46\xc3\x6e\x5c\x97\x25\x82\xb7\x05\xe7\x73\x5a\xa1\x19\x43\x9d\x86\xcf\xb2\xe0\xfc\x33\xfb\x9d\x68\x1b\x86\x93\x13\xb3\x07\x52\x30\x05\x87\xfc\xde\x30\xda\x17\xa9\x85\xf7\xf5\x51\x99\x2c\x82\x37\x23\xf8\x09\xee\x46\xa3\x51\x04\xe5\x49\x98\x7e\xe5\x3e\xce\x38\xc5\xa5\x2c\x34\xcf\x98\xac\xcc\x70\x97\x29\xad\x16\xf1\x6e\x27\xfe\x0b\xd7\x64\x2b\xd1\x45\x7b\xf0\x4e\xbb\x31\x34\x47\xbb\x56\x46\xea\x5e\xcd\x38\x43\xfe\x68\x71\xe9\x44\x18\x3b\x64\x11\x78\x8e\xaf\xd0\x24\x94\x2a\x93\x05\x11\x04\x56\x96\x41\x2f\x92\xcc\xde\xf2\x27\x94\x69\x35\x54\xe9\x76\xb5\x14\xc1\xb4\x01\x2b\x8a\x37\x85\xcb\xcf\x38\xf9\xa5\x28\x26\xf3\xef\xfc\x03\x56\x8e\x2d\xad\xb0\x6d\xd9\xb1\xed\x33\xde\x2e\x66\x30\x0a\xe0\x06\xbc\xe2\xe4\x4c\x6f\xdb\xef\xce\xe3\x66\x75\xf9\x61\x7a\xe6\x7e\x88\xe1\x31\x7a\xa7\xfe\x3f\x21\x99\x90\x2e\xd6\xc6\x45\x60\xa9\x74\x97\xe8\xf6\x0a\xfd\x0a\x5e\xfb\x38\x3a\x9f\xe6\xa0\xb6\x5f\xfd\x8e\xda\x6b\xc7\x6c\xbc\x7f\x88\x2e\x22\x7c\x08\xe3\xfa\xf7\xdb\xba\xdb\x41\x69\xd8\x2b\x39\xdf\xed\xab\x4d\xf3\xad\x18\xc7\x52\xeb\x0f\x58\x2d\x48\xda\x54\x74\xea\xda\xc5\xed\xba\x27\x21\x2b\x19\x45\x4a\x49\xdd\xc9\xfe\x43\xbf\xd7\xe8\x1f\x7f\xaf\xde\xa7\x22\xe0\x5d\xf9\x82\x76\xf7\x6e\xbb\x63\x64\x8d\xce\x35\xed\xf7\xed\x49\x92\x4a\x96\x30\x85\x5a\x16\xfb\x97\xd8\x69\x95\xa0\xb8\xeb\x90\x75\xa5\xe2\x24\x17\x47\xbd\xa7\xd1\x73\xd7\x56\x22\x1d\xc2\xf5\xe8\x7a\x3c\x90\x0e\x8a\x4b\xab\x18\xff\x99\xff\xf1\x8b\xd8\x8d\x72\xc9\xb4\x10\xde\x5c\x77\x14\xf9\xb5\xb0\x28\x57\x93\x1e\x17\x77\x3d\x2e\x6e\x6f\x61\x43\x26\xfb\x7e\x23\xaf\x87\x78\x3a\xe4\xc7\x9a\xdd\x5c\xb1\xc6\x86\xdd\x0f\x90\x7b\xd3\x63\x77\x63\x71\x89\x16\x4d\x82\xfe\xe8\xa8\x5b\x63\x23\xad\x1b\x34\xfe\xb0\xf8\x0f\x13\x8e\x57\x58\x39\xd1\xc2\x86\xf1\x92\xec\xbd\x4c\xf2\xe3\x29\xbe\xc2\x6a\xa8\x51\x13\x32\x8e\x34\xc6\x9a\x32\x11\xcc\x90\xd9\x8f\x09\xdf\x9a\x2b\xac\xe0\x06\x82\x71\xfd\xd2\xe6\xf6\xb4\xc2\xea\xb9\x87\x0e\x0c\x0c\xdd\x15\x56\xd1\xf7\xe0\xb7\x3f\x92\xbf\x9f\x7b\xf2\xd7\x3d\xb0\x2f\x67\xf0\x24\xf8\xfa\xba\xe1\xa3\xb7\x7b\x1b\x4d\xec\xa7\x66\x6f\x20\x00\xe7\xdf\x52\x17\x9c\x77\x79\x0f\xdf\xed\x70\xfb\x25\x9a\xdc\xe5\xe6\x53\x4b\x10\x3e\xaf\x7d\x15\xac\xf3\x5d\x98\x0b\x33\x04\x5a\xcd\xe5\x72\x2a\x1f\x5e\xd0\x6a\x59\x89\xe0\x5d\x13\x94\x22\x03\xef\x3c\x97\x34\x88\xc0\x14\x5a\x77\x67\xd0\x69\x01\x34\x4a\x7b\x38\xf5\x0f\xb7\x81\x0e\xc6\xb3\x3e\xcd\xdc\xaf\x30\xea\x0b\xc1\x21\x7b\x3c\x15\x2c\x9a\x4b\x55\xd4\xc9\x78\x73\x95\x18\xa4\xb4\x6d\x04\xdb\xab\xe3\xe5\x6c\x7f\x13\x69\xa7\xf6\xf4\xa8\x3a\x9c\xa6\x77\x41\x78\xc0\xfb\xbf\x86\x82\x4f\xe0\x36\x14\xe1\xd5\xd7\x00\x00\x00\xff\xff\xb0\x8f\x56\xa4\x09\x0b\x00\x00")
2015-08-23 11:40:18 +00:00
func staticJsGottyJsBytes() ([]byte, error) {
2015-08-23 11:40:18 +00:00
return bindataRead(
_staticJsGottyJs,
"static/js/gotty.js",
2015-08-23 11:40:18 +00:00
)
}
func staticJsGottyJs() (*asset, error) {
bytes, err := staticJsGottyJsBytes()
2015-08-23 11:40:18 +00:00
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "static/js/gotty.js", size: 2825, mode: os.FileMode(436), modTime: time.Unix(1502178502, 0)}
2015-08-20 07:45:06 +00:00
a := &asset{bytes: bytes, info: info}
2015-08-16 09:47:23 +00:00
return a, nil
}
var _staticJsHtermJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\xbd\xfd\x7b\xdb\x36\x92\x38\xfe\x7b\xfe\x0a\xd4\xdb\xab\xa4\x44\x96\x25\xf9\xdd\xa9\xdb\x53\xe3\xb8\x97\x7b\xd2\xb4\xdf\x24\xdd\xbd\x7b\x1c\x6f\x0e\x22\x21\x89\x35\x45\x6a\x01\xca\xb6\xda\x7a\xff\xf6\xef\x33\x33\x78\x27\x25\xb9\xed\xee\xdd\xee\x7e\x1a\xd7\xaa\x4c\x0e\xc1\xc1\x60\xde\x31\x00\xf6\xf6\xd8\xfb\x59\xa6\xd8\x24\xcb\x05\xbb\xe3\x8a\x4d\x45\x21\x24\xaf\x44\xca\xc6\x2b\x96\x67\xe3\xb4\xac\xf6\xc6\x59\xb1\x97\x94\x45\xc2\xab\x9e\x9a\xf5\x9e\xec\xed\xb1\x57\x15\x9b\x71\xc5\xc6\x42\x14\x6c\xce\xe5\x8d\x48\x99\x14\x3c\xdd\x2d\x8b\x7c\xc5\x26\xa5\x64\xab\x72\x29\x99\xe2\x13\x51\xad\x7a\x8c\xbd\xe5\xd5\x4c\x48\x78\xb0\x9a\xf1\x82\x89\x34\xab\x58\x56\xb1\x34\x93\x22\xa9\xf2\x55\x97\x2d\x72\xc1\x95\x60\xf3\x32\xcd\x26\x2b\x56\x16\x82\x95\x13\x56\xcd\x84\x12\x4c\x95\x4b\x99\x08\x78\x16\x70\x54\xbd\x1e\x20\x00\x7f\x6a\xe4\x7e\x50\x7b\x79\x36\xee\xfd\xa0\x6a\xd7\x3e\x26\x65\x5e\x4a\xd5\x78\x6b\xd2\x78\x75\x2e\x94\xe2\x53\xf1\x71\xce\x0b\x3e\x15\xb2\x11\x66\x21\xc5\x44\x48\x51\x24\x9b\xc1\xa4\x20\xc4\x1b\x6f\xaa\xaa\x94\x7c\xba\xf1\xde\xc7\x64\x26\xcb\xf9\x66\x90\xbc\x4c\x78\xbe\x11\x62\x2e\xe6\xa5\x5c\x35\x82\x54\x42\x55\x1b\x7b\xb0\xac\x26\x27\x8d\x37\xee\x12\x7d\x79\x56\x09\x39\x87\xab\xf8\xa5\xf1\xe2\xc7\x89\xe4\xb6\x17\xd1\xad\x1b\xb1\x1a\x97\x5c\xa6\x9b\xef\x7e\x1c\x67\x45\x9a\x15\x53\xb5\x05\xec\x46\xac\xe6\x7c\xb1\x1d\x68\xc1\xab\x4a\xc8\xa2\x19\xb0\x5c\x54\x59\x59\xac\x79\xd5\x82\x4b\x65\x69\xd5\x78\xef\x63\x96\x8a\xa2\xca\x26\x99\x90\xeb\xda\x58\xc7\x3d\x31\xdc\x72\xac\x96\xe3\xe6\x7b\x2a\x91\x42\xac\xe9\x80\x4a\x64\x99\xe7\x8b\x52\x56\xcd\xf7\xe1\x23\x2b\x2c\xd7\xac\xb9\xfb\x31\x2b\xd7\x01\xdc\x57\x1f\x79\x55\xc9\x6c\xbc\xac\xc4\x9a\x3e\xde\xae\x79\xf7\x6d\xf5\x31\x99\x71\xc9\x93\x4a\xc8\x8f\x76\xac\x9e\x00\xe4\xbb\x6f\xbf\x7f\xfb\xe2\x25\xbb\x7c\xf5\xfa\xe5\x59\xa3\x60\xbf\x28\x17\x2b\x99\x4d\x67\x15\x6b\x27\x1d\x36\xec\x0f\x86\xec\xfd\x4c\xb0\x17\x20\x24\xd9\x72\xce\xbe\x7d\xc7\x46\xcb\x6a\x06\xe2\xce\x46\x79\xce\x10\x56\x31\x29\x94\x90\xb7\x22\x45\xa5\xf5\xbd\xd2\x6a\x25\x53\x5a\xab\xb0\xa4\x4c\x05\xcb\x14\x9b\x96\xb7\x42\x16\xa4\xf4\x38\xfb\xea\xdd\xc5\xae\xaa\x56\xb9\x60\x79\x96\x88\x42\x09\x50\x5b\x15\x4b\x78\xc1\xc6\xa4\x89\xca\x65\x91\xb2\xac\x00\x15\xc5\x5e\xbf\x7a\xf1\xf2\xcd\xbb\x97\xa8\x9e\x7a\x4f\x9e\xb4\x96\xa0\xb4\x2a\x99\x25\x55\xeb\xf9\x93\x27\xd9\x84\xb5\xab\xd5\x42\x94\x13\xe8\x17\xfb\xe4\x9c\xb5\x96\x45\x2a\x26\x59\x21\xd2\x56\xe7\x09\x63\xd5\x4c\x96\x77\xac\x10\x77\xec\xa5\x94\xa5\x6c\xb7\xbe\xce\xcb\x31\xcf\xd9\x4e\x9e\x8d\x77\x58\x39\xfe\x41\x24\x15\xe3\x39\xa8\xd7\x15\x13\xf7\x99\xaa\x54\xaf\xd5\x79\xfe\xe4\xc9\x2d\x97\xd8\xe4\x39\xfb\xe9\xe1\xf9\x93\x27\x7b\x4f\x9f\x3e\x61\x4f\xd9\x37\x7c\x01\x9d\xdc\x49\xc5\x42\x14\xa9\x28\x92\xd5\x0e\xab\x4a\x76\xb5\x43\x3d\xde\xe9\xb2\x5e\xaf\x77\xdd\x7b\xc2\x10\xfa\x25\x4f\x66\xcc\x81\x02\x29\xb8\x79\x67\xc1\xe7\xa2\xcb\xf2\xec\x46\x20\x2e\xbd\x89\xda\xe9\x32\xd3\x0c\x40\x42\xe7\x97\x32\x47\xe2\x40\x63\xa9\x58\xa4\xa2\x48\x15\x2b\x89\x30\xd4\x0e\xbc\x6a\xef\x09\x34\x20\x97\x45\x95\xcd\xc5\x85\x79\x5d\x26\xd4\xc7\x08\xfb\xd7\x99\xaa\x00\xfd\xc9\xb2\x48\x50\x12\x89\xf2\x85\x10\x29\xf4\x62\x2c\x58\x56\xdc\x96\x60\x6e\xd2\xa5\xcc\x8a\x29\x10\x40\x72\xb9\x62\x59\x91\x55\x19\xcf\xb3\x1f\x39\x3c\x16\x74\x4f\xe4\x62\x2e\x8a\xca\x0c\x17\x40\xbe\xe0\x79\x3e\xe6\xc9\x8d\xfa\xc8\xb8\x94\x1c\xfb\x9d\x55\x4a\xe4\x13\xc6\x59\x75\x57\xee\x9a\x67\xf0\x6e\x0f\x9b\xd2\x57\xfa\x44\x23\x35\x2b\x65\x85\xc3\x5c\x4c\x59\x2a\x54\x22\xb3\x31\x7c\xc5\x7e\xdf\x15\x42\x6a\x03\x86\xaf\x63\xb2\x5c\x56\x59\x21\xba\x6c\xa9\xc4\x64\x99\x43\x7b\x60\x24\x53\x31\x5e\x4e\xa7\x59\x31\xed\x31\xdb\xfe\xc0\x50\x36\xd1\x38\x5a\x5a\x38\x42\x46\x5d\x38\x67\x57\xd7\x8e\x84\x6f\x45\x52\xca\x14\x70\xd4\xf4\xf6\xc6\xd7\xd0\x05\x4d\x3e\xb1\xb3\x46\x89\xdd\xcd\x44\x01\x56\x9b\xdd\xf1\xa2\x02\x5a\x8b\xfb\x85\x14\x4a\xb7\xb3\x1b\x35\xc4\x68\xc4\x93\x72\xbe\x00\xc7\x01\xee\xf6\x18\x78\x05\x99\x62\x45\x09\xb4\xae\x00\xd2\x0c\x1a\x67\x93\x65\x9e\xef\x4e\x72\x91\x4e\x45\x6a\x07\x4d\xad\x54\x25\xe6\xac\x94\x9a\x7b\x4c\xe3\x95\xe4\xc9
2015-08-16 09:47:23 +00:00
func staticJsHtermJsBytes() ([]byte, error) {
2015-08-16 09:47:23 +00:00
return bindataRead(
_staticJsHtermJs,
"static/js/hterm.js",
2015-08-16 09:47:23 +00:00
)
}
func staticJsHtermJs() (*asset, error) {
bytes, err := staticJsHtermJsBytes()
2015-08-16 09:47:23 +00:00
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "static/js/hterm.js", size: 522491, mode: os.FileMode(292), modTime: time.Unix(1460531118, 0)}
2015-08-20 07:45:06 +00:00
a := &asset{bytes: bytes, info: info}
2015-08-16 09:47:23 +00:00
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
2015-08-20 07:45:06 +00:00
if err != nil {
2015-08-16 09:47:23 +00:00
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
2015-08-30 07:27:40 +00:00
"static/favicon.png": staticFaviconPng,
"static/index.html": staticIndexHtml,
"static/js/gotty.js": staticJsGottyJs,
"static/js/hterm.js": staticJsHtermJs,
2015-08-16 09:47:23 +00:00
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
2015-08-20 07:45:06 +00:00
Func func() (*asset, error)
2015-08-16 09:47:23 +00:00
Children map[string]*bintree
}
2015-08-20 07:45:06 +00:00
2015-08-16 09:47:23 +00:00
var _bintree = &bintree{nil, map[string]*bintree{
"static": &bintree{nil, map[string]*bintree{
2015-08-30 07:27:40 +00:00
"favicon.png": &bintree{staticFaviconPng, map[string]*bintree{}},
"index.html": &bintree{staticIndexHtml, map[string]*bintree{}},
"js": &bintree{nil, map[string]*bintree{
"gotty.js": &bintree{staticJsGottyJs, map[string]*bintree{}},
"hterm.js": &bintree{staticJsHtermJs, map[string]*bintree{}},
}},
2015-08-16 09:47:23 +00:00
}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
2015-08-20 07:45:06 +00:00
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
2015-08-16 09:47:23 +00:00
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
2015-08-20 07:45:06 +00:00
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
2015-08-16 09:47:23 +00:00
}
func _filePath(dir, name string) string {
2015-08-20 07:45:06 +00:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
2015-08-16 09:47:23 +00:00
}