routerevent

package
v2.12.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch()

Types

type Event

type Event interface {
	Param() interface{}
	Return(interface{})
	Returned() interface{}
}

type EventString

type EventString string

func New

func New(s string) EventString

func (EventString) Handle

func (e EventString) Handle(handler func(Event))

func (EventString) Throw

func (e EventString) Throw(param interface{}) Event

func (EventString) UnHandle

func (e EventString) UnHandle()

Jump to

Keyboard shortcuts

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