aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authoradnano <[email protected]>2020-10-13 20:36:47 -0400
committeradnano <[email protected]>2020-10-13 20:36:47 -0400
commit78280070aeaa7b87b837ddcceb898f8ef1ce00bd (patch)
treeb5472d8c64d8d4bb5280a298de7f058bd43372f7 /server.go
parentPrevent other packages from implementing Line (diff)
downloadgo-gemini-78280070aeaa7b87b837ddcceb898f8ef1ce00bd.tar.xz
go-gemini-78280070aeaa7b87b837ddcceb898f8ef1ce00bd.zip
Add copyright notice
Diffstat (limited to 'server.go')
-rw-r--r--server.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.go b/server.go
index ff805fa..c7f8630 100644
--- a/server.go
+++ b/server.go
@@ -383,6 +383,10 @@ func (f HandlerFunc) Serve(w *ResponseWriter, r *Request) {
// The following code is modified from the net/http package.
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// ServeMux is a Gemini request multiplexer.
// It matches the URL of each incoming request against a list of registered
// patterns and calls the handler for the pattern that