rpcevent

package
v0.101.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Matches

func Matches(f Comparator, r Container) bool

Matches filters our given Container against Comparator filter.

Types

type Comparator

type Comparator interface {
	EventID() neorpc.EventID
	Filter() interface{}
}

Comparator is an interface required from notification event filter to be able to filter notifications.

type Container

type Container interface {
	EventID() neorpc.EventID
	EventPayload() interface{}
}

Container is an interface required from notification event to be able to pass filter.

Jump to

Keyboard shortcuts

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