mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-02-05 05:50:08 +08:00
14 lines
750 B
Go
14 lines
750 B
Go
// Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/core/event.
|
|
//
|
|
// Package event contains the abstractions for a local event bus, along with the standard events
|
|
// that libp2p subsystems may emit.
|
|
//
|
|
// Source code is arranged as follows:
|
|
// - doc.go: this file.
|
|
// - bus.go: abstractions for the event bus.
|
|
// - rest: event structs, sensibly categorised in files by entity, and following this naming convention:
|
|
// Evt[Entity (noun)][Event (verb past tense / gerund)]
|
|
// The past tense is used to convey that something happened, whereas the gerund form of the verb (-ing)
|
|
// expresses that a process is in progress. Examples: EvtConnEstablishing, EvtConnEstablished.
|
|
package event
|