From 99ef0307e75fecc469f63a82bb72d1b697e14fff Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 7 Feb 2018 19:58:03 +0100 Subject: 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. --- headers.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'headers.go') 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) +} -- cgit v1.2.3