aboutsummaryrefslogtreecommitdiff
path: root/content/h2push
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2017-04-02 13:10:43 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2017-04-03 04:41:16 +0000
commitc36abd32f2bd6e4a9f96085bdb4e0c534e6fe5fc (patch)
tree605655c26bd337e4760a37930aaedcd7d308db3b /content/h2push
parentfa33df21410c950dc4bca7a2e33955dba7d7e455 (diff)
content/h2push/server: fix pre-Go1.8 build, add copyright header
Change-Id: Iea6d106d2b5a4f987b3f5b69799508bcc876d9c2 Reviewed-on: https://go-review.googlesource.com/39271 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jaana Burcu Dogan <jbd@google.com>
Diffstat (limited to 'content/h2push')
-rw-r--r--content/h2push/server/main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/content/h2push/server/main.go b/content/h2push/server/main.go
index 5cc153a..8eb842a 100644
--- a/content/h2push/server/main.go
+++ b/content/h2push/server/main.go
@@ -1,4 +1,10 @@
-// server is a server with HTTP/2 Server Push support.
+// Copyright 2017 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.
+
+// +build go1.8
+
+// The server command demonstrates a server with HTTP/2 Server Push support.
package main
import (