event

package
v0.0.0-...-dddda54 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

fork from https://github.com/pocke/goevent

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

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

func New

func New(f interface{}) *Event

New

func (*Event) Off

func (e *Event) Off(f interface{}) error

Off

func (*Event) On

func (e *Event) On(f interface{}) error

On

func (*Event) Trigger

func (e *Event) Trigger(args ...interface{}) error

Trigger

Jump to

Keyboard shortcuts

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