cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "fossil",
	Short: "Fossil fossil Graphite to beamium forwarder",
	Run: func(cmd *cobra.Command, args []string) {
		log.Info("Fossil starting")

		wr := writer.NewWriter(viper.GetString("directory"))

		graphite := listener.NewGraphite(viper.GetString("listen"), wr, viper.GetBool("parse"))
		err := graphite.OpenTCPServer()
		if err != nil {
			panic(err)
		}
	},
}

RootCmd launch the aggregator agent.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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