feat: add simple auth api

This commit is contained in:
weloe
2023-05-10 16:00:09 +08:00
parent a51ba879a1
commit a89c28076a
8 changed files with 157 additions and 0 deletions

5
auth/acl_interface.go Normal file
View File

@@ -0,0 +1,5 @@
package auth
type ACL interface {
GetPermission(id string) []string
}