~egtann/srp

cc4a8c6c8245920cbf3cb3b9303fd2d86e9cbf25 — Evan Tann 9 months ago 49bf261
update module path to egt.run
2 files changed, 5 insertions(+), 8 deletions(-)

M cmd/srp/main.go
M go.mod
M cmd/srp/main.go => cmd/srp/main.go +4 -7
@@ 16,7 16,7 @@ import (
	"syscall"
	"time"

	"github.com/egtann/srp"
	"egt.run/pkg/srp"
	"golang.org/x/crypto/acme/autocert"
)



@@ 31,9 31,7 @@ func main() {
	}
	flag.Parse()

	if err := srp.Unveil(*config); err != nil {
		log.Fatal(err)
	}
	srp.Unveil(*config)

	issues := []string{}
	port := strings.TrimLeft(*portTmp, ":")


@@ 122,9 120,8 @@ func main() {
	// the program. That's why we sleep here, which is plenty of time for
	// both servers to boot.
	time.Sleep(10 * time.Millisecond)
	if err := srp.Pledge(); err != nil {
		log.Fatal(err)
	}
	srp.Pledge()

	log.Println("listening on", port)
	if err = proxy.CheckHealth(); err != nil {
		log.Println("check health", err)

M go.mod => go.mod +1 -1
@@ 1,4 1,4 @@
module github.com/egtann/srp
module egt.run/pkg/srp

go 1.13