surveillance

package
v0.0.0-...-941ac12 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detection

type Detection struct {
	// contains filtered or unexported fields
}

func NewDetection

func NewDetection(env *Environment, n *Notification) (*Detection, error)

func (*Detection) Run

func (d *Detection) Run() error

type Environment

type Environment struct {
	// contains filtered or unexported fields
}

func NewEnvironment

func NewEnvironment(cfg *configuration.Configuration) (*Environment, error)

func (*Environment) Teardown

func (e *Environment) Teardown()

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

func NewFilter

func NewFilter(cfg *configuration.Configuration) *Filter

func (*Filter) IsBuildDir

func (f *Filter) IsBuildDir(path string) (bool, error)

func (*Filter) IsExcludedDir

func (f *Filter) IsExcludedDir(path string) (bool, error)

func (*Filter) IsExcludedFile

func (f *Filter) IsExcludedFile(path string) (bool, error)

func (*Filter) IsHiddenDir

func (f *Filter) IsHiddenDir(path string) bool

func (*Filter) IsIgnoredDir

func (f *Filter) IsIgnoredDir(path string) (bool, error)

func (*Filter) IsIgnoredExt

func (f *Filter) IsIgnoredExt(path string) bool

func (*Filter) IsIgnoredFile

func (f *Filter) IsIgnoredFile(path string) (bool, error)

func (*Filter) IsIncludedDir

func (f *Filter) IsIncludedDir(dir string) (bool, error)

func (*Filter) IsLogDir

func (f *Filter) IsLogDir(path string) (bool, error)

type Gomon

type Gomon struct {
	// contains filtered or unexported fields
}

func NewGomon

func NewGomon(cfg *configuration.Configuration) (*Gomon, error)

func (*Gomon) Start

func (c *Gomon) Start()

func (*Gomon) Stop

func (c *Gomon) Stop()

func (*Gomon) Subscribe

func (c *Gomon) Subscribe(sub chan bool)

type Notification

type Notification struct {
	// contains filtered or unexported fields
}

func NewNotification

func NewNotification() *Notification

func NewSubscriberNotification

func NewSubscriberNotification(sub chan bool) *Notification

func (*Notification) ChangeDetected

func (n *Notification) ChangeDetected() chan bool

func (*Notification) NotfiyChange

func (n *Notification) NotfiyChange()

func (*Notification) NotifyNoChange

func (n *Notification) NotifyNoChange()

func (*Notification) Stop

func (n *Notification) Stop()

type Refresh

type Refresh struct {
	// contains filtered or unexported fields
}

func NewRefresh

func NewRefresh(env *Environment, n *Notification) *Refresh

func (*Refresh) Run

func (c *Refresh) Run()

Jump to

Keyboard shortcuts

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