Documentation ¶
Index ¶
- type Edge
- type GraphClient
- func (client *GraphClient) GetClasses() ([]string, error)
- func (client *GraphClient) GetNode(globalID string) (*Node, error)
- func (client *GraphClient) GetNodes(class string) ([]string, error)
- func (client *GraphClient) GetPredicates(globalID string) ([]*PredicateStat, error)
- func (client *GraphClient) LinkNodes(in, out string, predicate string, data ...map[string]interface{}) error
- func (client *GraphClient) NewNode(node *Node) (*Node, error)
- func (client *GraphClient) SplitID(id string) (string, string, error)
- type Node
- type PredicateStat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphClient ¶
type GraphClient struct {
// contains filtered or unexported fields
}
func (*GraphClient) GetClasses ¶
func (client *GraphClient) GetClasses() ([]string, error)
func (*GraphClient) GetPredicates ¶
func (client *GraphClient) GetPredicates(globalID string) ([]*PredicateStat, error)
type Node ¶
type PredicateStat ¶
type PredicateStat struct { Key string `firestore: "key,omitempty"` Value int `firestore: "value"` }
keeps track of total predicate content counts
Click to show internal directories.
Click to hide internal directories.