agent

package
v0.0.0-...-1b9c57b Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package agent implements the gathering and transmission of log records the the Server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent is the component that gathers Logrecords on a Host and transmits them to a Server.

func Create

func Create(addr, logpath string) (*Agent, error)

Create creates a new Agent.

func (*Agent) IsActive

func (ag *Agent) IsActive() bool

Return the Agent's active flag.

func (*Agent) Run

func (ag *Agent) Run() error

Jump to

Keyboard shortcuts

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