output

package
v0.0.0-...-e9d77fd Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderDateFormat  = "Monday January 2, 2006"
	FilenameBase      = "index"
	FileMode          = 0600
	UnknownOutputMode = iota
	MarkdownOutputMode
	HTMLOutputMode
)

Variables

View Source
var ErrUnknownMode = fmt.Errorf("unknown output mode")

Functions

func WriteItems

func WriteItems(db *pebble.DB, mode int, maxAge time.Duration) ([]byte, error)

WriteItems read items from the pebble db and output them in the mode requested.

Types

This section is empty.

Jump to

Keyboard shortcuts

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