This commit is contained in:
yanghao05
2023-02-06 20:10:47 +08:00
parent 0ddbeb3f7a
commit 47e8139f47
6 changed files with 233 additions and 3 deletions

6
providers/rbac/rbac.go Normal file
View File

@@ -0,0 +1,6 @@
package rbac
type IRbac interface {
Can(role, method, path string) bool
Reload() error
}