MCPcopy 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
33func 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
45type Kind string
46

Callers 1

FromEntityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected