mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
11 lines
211 B
Go
11 lines
211 B
Go
package auth
|
|
|
|
func CheckBlacklist(fullrepo string, blist []string) bool {
|
|
for _, blocked := range blist {
|
|
if blocked == fullrepo {
|
|
return true
|
|
}
|
|
}
|
|
logw("%s not in blacklist", fullrepo)
|
|
return false
|
|
}
|