MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / readKey

Function readKey

initialization.go:156–162  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

154 }
155}
156func readKey(key string) (group string, name string) {
157 ls := strings.Split(key, ".")
158 if len(ls) != 2 {
159 log.Fatal("invalid access key:[%s]", key)
160 }
161 return ls[0], ls[1]
162}
163
164func loadAccess() (map[string]*Access, int) {
165 confAccess := access.All()

Callers 2

emptyFunction · 0.85
loadAccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected