Use go-bindata to embed assets

This commit is contained in:
Ian Kent 2014-04-27 16:06:58 +01:00
parent 150e4342c3
commit d80439b0fa
10 changed files with 627 additions and 92 deletions

View file

@ -51,6 +51,12 @@ You can configure Go-MailHog using command line options:
Clone this repository to ```$GOPATH/src/github.com/ian-kent/MailHog``` and type ```go install```. Clone this repository to ```$GOPATH/src/github.com/ian-kent/MailHog``` and type ```go install```.
You'll need go-bindata to embed web assets:
```
go get https://github.com/jteeuwen/go-bindata/...
go-bindata assets/...
```
Run tests using ```go test```. You'll need a copy of MailHog running for tests to pass. Run tests using ```go test```. You'll need a copy of MailHog running for tests to pass.
(Tests currently fail using in-memory storage, use MongoDB!) (Tests currently fail using in-memory storage, use MongoDB!)

BIN
assets/images/hog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1,7 +1,3 @@
package js
func Controllers() string {
return `
var mailhogApp = angular.module('mailhogApp', []); var mailhogApp = angular.module('mailhogApp', []);
mailhogApp.controller('MailCtrl', function ($scope, $http, $sce) { mailhogApp.controller('MailCtrl', function ($scope, $http, $sce) {
@ -122,5 +118,3 @@ mailhogApp.controller('MailCtrl', function ($scope, $http, $sce) {
}); });
} }
}); });
`;
}

View file

@ -1,7 +1,3 @@
package templates
func Index() string {
return `
<style> <style>
.messages { .messages {
padding-top: 51px; padding-top: 51px;
@ -199,5 +195,3 @@ func Index() string {
</div> </div>
</div> </div>
</div> </div>
`;
}

View file

@ -1,11 +1,3 @@
package templates
import (
"strings"
)
func Layout(content string) string {
html := `
<!DOCTYPE html> <!DOCTYPE html>
<html ng-app="mailhogApp"> <html ng-app="mailhogApp">
<head> <head>
@ -57,6 +49,3 @@ func Layout(content string) string {
<%= content %> <%= content %>
</body> </body>
</html> </html>
`;
return strings.Replace(html, "<%= content %>", content, -1);
}

606
bindata.go Normal file
View file

