github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-conntrack/lib/main.go (about)

     1  package mpconntrack
     2  
     3  import (
     4  	"os"
     5  )
     6  
     7  // Name is executable name of this application.
     8  const Name string = "mackerel-plugin-conntrack"
     9  
    10  // Version is version string of this application.
    11  const Version string = "0.1.0"
    12  
    13  // Do the plugin
    14  func Do() {
    15  	cli := &CLI{
    16  		outStream: os.Stdout,
    17  		errStream: os.Stderr,
    18  	}
    19  	os.Exit(cli.Run(os.Args))
    20  }