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

Method ListFunctions

fs/manager.go:264–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262}
263
264func (fm *functionManagerImpl) ListFunctions() (result []string) {
265 fm.functionsLock.Lock()
266 defer fm.functionsLock.Unlock()
267 result = make([]string, len(fm.functions))
268 i := 0
269 for k := range fm.functions {
270 result[i] = k.String()
271 i++
272 }
273 return
274}
275
276func (fm *functionManagerImpl) ProduceEvent(name string, event contube.Record) error {
277 ctx, cancel := context.WithCancel(context.Background())

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected