reminder

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store stores timestamps on disk

func New

func New() (*Store, error)

New creates a new persistent timestamp store

func (*Store) Overdue

func (s *Store) Overdue(key string) bool

Overdue returns true iff (a) overdue did not return true within 24h AND (b) the key wasn't updated within the last 90 days

func (*Store) Reset

func (s *Store) Reset(key string) error

Reset marks a key as just seen

Jump to

Keyboard shortcuts

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