Documentation
¶
Index ¶
- type CockroachDBGraph
- func (c *CockroachDBGraph) Close() error
- func (c *CockroachDBGraph) Edges(fromID, toID uuid.UUID, updatedBefore time.Time) (graph.EdgeIterator, error)
- func (c *CockroachDBGraph) FindLink(id uuid.UUID) (*graph.Link, error)
- func (c *CockroachDBGraph) Links(fromID, toID uuid.UUID, accessedBefore time.Time) (graph.LinkIterator, error)
- func (c *CockroachDBGraph) RemoveStaleEdges(fromID uuid.UUID, updatedBefore time.Time) error
- func (c *CockroachDBGraph) UpsertEdge(edge *graph.Edge) error
- func (c *CockroachDBGraph) UpsertLink(link *graph.Link) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CockroachDBGraph ¶
type CockroachDBGraph struct {
// contains filtered or unexported fields
}
func NewCockroachDBGraph ¶
func NewCockroachDBGraph(dsn string) (*CockroachDBGraph, error)
func (*CockroachDBGraph) Close ¶
func (c *CockroachDBGraph) Close() error
func (*CockroachDBGraph) Edges ¶
func (c *CockroachDBGraph) Edges(fromID, toID uuid.UUID, updatedBefore time.Time) (graph.EdgeIterator, error)
func (*CockroachDBGraph) Links ¶
func (c *CockroachDBGraph) Links(fromID, toID uuid.UUID, accessedBefore time.Time) (graph.LinkIterator, error)
func (*CockroachDBGraph) RemoveStaleEdges ¶
func (*CockroachDBGraph) UpsertEdge ¶
func (c *CockroachDBGraph) UpsertEdge(edge *graph.Edge) error
func (*CockroachDBGraph) UpsertLink ¶
func (c *CockroachDBGraph) UpsertLink(link *graph.Link) error
Click to show internal directories.
Click to hide internal directories.