file

package
Version: v0.0.0-...-2ef0b57 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of this action
	Name = "File"

	// Description of this action
	Description = "File based actions"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	action.Action

	Selector string
	URL      string
	FileURL  string
}

Screenshot is an action

func (*File) Description

func (a *File) Description() string

Description returns what the action does

func (*File) Download

func (a *File) Download() (err error)

Download downloads a file

func (*File) Name

func (a *File) Name() string

Name returns the action name

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL