events

package
v0.0.0-...-8369a04 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Events

type Events struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewEvents

func NewEvents() *Events

func (*Events) Subscribe

func (events *Events) Subscribe(address umi.Address, ch chan<- []byte)

func (*Events) SubscribeTo

func (events *Events) SubscribeTo(blockchain iBlockchain)

func (*Events) SubscribeTo2

func (events *Events) SubscribeTo2(mempool iMempool)

func (*Events) Unsubscribe

func (events *Events) Unsubscribe(address umi.Address, ch chan<- []byte)

func (*Events) Worker

func (events *Events) Worker(ctx context.Context)

Jump to

Keyboard shortcuts

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