BatchAdapter is the interface for Casbin adapters with multiple add and remove policy functions.
| 16 | |
| 17 | // BatchAdapter is the interface for Casbin adapters with multiple add and remove policy functions. |
| 18 | type BatchAdapter interface { |
| 19 | Adapter |
| 20 | // AddPolicies adds policy rules to the storage. |
| 21 | // This is part of the Auto-Save feature. |
| 22 | AddPolicies(sec string, ptype string, rules [][]string) error |
| 23 | // RemovePolicies removes policy rules from the storage. |
| 24 | // This is part of the Auto-Save feature. |
| 25 | RemovePolicies(sec string, ptype string, rules [][]string) error |
| 26 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…