EnforceContext is used as the first element of the parameter "rvals" in method "enforce".
| 62 | |
| 63 | // EnforceContext is used as the first element of the parameter "rvals" in method "enforce". |
| 64 | type EnforceContext struct { |
| 65 | RType string |
| 66 | PType string |
| 67 | EType string |
| 68 | MType string |
| 69 | } |
| 70 | |
| 71 | func (e EnforceContext) GetCacheKey() string { |
| 72 | return "EnforceContext{" + e.RType + "-" + e.PType + "-" + e.EType + "-" + e.MType + "}" |
nothing calls this directly
no outgoing calls
no test coverage detected