MCPcopy Create free account
hub / github.com/OpenFunction/samples / HandleCronInput

Function HandleCronInput

functions/async/bindings/cron-input/cron-input.go:9–16  ·  view source on GitHub ↗
(ctx ofctx.Context, in []byte)

Source from the content-addressed store, hash-verified

7)
8
9func HandleCronInput(ctx ofctx.Context, in []byte) (ofctx.Out, error) {
10 if in != nil {
11 log.Printf("binding - Data: %s", in)
12 } else {
13 log.Print("binding - Data: Received")
14 }
15 return ctx.ReturnOnSuccess(), nil
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected