openers

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListOpenersWithDescription added in v0.9.6

func ListOpenersWithDescription() []string

func Open

func Open(s string, lock bool) (io.ReadCloser, error)

Types

type Opener

type Opener interface {
	Open(s string, lock bool) (io.ReadCloser, error)
	Evaluate(s string) float32 // score the ability to open
	Name() string
	Description() string
}

type OpenerCollection

type OpenerCollection struct {
	Name string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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