aboutsummaryrefslogtreecommitdiff
path: root/headers/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'headers/base.go')
-rw-r--r--headers/base.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/headers/base.go b/headers/base.go
index 1357e82..3b5b3ec 100644
--- a/headers/base.go
+++ b/headers/base.go
@@ -20,6 +20,14 @@ package headers
//Base is an implementation detail.
type Base struct {
- H Headers
+ H Interface
K string
}
+
+//Interface is an implementation detail.
+type Interface interface {
+ Clear(string)
+ Del(string)
+ Get(string) string
+ Set(string, string)
+}