monitor

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: EUPL-1.2 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	Flag *conf.Flag
	// contains filtered or unexported fields
}

Monitor is in charge of monitoring the flags and submitting points to CTFd.

func New

func New(flag *conf.Flag, api *conf.API) *Monitor

New creates a monitoring object given a flag and API configuration.

func (*Monitor) Close

func (m *Monitor) Close() error

func (*Monitor) Start

func (m *Monitor) Start() error

Start launches the monitoring agent. After some basic checks, which can error, the agent is launched asynchronously.

Jump to

Keyboard shortcuts

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