From 245d807a5a052e9d94f79c7dcbdb4101fd5c55dd Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 3 Sep 2018 22:52:55 +0900 Subject: [PATCH] ing --- matcher.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matcher.go b/matcher.go index 7ac978f..f777eec 100644 --- a/matcher.go +++ b/matcher.go @@ -59,6 +59,10 @@ func (mc *MatchCtx) GetAttribute(key string) (value string, ok bool) { return } +func (mc *MatchCtx) GetAttributes() map[string]string { + return mc.attributes +} + func (mc *MatchCtx) SetAttribute(key string, value string) { mc.attributes[key] = value }