rule

package
v0.0.0-...-2d43aa0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key string

Key string type for rules exporting

const (
	EventType     Key = "event_type"
	MessageFilter Key = "message_filter"
	FunctionUrn   Key = "function_urn"
	TargetAddress Key = "target_address"
)

constants for different rules key

type Rule

type Rule struct {
	Name string         `json:"name,omitempty"`
	Data map[Key]string `json:"data,omitempty"`
}

Rule defines map of rules

Jump to

Keyboard shortcuts

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