summaryrefslogtreecommitdiff
path: root/service/http/constants.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-07 15:52:57 +0300
committerValery Piashchynski <[email protected]>2020-02-07 15:52:57 +0300
commit785e58f8bea7eb9052babc1dd0e94859328728e5 (patch)
tree8e301f947211d0a515f79d2b33e85598eb11766c /service/http/constants.go
parent1f9a12a7b3ab745ee39afe2bbc4a19d21fbe7d91 (diff)
Update README.md (remove travis, replace with github actions)
Fix innefectual usage of maps Update headers (canonical usage) Add golangci-lint check to github actions and go 1.13
Diffstat (limited to 'service/http/constants.go')
-rw-r--r--service/http/constants.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/service/http/constants.go b/service/http/constants.go
new file mode 100644
index 00000000..a25f52a4
--- /dev/null
+++ b/service/http/constants.go
@@ -0,0 +1,6 @@
+package http
+
+import "net/http"
+
+var http2pushHeaderKey = http.CanonicalHeaderKey("http2-push")
+var trailerHeaderKey = http.CanonicalHeaderKey("trailer")