From f4b80ef305fbf510ffd50204f408898ed7393a03 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Tue, 9 Feb 2021 10:00:04 -0500 Subject: [PATCH] Update documentation --- doc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc.go b/doc.go index 9dbc599..eefd759 100644 --- a/doc.go +++ b/doc.go @@ -27,13 +27,13 @@ Servers should be configured with certificates: Servers can accept requests for multiple hosts and schemes: - server.RegisterFunc("example.com", func(w *gemini.ResponseWriter, r *gemini.Request) { + server.RegisterFunc("example.com", func(w gemini.ResponseWriter, r *gemini.Request) { fmt.Fprint(w, "Welcome to example.com") }) - server.RegisterFunc("example.org", func(w *gemini.ResponseWriter, r *gemini.Request) { + server.RegisterFunc("example.org", func(w gemini.ResponseWriter, r *gemini.Request) { fmt.Fprint(w, "Welcome to example.org") }) - server.RegisterFunc("http://example.net", func(w *gemini.ResponseWriter, r *gemini.Request) { + server.RegisterFunc("http://example.net", func(w gemini.ResponseWriter, r *gemini.Request) { fmt.Fprint(w, "Proxied content from http://example.net") })