im

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskChannelSize = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IncidentManager

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

func NewIncidentManager

func NewIncidentManager(
	isTableOfIncidentsUsed bool,
	dbo *dbo.DatabaseObject,
	gwmClient *cc.Client,
	blockTimePerIncident *s.BlockTimePerIncident,
) (im *IncidentManager)

func (*IncidentManager) ReportIncident

func (im *IncidentManager) ReportIncident(itype am.IncidentType, email string, userIPA net.IP)

func (*IncidentManager) Start

func (im *IncidentManager) Start() (err error)

Start starts the incident manager.

func (*IncidentManager) Stop

func (im *IncidentManager) Stop() (err error)

Stop stops the incident manager.

Jump to

Keyboard shortcuts

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