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

Function ToServiceKind

service/service/model.go:67–76  ·  view source on GitHub ↗
(s int)

Source from the content-addressed store, hash-verified

65}
66
67func ToServiceKind(s int) Kind {
68 switch s {
69 case 0:
70 return RestService
71 case 1:
72 return AIService
73 default:
74 return RestService
75 }
76}
77
78const (
79 ApprovalTypeAuto ApprovalType = "auto"

Callers 1

FromEntityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected