/emitr

A simple event emitter implementation for Go

Primary LanguageGoApache License 2.0Apache-2.0

emitr

Emitr is a simple event emitter library package for Golang.

Features

  • Add multiple callback functions
  • Group callback functions by name
  • Run callback functions by event name
  • Add callback functions which are run only once
  • Add callback functions which are run on every event

Installation

go get github.com/abcum/emitr