aboutsummaryrefslogtreecommitdiff
path: root/headers.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-02-07 19:58:03 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-02-07 19:58:03 +0100
commit99ef0307e75fecc469f63a82bb72d1b697e14fff (patch)
tree7114579ba523dc54b92b9bbea9d12dced4c02bcf /headers.go
parent801b5207dcbf3438e7612e1f7edc9de32ce0780c (diff)
downloadgo-schwift-99ef0307e75fecc469f63a82bb72d1b697e14fff.tar.gz
finish moving towards new auto-generated Headers implementation
Everything in one package once more. The bigger API in *this* package is worth it when we don't have to expose guts to cross package boundaries.
Diffstat (limited to 'headers.go')
-rw-r--r--headers.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/headers.go b/headers.go
index 9661ec0..1bc206f 100644
--- a/headers.go
+++ b/headers.go
@@ -46,3 +46,10 @@ func headersFromHTTP(src http.Header) map[string]string {
}
return h
}
+
+type headerInterface interface {
+ Clear(string)
+ Del(string)
+ Get(string) string
+ Set(string, string)
+}