fswatch

package
v0.0.0-...-9e7e4f5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ALERT_CRITICAL
	ALERT_HIGH
	ALERT_MEDIUM
	ALERT_LOW
)

Alert severities

View Source
const (
	TYPE_FILE
	TYPE_DIRECTORY
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Severity string `json:"severity"` // critical, etc...
	Alert    string `json:"alert"`    // alert text
}

An alert generated by the fswatch module

func (Alert) String

func (a Alert) String() string

String convers an alert to a JSON string

type Parameters

type Parameters struct {
}

Jump to

Keyboard shortcuts

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