MCPcopy Create free account
hub / github.com/crossplane/function-template-go / Function

Struct Function

fn.go:16–20  ·  view source on GitHub ↗

Function returns whatever response you ask it to.

Source from the content-addressed store, hash-verified

14
15// Function returns whatever response you ask it to.
16type Function struct {
17 fnv1.UnimplementedFunctionRunnerServiceServer
18
19 log logging.Logger
20}
21
22// RunFunction runs the Function.
23func (f *Function) RunFunction(_ context.Context, req *fnv1.RunFunctionRequest) (*fnv1.RunFunctionResponse, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected