collector

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2015 License: Apache-2.0 Imports: 8 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 interface {
	// Collect status from the given url.
	Collect(u url.URL) (map[string]interface{}, error)
}

Collector collects status from Apache HTTPD server-status page.

func NewStubCollector

func NewStubCollector() Collector

NewStubCollector constructs a new StubCollector.

type StubCollector

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

StubCollector is a Collector that collects Apache HTTPD server-status page.

func (*StubCollector) Collect

func (c *StubCollector) Collect(u url.URL) (map[string]interface{}, error)

Collect Apache HTTPD server-status from given url.

Jump to

Keyboard shortcuts

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