Livestatus

package
v0.0.0-...-a93fc24 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: GPL-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const LogQuery = `` /* 179-byte string literal not displayed */

LogQuery will be used for every livestatus query TODO: fieldseperator durch 1 2 5 6 ersetzen

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

Collector data from Livestatus

func NewCollector

func NewCollector(logger Logging.Client, eventCreator Client.EventCreatable) *Collector

NewCollector constructs a new Livestatus Collector

func (Collector) Start

func (collector Collector) Start()

Start starts the collector

func (Collector) Stop

func (collector Collector) Stop()

Stop stops the collector

type Connector

type Connector struct {
	LivestatusAddress string
	ConnectionType    string
}

Connector fetches data from Livestatussocket

Jump to

Keyboard shortcuts

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