Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/APIParkLab/APIPark
/ ToServiceType
Function
ToServiceType
service/service/model.go:33–43 ·
view source on GitHub ↗
(s int)
Source
from the content-addressed store, hash-verified
31
}
32
33
func
ToServiceType(s int) ServiceType {
34
35
switch
s {
36
case
1:
37
return
InnerService
38
case
2:
39
return
PublicService
40
default:
41
return
PublicService
42
}
43
}
44
45
type
Kind string
46
Callers
1
FromEntity
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected