action

package
v0.0.0-...-5eee607 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBLock = flock.New(Root.Path(".seq.db.lock"))

DBLock is the lock file used to guard write access to the DB.

View Source
var FetchLock = flock.New(Root.Path(".seq.fetch.lock"))

FetchLock is the lock file used to guard files downloaded to the cache.

View Source
var LogCache = Root.Path("server-xlogs")

LogCache is the cache directory that holds logfiles retrieved from remote servers.

Root is the root directory for Sequell's config

Functions

func DownloadLogs

func DownloadLogs(incremental bool, filters []string) error

DownloadLogs downloads all logfiles, possibly filtered to a subset. If incremental, ignores files that are no longer live.

func Isync

func Isync(db pg.ConnSpec) error

Isync runs the isync process that runs as a slave to Sequell and periodically downloads and loads logs.

func LinkLogs

func LinkLogs() error

LinkLogs links cached logs to their correct modern locations.

func ShowSourceURLs

func ShowSourceURLs() error

ShowSourceURLs shows all remote Xlog URLs, including Xlogs that are no longer live.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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