This commit is contained in:
crusader 2018-09-03 22:52:55 +09:00
parent e2ce812f82
commit 245d807a5a

View File

@ -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
}