logstore

package
v0.0.0-...-e66e7a7 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogStore

type LogStore interface {
	// Opens a connection to the LogStore
	Open() error
	// Pings the LogStore
	Ping(ctx context.Context) error
	// Init initializes the LogStore by creating tables, etc
	Init(ctx context.Context) error
	// WriteHTTPLogEntry writes a single log entry
	WriteHTTPLogEntry(ctx context.Context, entry httplog.Entry) error
	LookupLogFile(logfile string, modified time.Time) (string, time.Time, error)
	// Clear removes existing data from the log store, including tables
	Clear(ctx context.Context) error
	// Close closes the log store
	Close()
}

LogStore defines an interface for storing log entries

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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