Documentation ¶
Index ¶
- func Connect(configuration map[string]interface{}) (database.Connection, error)
- type Config
- type Connection
- func (conn *Connection) Close()
- func (conn *Connection) InsertGlobals(stats *runtime.GlobalStats, time time.Time, site string, domain string)
- func (conn *Connection) InsertLink(link *runtime.Link, time time.Time)
- func (conn *Connection) InsertNode(node *runtime.Node)
- func (conn *Connection) PruneNodes(deleteAfter time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct { database.Connection // contains filtered or unexported fields }
func (*Connection) Close ¶
func (conn *Connection) Close()
func (*Connection) InsertGlobals ¶
func (conn *Connection) InsertGlobals(stats *runtime.GlobalStats, time time.Time, site string, domain string)
func (*Connection) InsertLink ¶
func (conn *Connection) InsertLink(link *runtime.Link, time time.Time)
func (*Connection) InsertNode ¶
func (conn *Connection) InsertNode(node *runtime.Node)
func (*Connection) PruneNodes ¶
func (conn *Connection) PruneNodes(deleteAfter time.Duration)
Click to show internal directories.
Click to hide internal directories.