MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / GetBuiltinRuntimeFactoryBuilder

Function GetBuiltinRuntimeFactoryBuilder

server/server.go:180–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func GetBuiltinRuntimeFactoryBuilder() map[string]func(configMap common.ConfigMap) (api.FunctionRuntimeFactory, error) {
181 return map[string]func(configMap common.ConfigMap) (api.FunctionRuntimeFactory, error){
182 //nolint:unparam
183 common.WASMRuntime: func(configMap common.ConfigMap) (api.FunctionRuntimeFactory, error) {
184 return wazero.NewWazeroFunctionRuntimeFactory(), nil
185 },
186 }
187}
188
189func setupFactories[T any](factoryBuilder map[string]func(configMap common.ConfigMap) (T, error),
190 config map[string]common.ConfigMap,

Callers 3

execFunction · 0.92
NewDefaultServerFunction · 0.85
startStandaloneSvrFunction · 0.85

Calls 1

Tested by 1

startStandaloneSvrFunction · 0.68