ing
This commit is contained in:
parent
e2ce812f82
commit
245d807a5a
|
@ -59,6 +59,10 @@ func (mc *MatchCtx) GetAttribute(key string) (value string, ok bool) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (mc *MatchCtx) GetAttributes() map[string]string {
|
||||||
|
return mc.attributes
|
||||||
|
}
|
||||||
|
|
||||||
func (mc *MatchCtx) SetAttribute(key string, value string) {
|
func (mc *MatchCtx) SetAttribute(key string, value string) {
|
||||||
mc.attributes[key] = value
|
mc.attributes[key] = value
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user