collector

package
v0.0.0-...-5584500 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 12 Imported by: 2

Documentation

Overview

Copyright (c) 2015 Pagoda Box Inc

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateHttpCollector

func GenerateHttpCollector(kind string, l *logtap.Logtap) http.HandlerFunc

create and return a http handler that can be dropped into an api.

func StartHttpCollector

func StartHttpCollector(kind, address string, l *logtap.Logtap) (io.Closer, error)

func SyslogTCPStart

func SyslogTCPStart(kind, address string, l *logtap.Logtap) (io.Closer, error)

func SyslogUDPStart

func SyslogUDPStart(kind, address string, l *logtap.Logtap) (io.Closer, error)

Start begins listening to the syslog port transfers all syslog messages on the wChan

Types

This section is empty.

Jump to

Keyboard shortcuts

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