Documentation ¶
Overview ¶
Package node provides the abstraction to build and use BadWolf nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node describes a node in a BadWolf graph.
func NewBlankNode ¶
func NewBlankNode() *Node
NewBlankNode creates a new blank node. The blank node ID is guaranteed to be uique in BadWolf.
func NewNodeFromStrings ¶
NewNodeFromStrings returns a new node constructed from a type and ID represented as plain strings.
func (*Node) GUID ¶
GUID returns a global unique identifier for the given node. It is implemented as the base64 encoded stringified version of the node.
Click to show internal directories.
Click to hide internal directories.