MCPcopy Index your code
hub / github.com/koding/kite / Call

Method Call

dnode/callback.go:18–23  ·  view source on GitHub ↗

Call the received function.

(args ...interface{})

Source from the content-addressed store, hash-verified

16
17// Call the received function.
18func (f Function) Call(args ...interface{}) error {
19 if !f.IsValid() {
20 return errors.New("invalid function")
21 }
22 return f.Caller.Call(args...)
23}
24
25// IsValid returns true if f represents a Function.
26// It returns false if f is the zero Value.

Callers

nothing calls this directly

Calls 2

IsValidMethod · 0.95
CallMethod · 0.65

Tested by

no test coverage detected