all

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2022 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Close

func Close()

func Connect

func Connect(allConnection map[string]interface{}) (database.Connection, error)

func Start

func Start(config database.Config) (err error)

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 (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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL