agent

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg config.Config, b backend.Backend, l log.Logger) int

Run executes the agent using the given config and backend. When the function finishes it returns an exit code of 0 if the agent terminated gracefully, either by receiving a TERM signal or because it passed more time than configured without reading a message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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