diff --git a/files/repomap b/files/repomap index 2b1adc7..cb84f05 100644 --- a/files/repomap +++ b/files/repomap @@ -4,15 +4,18 @@ go.wit.com/log git.wit.org/wit/log # gui/ packages -go.wit.com/gui git.wit.org/jcarr/old-gui/ go.wit.com/gui/gui git.wit.org/gui/gui go.wit.com/gui/widget git.wit.org/gui/widget go.wit.com/gui/toolkits git.wit.org/gui/toolkits go.wit.com/gui/debugger git.wit.org/gui/debugger go.wit.com/gui/gadgets git.wit.org/gui/gadgets -go.wit.com/gui/gadgets/repostatus git.wit.org/jcarr/repostatus -go.wit.com/gui/digitalocean git.wit.org/gui/digitalocean -go.wit.com/gui/cloudflare git.wit.org/gui/cloudflare + +# gui libraries +go.wit.com/gui/lib/repostatus git.wit.org/jcarr/repostatus +go.wit.com/gui/lib/hostname git.wit.org/jcarr/hostname +go.wit.com/gui/lib/logsettings git.wit.org/jcarr/logsettings +go.wit.com/gui/lib/digitalocean git.wit.org/gui/digitalocean +go.wit.com/gui/lib/cloudflare git.wit.org/gui/cloudflare # Applications @@ -20,8 +23,8 @@ go.wit.com/apps/control-panel-dns git.wit.org/jcarr/control-panel-dns go.wit.com/apps/control-panel-digitalocean git.wit.org/wit/control-panel-digitalocean go.wit.com/apps/control-panel-cloudflare git.wit.org/wit/control-panel-cloudflare go.wit.com/apps/control-panel-vpn git.wit.org/wit/control-panel-vpn +go.wit.com/apps/autotypist git.wit.org/jcarr/myrepos go.wit.com/apps/myrepos git.wit.org/jcarr/myrepos -go.wit.com/apps/myrepos/repostatus git.wit.org/jcarr/repostatus go.wit.com/apps/go.wit.com git.wit.org/jcarr/go.wit.com # Support packages diff --git a/indexHtml.go b/indexHtml.go index 65f7bc7..5ea96e1 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -8,33 +8,6 @@ import ( "go.wit.com/log" ) -/* -func indexHtml(w http.ResponseWriter) { - realurl = "https://" + realurl - - log.Info("go repo =", gourl, "real url =", realurl) - fmt.Fprintln(w, "") - fmt.Fprintln(w, "") - fmt.Fprintln(w, "") - // fmt.Fprintln(w, - fmt.Fprintln(w, "") - fmt.Fprintln(w, "") - - fmt.Fprintln(w, "") - fmt.Fprintln(w, "") - fmt.Fprintln(w, "") - fmt.Fprintln(w, "Nothing to see here. Please move along.\"") - fmt.Fprintln(w, "") - fmt.Fprintln(w, "") -} -*/ - -/* - indexHeader(w) - indexBodyStart(w) - indexBodyEnd(w) -*/ - func indexHeader(w http.ResponseWriter) { fmt.Fprintln(w, "") fmt.Fprintln(w, "") @@ -120,183 +93,15 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, github st fmt.Fprintln(w, "") } -func indexBodyEnd(w http.ResponseWriter) { +func indexDivEnd(w http.ResponseWriter) { // fmt.Fprintln(w, " fmt.Fprintln(w, " ") fmt.Fprintln(w, " ") fmt.Fprintln(w, " ") fmt.Fprintln(w, " ") +} + +func indexBodyEnd(w http.ResponseWriter) { fmt.Fprintln(w, " ") fmt.Fprintln(w, " ") } -/* - - -
log/ (needed for the gui)
- - log - go.wit.com/log - git.wit.org/wit/log - github.com/wit-go/log - Go Reference - - - - -
gui/ packages
- - gui/gui - go.wit.com/gui/gui - git.wit.org/gui/gui - github.com/wit-go/gui - Go Reference - - - gui/widget - go.wit.com/gui/widget - git.wit.org/gui/widget - github.com/wit-go/widget - Go Reference - - - gui/gadgets - go.wit.com/gui/gadgets - git.wit.org/gui/gadgets - github.com/wit-go/gadgets - Go Reference - - - gui/toolkits - go.wit.com/gui/toolkits - git.wit.org/gui/toolkits - github.com/wit-go/toolkits - Go Reference - - - gui/debugger - go.wit.com/gui/debugger - git.wit.org/gui/debugger - github.com/wit-go/debugger - Go Reference - - - gui/examples - go.wit.com/gui/examples - git.wit.org/gui/examples - github.com/wit-go/examples - - - - gui/digitalocean - go.wit.com/gui/digitalocean - git.wit.org/gui/digitalocean - - Go Reference - - - gui/cloudflare - go.wit.com/gui/cloudflare - git.wit.org/gui/cloudflare - - Go Reference - - - -
Applications
- - control-panel-dns - go.wit.com/apps/control-panel-dns - git.wit.org/jcarr/control-panel-dns - - Go Reference - - - control-panel-digitalocean - go.wit.com/apps/control-panel-digitalocean - git.wit.org/wit/control-panel-digitalocean - - Go Reference - - - control-panel-cloudflare - go.wit.com/apps/control-panel-cloudflare - git.wit.org/wit/control-panel-cloudflare - - Go Reference - - - - - -
Support packages
- - - arg - go.wit.com/arg - git.wit.org/wit/arg - github.com/wit-go/go-arg - Go Reference - - - spew - go.wit.com/spew - git.wit.org/wit/spew - github.com/wit-go/spew - Go Reference - - - dnssec - go.wit.com/dnssec - git.wit.org/wit/dnssec - github.com/wit-go/dnssec - Go Reference - - - - shell - go.wit.com/shell - git.wit.org/wit/shell - github.com/wit-go/shell - Go Reference - - - - - - - - - - - - - -*/ diff --git a/main.go b/main.go index c9a358e..3d3e676 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { indexHeader(w) indexBodyStart(w) indexBodyScanConfig(w) - indexBodyRepo(w, "go.wit.com/gui/gui", "go.wit.com/gui/gui", "install gitea") + indexDivEnd(w) indexBodyEnd(w) return }