collector

package
Version: v0.0.0-...-b042743 Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

Log collector to collect log from unix domain socket

func NewCollector

func NewCollector(address string, logQueue *queue.LogQueue) *Collector

New collector function

func (*Collector) Close

func (collector *Collector) Close() error

Close unix domain socket and remove socket file

func (*Collector) Collect

func (collector *Collector) Collect() error

Collect go routine function

func (*Collector) Run

func (collector *Collector) Run() error

Run to open unix domain socket and collect

Source Files

Jump to

Keyboard shortcuts

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