filter

package
v0.0.0-...-8e6870d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Filter FilterType `yaml:"filter"`
}

func Unmarshal

func Unmarshal(rawBytes []byte) ([]*Filter, error)

Encodes raw bytes into a Filter record

type FilterType

type FilterType struct {
	Name        string `yaml:"name"`
	PubsubTopic string `yaml:"pubsub-topic,omitempty"`
	Address     string `yaml:"address,omitempty"`
	Event       string `yaml:"event,omitempty"`
	Abi         string `yaml:"abi,omitempty"`
}

Jump to

Keyboard shortcuts

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