MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Sort

Method Sort

middleware/permit/permit.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (p *PermitMiddleware) Sort() int {
39 return 99
40}
41
42func (p *PermitMiddleware) Check(method string, path string) (bool, []gin.HandlerFunc) {
43 // 当前路径是否有配置权限

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected