|
@@ -9,6 +9,9 @@ import (
|
|
"strings"
|
|
"strings"
|
|
"time"
|
|
"time"
|
|
|
|
|
|
|
|
+ "net/http"
|
|
|
|
+ _ "net/http/pprof"
|
|
|
|
+
|
|
"github.com/mitchellh/go-wordwrap"
|
|
"github.com/mitchellh/go-wordwrap"
|
|
)
|
|
)
|
|
|
|
|
|
@@ -592,6 +595,10 @@ func panel_demo(d *door.Door) {
|
|
func main() {
|
|
func main() {
|
|
var message string
|
|
var message string
|
|
|
|
|
|
|
|
+ go func() {
|
|
|
|
+ http.ListenAndServe(":6060", nil)
|
|
|
|
+ }()
|
|
|
|
+
|
|
fmt.Println("Starting testdoor.go")
|
|
fmt.Println("Starting testdoor.go")
|
|
var d door.Door = door.Door{}
|
|
var d door.Door = door.Door{}
|
|
|
|
|