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
Click to show internal directories.
Click to hide internal directories.