recent

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package recent is a work in progress JSON generator to display the most recent files on the file. It is intended to replace https://defacto2.net/welcome/recentfiles.

Index

Constants

This section is empty.

Variables

View Source
var ErrJSON = errors.New("data fails json validation")

Functions

func List

func List(limit uint, compress bool) error

List recent files as a JSON document.

Types

type File

type File struct {
	UUID  string `json:"uuid"`
	URLID string `json:"urlid"`
	Title string `json:"title"`
	// contains filtered or unexported fields
}

File data for new thumbnails.

Jump to

Keyboard shortcuts

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