watchy

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2017 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventEmitter

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

func New

func New() *EventEmitter

func (*EventEmitter) Emit

func (r *EventEmitter) Emit(event string, payload interface{})

func (*EventEmitter) On added in v0.1.4

func (r *EventEmitter) On(event string) chan interface{}

func (*EventEmitter) Once

func (r *EventEmitter) Once(event string) chan interface{}

type Listener

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

Jump to

Keyboard shortcuts

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