ing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user