logging

package
Version: 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: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

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

Types

type Config

type Config map[string]interface{}

func (Config) Path

func (c Config) Path() string

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)

Source Files

Jump to

Keyboard shortcuts

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