MCPcopy Create free account
hub / github.com/koding/kite / Value

Method Value

kontrol/node.go:88–92  ·  view source on GitHub ↗

Value returns the value associated with the current node.

()

Source from the content-addressed store, hash-verified

86
87// Value returns the value associated with the current node.
88func (n *Node) Value() (kontrolprotocol.RegisterValue, error) {
89 var rv kontrolprotocol.RegisterValue
90 err := json.Unmarshal([]byte(n.Node.Value), &rv)
91 return rv, err
92}
93
94// Kites returns a list of kites that are gathered by collecting recursively
95// all nodes under the current node.

Callers 3

KiteMethod · 0.95
TestMethod_BaseFunction · 0.80
mainFunction · 0.80

Calls 1

UnmarshalMethod · 0.80

Tested by 1

TestMethod_BaseFunction · 0.64