@ -0,0 +1,606 @@
package main
import (
"bytes"
"compress/gzip"
"fmt"
"io"
)
func bindata_read(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)
gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
return buf.Bytes(), nil
}
func assets_images_hog_png() ([]byte, error) {
return bindata_read([]byte{
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x00, 0xff, 0x8c, 0x96,
0xe9, 0x3f, 0xd4, 0x8b, 0xdb, 0xc7, 0x87, 0xc8, 0x52, 0x0d, 0xd3, 0x58,
0xa2, 0xc8, 0x4c, 0x34, 0x42, 0x72, 0x70, 0xec, 0x23, 0xc3, 0x77, 0x30,
0xc5, 0x10, 0xd3, 0xb1, 0x87, 0xb2, 0x8c, 0x98, 0x31, 0x59, 0x2a, 0xeb,
0xb1, 0x8d, 0x66, 0xc8, 0x32, 0x93, 0x2d, 0x86, 0x18, 0x93, 0xe5, 0x64,
0x89, 0x54, 0xd6, 0x38, 0xa8, 0xd0, 0x58, 0x62, 0x6c, 0x43, 0xb6, 0xc6,
0x12, 0xe1, 0xc4, 0xd0, 0x42, 0x75, 0xfb, 0x0b, 0xee, 0xd7, 0xef, 0xc1,
0x75, 0x7d, 0x3e, 0x0f, 0xae, 0x27, 0xef, 0x27, 0xd7, 0xeb, 0x4d, 0xb5,
0xc7, 0x5a, 0x1d, 0x13, 0x97, 0x17, 0x07, 0x81, 0x40, 0xc7, 0x30, 0xd6,
0x80, 0xc3, 0x41, 0xbe, 0x3f, 0x98, 0x7c, 0xd1, 0xc3, 0x07, 0x5b, 0xff,
0x71, 0xb5, 0xd9, 0x41, 0xc8, 0x85, 0xa1, 0x9d, 0xc3, 0x1c, 0x83, 0xfd,
0xc2, 0xee, 0x78, 0x87, 0xf8, 0x82, 0x50, 0x3e, 0xc1, 0xd7, 0x7d, 0x95,
0x30, 0x04, 0x6f, 0x7f, 0x5f, 0x07, 0x5f, 0x6f, 0x9f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f5, 0xca,
0xb7, 0xdb, 0x59, 0xf9, 0x20, 0x44, 0xe4, 0x1b, 0xea, 0x25, 0xef, 0xee,
0x22, 0x30, 0x5c, 0xea, 0x5e, 0xc3, 0x85, 0xab, 0xf8, 0x38, 0x28, 0x0c,
0x0e, 0xea, 0x34, 0x04, 0x1d, 0x38, 0x1e, 0x45, 0x14, 0x04, 0x11, 0x50,
0x82, 0xff, 0x7f, 0xb5, 0xc3, 0xf8, 0xb7, 0x98, 0x16, 0x68, 0xa3, 0x97,
0xa4, 0xfb, 0xa0, 0xb5, 0xe0, 0x9f, 0x03, 0x91, 0x05, 0x61, 0xd0, 0x58,
0xa0, 0xc6, 0xdc, 0x2b, 0xe1, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x25,
0x6c, 0x2c, 0x59, 0xf6, 0x0a, 0x00, 0x00,
},
"assets/images/hog.png",
)
}
func assets_js_controllers_js() ([]byte, error) {
return bindata_read([]byte{
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x00, 0xff, 0xec, 0x56,
0xdf, 0x6b, 0xdb, 0x30, 0x10, 0x7e, 0x76, 0xfe, 0x0a, 0x2d, 0x0b, 0x58,
0x5e, 0x13, 0xa7, 0x7d, 0x9d, 0xe9, 0x46, 0xd7, 0x0d, 0x5a, 0x58, 0x58,
0xa1, 0x7d, 0x4b, 0xc3, 0xd0, 0x6c, 0xc5, 0x36, 0x55, 0x6c, 0x23, 0xc9,
0xc9, 0x4a, 0xf1, 0xff, 0xbe, 0x93, 0x25, 0xdb, 0xb2, 0xf3, 0x63, 0x65,
0xb0, 0x87, 0xc1, 0x4a, 0xc1, 0x91, 0x74, 0xfa, 0xee, 0xf4, 0x7d, 0xa7,
0xd3, 0x6d, 0x09, 0x47, 0x1b, 0x92, 0xb2, 0x24, 0x8f, 0xaf, 0x8a, 0x02,
0x5d, 0x22, 0x92, 0xc5, 0x25, 0x23, 0xdc, 0xdf, 0xe4, 0x51, 0xc9, 0x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6b, 0xfd, 0x4c, 0x8c, 0xfe, 0xf7, 0x34, 0x42, 0x97,
0x9d, 0x20, 0x30, 0xf4, 0xf6, 0x3b, 0x9b, 0xf6, 0x18, 0x87, 0xcf, 0xdd,
0x1c, 0x0e, 0xbe, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x44, 0xa8,
0x4f, 0xd7, 0x0b, 0x00, 0x00,
},
"assets/js/controllers.js",
)
}
func assets_templates_index_html() ([]byte, error) {
return bindata_read([]byte{
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x00, 0xff, 0xa4, 0x58,
0x6d, 0x8f, 0xdb, 0xb8, 0x11, 0xfe, 0x9e, 0x5f, 0xc1, 0x28, 0xdb, 0xae,
0x5d, 0x58, 0x92, 0x37, 0x2f, 0x8b, 0x8b, 0xdf, 0xda, 0x60, 0x83, 0x22,
0x05, 0xba, 0xbd, 0x43, 0x13, 0xa0, 0x1f, 0x82, 0xfd, 0x40, 0x4b, 0x94,
0xcd, 0x0b, 0x25, 0x0a, 0x14, 0x65, 0xef, 0x36, 0xf0, 0x7f, 0xef, 0xf0,
0x4d, 0x12, 0x65, 0xd9, 0xeb, 0xed, 0x1d, 0xce, 0x59, 0x4b, 0x1c, 0x3e,
0x33, 0xf3, 0xcc, 0x33, 0x63, 0x4a, 0x8b, 0x4a, 0x3e, 0x31, 0xb2, 0x7a,
0x85, 0x50, 0x94, 0x93, 0xaa, 0xc2, 0x1b, 0x52, 0xa1, 0x9f, 0x70, 0x85,
0x50, 0x89, 0xd3, 0x94, 0x16, 0x9b, 0x50, 0xf2, 0x72, 0x86, 0x3e, 0xdc,
0x94, 0x8f, 0x73, 0x7d, 0x7b, 0x4b, 0xe8, 0x66, 0x2b, 0x67, 0xe8, 0xdd,
0xf4, 0x4f, 0xe6, 0x46, 0x4e, 0x8b, 0xd0, 0xdd, 0x7c, 0xfb, 0xcb, 0xd4,
0xd9, 0xad, 0xb9, 0x48, 0x89, 0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a0, 0xe9, 0xdb, 0xfd, 0x3f, 0xd5,
0x54, 0x5d, 0xc4, 0x8c, 0x76, 0x00, 0x07, 0x10, 0xf4, 0xfb, 0xb1, 0x21,
0x88, 0xdf, 0xd4, 0x82, 0x7e, 0x15, 0x77, 0x19, 0x90, 0x79, 0xb1, 0x36,
0x84, 0xf4, 0x55, 0xaf, 0xf8, 0x28, 0x8b, 0xb8, 0x66, 0xc7, 0x4f, 0x33,
0x9d, 0x37, 0x44, 0x83, 0xcf, 0x32, 0x6a, 0x1d, 0x8a, 0x08, 0x47, 0x5b,
0xc3, 0x88, 0xa6, 0xd5, 0xe7, 0x02, 0xca, 0xa8, 0x1e, 0x51, 0xf5, 0x55,
0xb3, 0xe6, 0xde, 0x41, 0x29, 0x5a, 0x94, 0x12, 0x4e, 0x1c, 0xfa, 0x1d,
0xbc, 0x8f, 0x6b, 0x18, 0x52, 0x42, 0xd8, 0x10, 0x77, 0x82, 0xd3, 0xe4,
0x8c, 0xac, 0xc5, 0xb8, 0xaf, 0x8f, 0xe7, 0x31, 0x2d, 0x59, 0x16, 0xd4,
0x10, 0x74, 0x02, 0x6e, 0xf8, 0x78, 0xfe, 0xbf, 0x00, 0x00, 0x00, 0xff,
0xff, 0xcb, 0x78, 0x4c, 0xd6, 0xe0, 0x18, 0x00, 0x00,
},
"assets/templates/index.html",
)
}
func assets_templates_layout_html() ([]byte, error) {
return bindata_read([]byte{
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x00, 0xff, 0xb4, 0x55,
0x4d, 0x8f, 0xdb, 0x36, 0x10, 0xbd, 0xe7, 0x57, 0x4c, 0x18, 0x2c, 0xd0,
0x06, 0x95, 0x68, 0x37, 0x08, 0x50, 0x78, 0x65, 0x17, 0x41, 0x52, 0x24,
0x97, 0x22, 0x45, 0xd1, 0x4b, 0x4f, 0x05, 0x45, 0x8e, 0x25, 0x7a, 0x29,
0x52, 0x25, 0x47, 0xfb, 0x81, 0xa0, 0xff, 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 0x9a, 0xd2, 0xf0, 0x95, 0x87, 0xc5,
0x05, 0x56, 0x79, 0xcf, 0xf0, 0x0d, 0xda, 0xee, 0x22, 0x97, 0x3e, 0xdb,
0xc3, 0x32, 0xa3, 0x24, 0xb1, 0xd1, 0xf2, 0x6e, 0xcf, 0xa2, 0xc7, 0xc7,
0x37, 0xf0, 0xbb, 0xef, 0xd9, 0xe1, 0xf7, 0xc1, 0x4c, 0x0c, 0x45, 0x7c,
0x3a, 0xbe, 0x42, 0x98, 0x89, 0xf4, 0xbd, 0xee, 0x15, 0xba, 0x1a, 0xf5,
0x0c, 0x8f, 0x42, 0x83, 0x84, 0xef, 0x8c, 0x49, 0x4c, 0x1f, 0xfa, 0x05,
0x08, 0x63, 0xa0, 0xc1, 0x10, 0x92, 0xa6, 0xd7, 0x58, 0x0b, 0xde, 0x99,
0x45, 0xc5, 0x2f, 0x76, 0x47, 0x26, 0x8a, 0x9d, 0x8f, 0xb4, 0x67, 0x7f,
0x95, 0x46, 0xd8, 0xbb, 0x49, 0xef, 0x9a, 0xa8, 0x0d, 0x3b, 0xce, 0x2b,
0x4d, 0x75, 0x57, 0xf6, 0xef, 0xa1, 0x16, 0x36, 0xbb, 0x43, 0x4b, 0xfc,
0xa3, 0xcb, 0xc6, 0x5e, 0x60, 0x87, 0x8f, 0x9a, 0x3e, 0x75, 0xe5, 0x9a,
0xfa, 0x4c, 0x5b, 0xf0, 0xa8, 0xfe, 0x68, 0xde, 0xec, 0x21, 0x4d, 0x45,
0x84, 0x80, 0x9b, 0x61, 0x6a, 0xd2, 0xb0, 0xc4, 0x0f, 0x27, 0x1f, 0x3e,
0xa0, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x90, 0x32, 0x51, 0x51,
0x07, 0x00, 0x00,
},
"assets/templates/layout.html",
)
}
// 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) {
if f, ok := _bindata[name]; ok {
return f()
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string] func() ([]byte, error) {
"assets/images/hog.png": assets_images_hog_png,
"assets/js/controllers.js": assets_js_controllers_js,
"assets/templates/index.html": assets_templates_index_html,
"assets/templates/layout.html": assets_templates_layout_html,
}

