recall

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotEnabledError = errors.New("recall not enabled")
)

Functions

func IsRecallEnabled

func IsRecallEnabled(l *logrus.Logger, username string) (bool, error)

Types

type ExtractResult

type ExtractResult struct {
	WindowTitle string
	WindowToken string
	Timestamp   int64
}

type Recall

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

func New

func New(logger *logrus.Logger, userName string) (*Recall, error)

func (*Recall) ExtractImages

func (r *Recall) ExtractImages() ([]ExtractResult, error)

func (*Recall) ExtractWeb

func (r *Recall) ExtractWeb() ([]WebResult, error)

type WebResult

type WebResult struct {
	Timestamp int64
	Domain    string
	URL       string
}

Jump to

Keyboard shortcuts

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