logging

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: AGPL-3.0 Imports: 6 Imported by: 1

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)

Jump to

Keyboard shortcuts

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