View file

@ -19,4 +19,5 @@ type Config struct {
MongoDb string MongoDb string
MongoColl string MongoColl string
Storage interface{} Storage interface{}
Assets func(asset string) ([]byte, error)
} }

View file

@ -3,10 +3,8 @@ package http
import ( import (
"regexp" "regexp"
"net/http" "net/http"
"strings"
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/templates"
"github.com/ian-kent/MailHog/mailhog/templates/images"
"github.com/ian-kent/MailHog/mailhog/templates/js"
"github.com/ian-kent/MailHog/mailhog/http/api" "github.com/ian-kent/MailHog/mailhog/http/api"
"github.com/ian-kent/MailHog/mailhog/http/handler" "github.com/ian-kent/MailHog/mailhog/http/handler"
) )
@ -22,21 +20,27 @@ func web_exit(w http.ResponseWriter, r *http.Request, route *handler.Route) {
func web_index(w http.ResponseWriter, r *http.Request, route *handler.Route) { func web_index(w http.ResponseWriter, r *http.Request, route *handler.Route) {
web_headers(w) web_headers(w)
w.Write([]byte(web_render(templates.Index()))) data, _ := cfg.Assets("assets/templates/index.html")
w.Write([]byte(web_render(string(data))))
} }
func web_jscontroller(w http.ResponseWriter, r *http.Request, route *handler.Route) { func web_jscontroller(w http.ResponseWriter, r *http.Request, route *handler.Route) {
w.Header().Set("Content-Type", "text/javascript") w.Header().Set("Content-Type", "text/javascript")
w.Write([]byte(js.Controllers())) data, _ := cfg.Assets("assets/js/controllers.js")
w.Write(data)
} }
func web_imgcontroller(w http.ResponseWriter, r *http.Request, route *handler.Route) { func web_imgcontroller(w http.ResponseWriter, r *http.Request, route *handler.Route) {
w.Header().Set("Content-Type", "image/png") w.Header().Set("Content-Type", "image/png")
w.Write(images.Hog()) data, _ := cfg.Assets("assets/images/hog.png")
w.Write(data)
} }
func web_render(content string) string { func web_render(content string) string {
return templates.Layout(content) data, _ := cfg.Assets("assets/templates/layout.html")
layout := string(data)
html := strings.Replace(layout, "<%= content %>", content, -1)
return html
} }
func web_headers(w http.ResponseWriter) { func web_headers(w http.ResponseWriter) {

View file

@ -1,60 +0,0 @@
package images
import (
"encoding/base64"
)
func Hog() []byte {
hog := `iVBORw0KGgoAAAANSUhEUgAAANEAAACaCAYAAAA3pa1AAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
bWFnZVJlYWR5ccllPAAACphJREFUeNrsnV9W20YUh0UP7yUriGlP+4pZAWYFITvAr81DYAXACoCH
9hWzAmAFESvAeW1OU7GCOCtI54arIhSBJVnzT/q+c3QMxjbWzPzmd+9oZrT27du3BADa8xNFAICI
ABARACICQEQAgIgAEBEAIgJARACAiAAQEQAiAkBEAICIABARACICQEQAgIgAnLAe2xdeW1uj1nrA
n7/8NjIP781x++7zp+u67wtxO4N1RAAeBHRsHo70VxHTtav2Y0OEzkW06kkgwujd58oc48LTE98i
iC4nEhGsckC0AhLh3JUEJGyYv+3H3H6ci0h6klUOiFZAH0Qwz7zkKOb2gxOBbQFtLBHQ97zIvO4i
1vazFlvvjpCic6ArHTyogwwwTN99/rSIKSdyLqLQRWAqfqKVLseW9qBVyW+mR/H3e/15bg5pCJlp
EBkhXCOkvN6acpvbSidwoo5EqGKRin6tj+MWFV6XRUFYHwu/J6axpD0UkAwUXKzwESKk7SpHwok8
OZEOrYpodgqCCQkR1I0+pi+FMxEIaKIOtCozUw5TnMijCLUy35hjr0FMHgp5qCii+lpwsYWtMKfD
zuquQ0ffLIfDzFiw7ESFqST7FkMzF+Q52aTiHItCk0T8MiBhXXRc7jL0Pe2y/eBEzxSius5R0vDq
d48QQUludSuu5UNUHeRBlbmkOZdX5EQWnQjxLB3IuNUcK3Ugog+W6mG7y04BJ1IRIp7Wgxcippuu
RaUXVL9Y+t6H5vuekR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xTYdWN04c4xD3p8sNCmDOHiNpz30E4CDBo
Ee20FNhgsbxJCUQoogQnaszYgjBHFGu8ItpARI15b+EzEVHEIhq/kOy2mfXQ91BunwaPiJqS+ghv
AuaUJo2IqnrXl0RQZzb4kIa4mbE+MBHtrNowdE/oRQ0hTgZSn7bC2wlSiTucy5b8vc4Aw/uB1CeD
LYio0m2WiajOWpe9gbiRLSf6GamEKaK5w9cIF0ZIfc8ZbG02P0YqYYqozgTUmw5FNErCuDW9TWzt
XcGARcTh3FKBaLiX1fy8gyWjfVGjE0UzCx891mtQEJiI6sTvdW8E1qQH7rsbXTYos1dJ/ZXCp33u
gPqcE+3XzGPOGyTVez2v07OabnQusz70DuB1Xi/1cIVk4gvnajV6DemmVOf/06HeNnxb3Q0uR6ZT
26OU43Ki2iGdaTwSnuzWcKTFAIQ0r1kWbcLhEbIJREQNdtScNPjM1DxsJqV9GUrMhlCxWhb57khZ
RUeStXDyRTKsW9TUYs3XDiqye48JDe6SGtcgTCU33jBMc6lJ6fPn6liDQ9cE5S6SVV3E1jIb6+vK
jvP/jQFC3XVnqCLaNz9eLHmpVPgmVRUOiCiggQWdQHqyJHa/pJoAJ3rGiUphxJ4OIhSHtC9VaIAT
ISIAwjkAQEQAiAgAEQEgIgBARACICAARASAiAEBEAIgIABEBICIAQEQAiAjAO/8JMADuyXA0k7yb
qgAAAABJRU5ErkJggg==`
data, _ := base64.StdEncoding.DecodeString(hog)
return data
}

View file

@ -34,6 +34,7 @@ func configure() {
MongoUri: mongouri, MongoUri: mongouri,
MongoDb: mongodb, MongoDb: mongodb,
MongoColl: mongocoll, MongoColl: mongocoll,
Assets: Asset,
} }
if storage_type == "mongodb" { if storage_type == "mongodb" {