types

package
v0.0.0-...-d1b55f2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type   WatchEvent
	Object Ktban
	Abort  bool
}

type Ktban

type Ktban struct {
	Ip             string
	PortFrom       int
	PortTo         int
	InterfaceGroup string
	Protocol       string
	Direction      string
}

type Ktbans

type Ktbans struct {
	Items []Ktban
}

type WatchEvent

type WatchEvent string
const (
	Added    WatchEvent = "ADDED"
	Modified WatchEvent = "MODIFIED"
	Deleted  WatchEvent = "DELETED"
	Bookmark WatchEvent = "BOOKMARK"
	Error    WatchEvent = "ERROR"
)

Jump to

Keyboard shortcuts

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