munin

package module
v0.0.0-...-3ea427e Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2012 License: MIT Imports: 5 Imported by: 0

README

munin

Client library for munin in go

Build Status

LICENSE

BSD

documentation

package documentation at go.pkgdoc.org

compile and install

Install [Go 1][3], either [from source][4] or [with a prepackaged binary][5]. [3]: http://golang.org [4]: http://golang.org/doc/install/source [5]: http://golang.org/doc/install

Get the library

go get github.com/nightlyone/munin

Get the mfgo client

go get github.com/nightlyone/munin/cmd/mfgo

Play around with the client

$GOROOT/bin/mfgo -h

contributing

Contributions are welcome. Please open an issue or send me a pull request for a dedicated branch. Make sure the git commit hooks show it works.

git commit hooks

enable commit hooks via

    cd .git ; rm -rf hooks; ln -s ../git-hooks hooks ; cd ..

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMuninClient

func NewMuninClient(connection io.ReadWriteCloser, interval time.Duration, done <-chan os.Signal) <-chan KeyValueMap

Types

type Client

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

func (*Client) Run

func (c *Client) Run(interval time.Duration, done <-chan os.Signal) <-chan KeyValueMap

type KeyValueMap

type KeyValueMap map[string]string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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