func main() {
	plugin.StartPublisher(&graphite.GraphitePublisher{}, graphite.Name, graphite.Version)
}
示例#2
0
文件: main.go 项目: IRCody/snap
func main() {
	plugin.StartPublisher(file.NewFilePublisher(), pluginName, pluginVersion)
}