event

package
v0.10.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 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 ChangeType

type ChangeType uint32
const (
	Create ChangeType = 1 << iota
	Remove
	Update
)

These are the generalized file operations that can trigger a notification.

func (ChangeType) String

func (t ChangeType) String() string

type RuleSetChanged

type RuleSetChanged struct {
	Source     string
	Name       string
	Rules      []rule.Rule
	ChangeType ChangeType
}

type RuleSetChangedEventQueue

type RuleSetChangedEventQueue chan RuleSetChanged

Jump to

Keyboard shortcuts

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