javascript

package
v0.0.0-...-4bf1c35 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(mouse *mouse.Mouse, config *Config) func(*mouse.Event)

NewPlugin creates a new JavaScript Plugin for a mouse bot.

Types

type Config

type Config struct {
	Name       string
	Folders    []string
	Pattern    string
	EventTypes []string
	Storage    *storage.Store
}

A Config represents a conriguration object for a JavaScript Plugin.

type Plugin

type Plugin struct {
	Config *Config
	Mouse  *mouse.Mouse
	// contains filtered or unexported fields
}

A Plugin represents a JavaScript Plugin for a Mouse bot.

Jump to

Keyboard shortcuts

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