worker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Timeout int `koanf:"timeout"`
	Workers int `koanf:"workers"`
}

type Worker

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

Worker handles to check endpoints to monitor them and updates it status.

func New

New builds a new repositories' struct.

func (*Worker) Start

func (w *Worker) Start() error

Start worker for monitoring endpoints.

Jump to

Keyboard shortcuts

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