rule

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 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