From 66a1b1f39a1e1d5499b548b36d18c8daa872d7da Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 28 Jan 2023 14:52:35 -0700 Subject: gopher support. Some of the contrib packages were originally built gemini-specific and had to be refactored into generic core functionality and thin protocol-specific wrappers for each of gemini and gopher. --- examples/inspectls/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/inspectls') diff --git a/examples/inspectls/main.go b/examples/inspectls/main.go index 5022888..ce82f43 100644 --- a/examples/inspectls/main.go +++ b/examples/inspectls/main.go @@ -33,7 +33,7 @@ func main() { handler := logging.LogRequests(infoLog)(inspectHandler) // run the server - server, err := gemini.NewServer(context.Background(), errLog, tlsconf, "tcp4", ":1965", handler) + server, err := gemini.NewServer(context.Background(), "localhost", "tcp4", ":1965", handler, errLog, tlsconf) if err != nil { log.Fatal(err) } -- cgit v1.2.3