logging

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: AGPL-3.0 Imports: 6 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (Config) Type added in v1.8.3

func (c Config) Type() 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, insertTimestamp time.Time, site string, domain string)
func (conn *Connection) InsertLink(link *runtime.Link, insertTimestamp 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