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
}
2015-10-07 04:03:53 +00:00
info := bindataFileInfo{name: "static/favicon.png", size: 863, mode: os.FileMode(436), modTime: time.Unix(1440919501, 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\xc1\x52\xc3\x20\x10\x86\xef\x3e\xc5\x8a\xe3\xcd\x09\xf1\xda\x90\x5c\x7d\x81\x5e\x3c\x39\x34\x6c\xc3\xb6\x04\x32\xb0\xad\x66\x1c\xdf\x5d\x28\xe6\xa4\x33\x9e\xf8\x77\xf7\x9b\xe5\x03\x75\x6f\xc2\xc8\xeb\x82\x60\x79\x76\xc3\x9d\xaa\x07\x80\xb2\xa8\x4d\x09\x39\x32\xb1\xc3\xe1\x25\xec\xf7\xaf\x4a\xd6\xa2\x0e\x12\xaf\x39\x1f\x82\x59\x9f\xe0\x81\x31\xce\xe4\xb5\x83\xcf\x25\x24\x62\x0a\x7e\x07\xfa\x90\x82\xbb\x30\x76\x60\x91\x26\xcb\x3b\x78\x6e\xdb\xc7\x0e\xde\xc9\xb0\xdd\x8a\x59\xc7\x89\x32\xdc\x2e\x1f\xdd\x97\x92\x75\x69\xbd\xc0\x91\x3f\x43\x44\xd7\x0b\x1a\x83\x17\x50\x4c\x73\x9e\xf5\x84\x72\xf1\x93\x00\x1b\xf1\xd8\x8b\xa3\xbe\x96\x79\x53\x5a\x37\x79\xb9\xd9\xab\x22\xf7\xb3\xcc\xd0\x15\xc8\xf4\x62\x13\x15\x83\x92\xb9\xb7\xbd\x65\x8c\xb4\x30\xa4\x38\xf6\xa2\x91\xa7\x24\x6d\xe1\x9a\x53\x2a\x58\x1d\xfe\x49\xea\x0b\xdb\x37\x0e\x67\xf4\xff\xb3\x79\xeb\x14\x98\xd7\x5f\xa4\x92\xd5\x33\x8b\xdf\xfe\xff\x3b\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
}
2015-10-07 04:03:53 +00:00
info := bindataFileInfo{name: "static/index.html", size: 407, mode: os.FileMode(436), modTime: time.Unix(1444190539, 0)}
2015-08-23 11:40:18 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2015-10-07 04:03:53 +00:00
var _staticJsGottyJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x94\x56\x4f\x6f\xdb\x36\x14\xbf\xe7\x53\x10\xba\x84\xda\x5c\xc5\x6e\x77\x18\x6c\x64\x43\x57\x64\x40\xb7\x61\x29\x6a\x6f\x39\x04\x41\x41\x4b\xcf\x96\x16\x9a\x14\x48\x2a\x82\x57\xe8\xbb\xf7\x3d\x49\x96\x65\x99\xaa\x5b\x1e\x12\x99\xef\xdf\xef\xfd\x27\xdf\x14\x2a\x76\x99\x56\x3c\x64\x9f\xaf\x18\x9e\x17\x61\x58\xea\x5c\x6e\xef\x94\x58\x4b\x48\xd8\x2d\x2b\x33\x95\xe8\x32\x92\x3a\x16\xc4\x1a\xe5\x46\x3b\x1d\x6b\xc9\x6e\x6f\x59\x50\xf3\xce\x83\x45\x27\x2c\xcc\xd6\x7a\x84\x2c\x08\x13\xa7\x47\xb6\xc2\xa0\x3c\xe3\x27\xa6\x7e\x65\xd7\xa5\xb5\xf3\x9b\x9b\x6b\x36\xa7\x4f\xfa\x0a\xd9\x8f\x67\xba\x52\x6d\x9d\xe7\x3a\x17\x2e\x55\x62\x07\x48\x42\xe1\xeb\xa3\xad\x03\x60\xc2\xf5\x18\x6c\xb5\x73\xfb\xe0\xa9\x87\xb8\x70\xfa\x23\xc4\x5a\x29\x88\x1d\xb2\xbc\x9a\x2d\xae\x3a\xa2\xce\x41\x3d\x90\xe0\x59\xa4\x0e\x1c\x25\x51\x15\x94\xec\x01\xd6\x4b\x1d\x3f\x83\xe3\xe8\xdc\xe4\x68\x35\x6c\xd5\x1d\x04\x1c\x98\xdd\xe0\x2a\xcf\xd4\x76\x95\xed\xc0\xf4\xee\x4b\x1b\x69\x45\xe6\xfb\xc6\xe1\x05\x94\xeb\x23\x68\x39\x2d\xa8\x84\xff\xb1\xbc\xff\x3b\xb2\xce\xa0\xb2\x6c\xb3\xe7\x9f\xd9\x5b\xb3\x2d\x76\x28\x60\xe7\x75\x5a\x26\xec\x6d\xe1\xd2\x95\x7e\x06\x35\x67\x75\x18\x3e\xa1\xef\xe9\x27\x47\x37\x93\x2a\x0c\x17\x27\x6a\x3b\x50\x08\xc0\x82\x7b\xaf\x10\xf8\x8b\x90\x9c\x6c\x7d\x40\xda\x84\xbd\x99\xb2\x1f\xd8\x6c\x3a\x9d\x4e\x10\x43\xdf\x4d\x3a\x29\xf9\x19\x25\xb0\x11\x85\x74\x4b\xa7\x8d\xd8\x42\x1b\x29\x99\xad\xa3\xf6\x26\xfa\x0b\xd3\x27\xf9\xc0\xb4\x4f\x36\x8a\x25\xd6\x10\x1f\x9a\x21\xce\x56\x6d\x23\xb5\xc2\x3f\x99\x6a\x74\x9e\x71\x46\x5b\x70\x1f\x0c\x6c\x2c\x0f\x31\x66\x8e\x07\xe4\xcc\x2b\x50\xb1\x4e\xd0\xa3\x60\xc2\x02\x23\xca\xc0\x2b\xa9\xd5\x41\xf3\x47\x10\xc9\x7e\xac\x24\xfa\x69\xcd\x34\x72\xd5\xc2\x99\x8e\xf2\xc2\xa6\x67\x98\xe8\x20\x4d\xab\x7f\x57\x7f\xc2\x1e\x73\x87\xa9\xe8\x6b\xc6\x1b\x9f\xf2\x7e\xd6\x83\x69\x80\x15\x4f\x8c\x8b\x33\xbe\xca\x6f\x8e\xe4\x96\x75\x9d\xa0\xad\xa1\xf9\x31\x84\x47\xef\x6d\xf6\xff\x09\x48\x2c\xf2\x62\xa7\xb0\xbc\x8c\xc6\x32\xb8\x00\xd7\x4b\xa4\x13\xbc\x26\x3f\x06\x35\x3c\xca\x4d\xc7\x6f\xa8\x7f\x5a\x64\xf3\xc3\xc7\xe4\xa2\x04\xb9\x30\xaf\xff\x7e\x9d\xb7\x1a\xa5\x86\x5e\xca\xf9\xad\x2f\x37\x4d\xad\x28\xeb\x84\x94\x98\x90\xb5\x16\x26\x19\xf6\xc6\x50\xae\x6d\x95\x18\x9b\xc4\x01\x4f\x74\x5c\xb7\x3c\x15\xfa\x9d\x04\xfa\xfc\x6d\xff\x1e\xab\xc4\xb5\xe9\x0b\xfa\x6d\x5e\x0d\xe7\xcd\x0e\xac\x6d\xfa\xf4\xeb\x23\x27\x11\x4e\x20\x53\x4d\x8b\xe8\x47\x64\x65\x16\x03\x9f\x0d\xc0\xda\x32\x73\x71\xca\x8f\x7c\x8f\xd3\xa7\xa1\xae\x58\x58\x60\xd7\xd3\xeb\xf9\x48\x38\x74\x54\x9a\xcc\xc1\x3f\xab\xdf\x7f\xe6\xed\xcc\x17\x4e\xaf\x39\xa9\x1b\xce\x2c\x3a\x6b\x03\xe2\x79\xe1\x31\x31\xf3\x98\xb8\xb9\x61\xb9\x56\xdb\x6f\x57\xf2\x7a\x0c\x27\x8e\x93\x87\x1a\xdd\x2a\x73\x12\x1a\x74\xdf\x01\xee\x8d\x47\x6f\x8e\x93\x0a\x0c\x4e\x27\xa0\x1d\x53\xb7\x46\x2e\x8c\x1d\x55\x7e\xbf\xfe\x0f\x57\x58\xf4\x8c\xad\xcc\x7b\xb2\x61\xb4\xd1\xe6\x4e\x60\x1e\xba\xa4\x22\xcb\x58\xa3\xe2\x22\xb4\x5a\x02\xee\xd5\x2d\x0f\x96\xe0\x1c\x8d\x09\x6a\x4d\x94\xc1\xbf\xc1\xbc\xfe\xd1\xc7\xf6\x88\x94\x27\x0f\x9c\x2e\x34\x83\xa1\x8b\xec\x93\x6f\x91\xaf\xbe\x27\x7e\x3f\x79\xe2\x37\xdc\xec\x97\x23\x78\xe2\x7c\xfd\x2e\x21\xef\xcd\x41\x47\xe3\xfb\xa9\x5a\x0c\x09\xae\x47\xfc\x95\xd8\xe0\xbc\xcb\x3d\x78\xab\xf1\xf6\x8b\xa5\xb6\x97\x9b\x2f\xdb\x30\x4e\x71\xf5\x65\xb0\x8e\x77\xa1\x2e\xcc\x90\x8e\x93\x96\x41\xaa\xcb\xfb\x17\x30\x52\xec\x79\xf0\xae\x71\x0a\x4d\xb3\x77\x84\x25\xc1\x95\xa8\x0a\x29\x87\x33\xe8\x34\x01\xb4\x98\xbb\xe7\x41\xf7\x6c\x18\xc8\x10\xea\xd3\xc8\xfd\xc2\xa6\x3e\x17\xb0\x44\x48\x5e\x17\x8e\x37\xaf\xaf\xc9\x20\xe2\xcd\x9b\x63\x14\x52\xd5\x10\xaa\xab\xe3\x2b\xee\xf0\x64\xe9\x87\xf6\x74\x55\x75\xdb\x74\x16\x84\x9d\x3c\xfd\x6b\x20\x50\x00\xab\x90\x87\x57\x5f\x02\x00\x00\xff\xff\x9e\x90\xaa\xec\x32\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
}
2015-10-07 04:03:53 +00:00
info := bindataFileInfo{name: "static/js/gotty.js", size: 2866, mode: os.FileMode(436), modTime: time.Unix(1444190539, 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
}
2015-10-07 04:03:53 +00:00
var _staticJsHtermJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x7d\xfb\x7f\xdb\xc6\x91\xf8\xef\xfe\x2b\x10\x35\x57\x92\x36\x45\x91\x7a\xcb\x8e\x92\x63\x2c\x2b\xe7\xfb\x38\x4e\xbe\xb6\x73\xbd\xfb\xd8\xae\x0f\x24\x97\x12\x62\x12\x60\x01\x50\x12\x9b\xe8\xfe\xf6\xef\x3c\xf6\x31\xbb\x00\x48\x3a\x69\x7b\x6d\x2f\x4e\x4c\x93\xc0\x60\x31\x3b\x3b\xef\x9d\xdd\xdd\xdb\x8b\xde\x5c\x27\x45\x34\x4d\x66\x2a\xba\x8d\x8b\xe8\x4a\xa5\x2a\x8f\x4b\x35\x89\x46\xab\x68\x96\x8c\x26\x59\xb9\x37\x4a\xd2\xbd\x71\x96\x8e\xe3\xb2\x57\x5c\xf7\x1e\xc0\x33\xcf\xcb\xe8\x1a\x80\x47\x4a\xa5\xd1\x3c\xce\x3f\x02\x78\xae\xe2\xc9\x6e\x96\xce\x56\xd1\x34\xcb\xa3\x55\xb6\xcc\xa3\x22\x9e\xaa\x72\xd5\x8b\xa2\x57\x71\x79\xad\x72\x7c\xb0\xbc\x8e\xd3\x48\x4d\x92\x32\x82\xff\x27\x49\xae\xc6\xe5\x6c\xd5\x8d\x16\x33\x15\x17\x2a\x9a\x67\x93\x64\xba\x8a\xb2\x54\x45\xd9\x14\x60\x15\x5c\x2b\xa0\xa5\xb1\xc2\x67\x11\xc7\xa2\xd7\x43\x04\xf0\xa7\x46\xee\xc7\x62\x0f\xbe\xf5\x7e\x2c\x2a\xd7\x3e\x8c\xb3\x59\x96\x17\xb5\xb7\xa6\xb5\x57\xe7\xaa\x28\xe2\x2b\xf5\x61\x1e\xa7\xf0\x4f\x5e\x0b\xb3\xc8\xd5\x54\xe5\x2a\x1d\xaf\x07\xcb\x15\x23\x5e\x7b\xb3\x28\xb3\x1c\x9e\x5c\x77\xef\xc3\xf8\x3a\xcf\xe6\xeb\x41\x66\xd9\x38\x9e\xad\x85\x98\xab\x79\x96\xaf\x6a\x41\x4a\x55\x94\x6b\x7b\xb0\x2c\xa7\xa7\xb5\x37\x6e\xc7\xfa\xf2\x75\xa9\xf2\x39\x5e\xa5\x2f\xb5\x17\x3f\x4c\xf3\xd8\xf6\x22\xb8\xf5\x51\xad\x46\x59\x9c\x4f\xd6\xdf\xfd\x00\xdc\x37\x49\xd2\xab\x62\x03\x18\x7c\x99\xc7\x8b\xcd\x40\x8b\xb8\x84\x6b\x69\x3d\x60\xb6\x28\x93\x2c\x6d\x78\xd5\x22\xce\x0b\x4b\xab\xda\x7b\x1f\x92\x89\x4a\xcb\x64\x9a\xa8\xbc\xa9\x8d\x26\xee\x09\xe1\x96\xa3\x62\x39\xaa\xbf\x57\x8c\x73\x90\xbb\xc6\x7b\xd9\x6c\xb6\xc8\xf2\xb2\xfe\x3e\x7e\x24\xa9\xe5\x9a\x86\xbb\x1f\x92\xac\x09\xe0\xae\xfc\x00\x04\xcc\x93\xd1\x12\x18\xa8\x1e\xe8\xa6\xe1\xdd\x37\x25\x30\x75\x9c\xc7\x63\xf8\xf5\xc1\x8e\xd5\x03\x84\x7c\xfd\xdd\x0f\xaf\x9e\x3e\x8b\x2e\x9f\xbf\x78\xf6\xb8\x56\xb0\x9f\x66\x8b\x55\x9e\x5c\x5d\x97\x51\x7b\xdc\x89\xf6\xfb\x83\x7d\xd0\x5b\x2a\x7a\x8a\x42\x92\x2c\xe7\xd1\x77\xaf\xa3\xe1\xb2\xbc\x46\x71\x8f\x86\xb3\x59\x44\xb0\x05\x28\x25\x18\x95\x1b\x35\x21\xa5\xf5\x43\xa1\xd5\x0a\xe8\x3b\x16\xce\x68\x9c\x4d\x54\x04\x3f\xaf\xb2\x1b\xe0\x09\x56\x7a\x71\xf4\xf5\xeb\x8b\xdd\xa2\x5c\x81\x46\x9c\x25\x63\x95\xc2\x63\xa0\xb6\xca\x68\x0c\xaa\x6b\xc4\x9a\x28\x5b\xa6\x93\x28\x49\x51\x45\x45\x2f\x9e\x3f\x7d\xf6\xf2\xf5\x33\x52\x4f\xbd\x07\x0f\x5a\x4b\x54\x5a\x40\xa1\x71\xd9\x7a\xf2\xe0\x41\x32\x8d\xda\xe5\x6a\xa1\xe0\xc5\xd0\x9b\xe8\xb3\xf3\xa8\x05\xcf\xaa\x69\x02\x6f\x6b\x75\x1e\x44\xd0\x44\x9e\xdd\x46\xa9\xba\x8d\x9e\xe5\x79\x96\xb7\x5b\xdf\xcc\xb2\x51\x3c\x8b\x76\x00\x7c\x27\xca\x46\x3f\x82\x8a\x8c\xe2\x19\xaa\xd7\x55\xa4\xee\x92\xa2\x2c\x7a\xad\x0e\xb4\x7c\x13\xe7\xd4\xe4\x79\xf4\xd3\x3d\xfc\xdc\x7b\xf8\xf0\x41\xf4\x30\xfa\x36\x5e\x60\x27\x77\x26\x6a\xa1\xe0\x3d\xe9\x78\xb5\x13\x95\x59\xf4\x76\x87\x7b\xbc\xd3\x8d\x40\x83\xbe\xef\x01\x28\x42\x3f\x8b\xc7\xd7\x91\x03\x45\x52\xc4\xe6\x9d\x29\x08\x6e\x17\xde\xf0\x51\x11\x2e\xbd\x69\x01\x0f\x9b\x66\x10\x12\x3b\xbf\xcc\x67\x44\x1c\x6c\x0c\xda\x81\x56\x26\x05\xe8\x6f\xba\xc7\xed\xe0\xab\xf6\x1e\x60\x03\xf9\x12\x64\x63\xae\x2e\xcc\xeb\x12\x55\x7c\x08\xb0\x7f\x01\xdd\x43\xf4\xa7\xcb\x74\x4c\x92\xc8\x94\x4f\x15\x0c\x0d\xf4\x62\x04\x83\x95\xde\x64\x68\x6e\x26\xcb\x1c\x94\x02\x12\x20\x8f\x73\x40\x3c\x4d\xca\x24\x9e\x25\x7f\x8e\xf1\x31\xaf\x7b\x6a\xa6\xe6\x20\x95\x66\xb8\x10\xf2\x69\x3c\x9b\x8d\xe2\xf1\x47\x78\x7f\x9c\xe7\x31\xf5\x3b\x29\x0b\x35\x9b\x42\xf7\xcb\xdb\x6c\xd7\x3c\x43\x77\x7b\xd4\x94\xbe\xd2\x67\x1a\x15\xc0\x6a\x25\x0d\x33\x20\x31\x51\x20\x76\xc9\x08\xbf\x52\xbf\x6f\xc1\x84\x6a\x03\x46\xaf\x8b\xf2\x6c\x59\xc2\x80\x77\x23\xe0\x8d\xe9\x72\x86\xed\xa1\x91\x9c\xa8\xd1\xf2\xea\x0a\x1e\x03\x13\x69\xda\x1f\x18\xca\x8e\x35\x8e\x96\x16\x8e\x90\x41\x17\xce\xa3\xb7\xef\x1d\x09\x5f\xa9\x71\x96\x4f\x10\x47\x4d\x6f\x31\xbe\x86\x2e\x64\xf2\x99\x9d\x35\x4a\xd1\xed\x35\x98\x72\xb0\xda\xe0\x04\x00\x16\x40\x6b\x75\x07\xba\xaa\xd0\xed\xec\x06\x0d\x45\x3c\xe2\xe3\x6c\xbe\x40\xc7\x01\xef\x42\x1f\xc0\x2b\x80\x76\xd3\x0c\x69\x5d\x22\xa4\x19\xb4\x18\x3a\x31\x9b\xed\x4e\x67\x6a\x72\x05\x17\xcd\xa0\x15
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
}
2015-10-07 04:03:53 +00:00
info := bindataFileInfo{name: "static/js/hterm.js", size: 522491, mode: os.FileMode(292), modTime: time.Unix(1440919621, 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
}