func SetupHandlers(r *mux.Router) {
	r.HandleFunc("/version", getVersion).Methods("GET")
	r.HandleFunc("/hostname", getHostname).Methods("GET")
	r.HandleFunc("/flare", makeFlare).Methods("POST")
	r.HandleFunc("/stop", stopAgent).Methods("POST")
	r.HandleFunc("/status", getStatus).Methods("GET")
	r.HandleFunc("/status/health", getHealth).Methods("GET")
	r.HandleFunc("/config-check", getConfigCheck).Methods("GET")
	r.HandleFunc("/config", settingshttp.Server.GetFull("")).Methods("GET")
	r.HandleFunc("/config/list-runtime", settingshttp.Server.ListConfigurable).Methods("GET")
	r.HandleFunc("/config/{setting}", settingshttp.Server.GetValue).Methods("GET")
	r.HandleFunc("/config/{setting}", settingshttp.Server.SetValue).Methods("POST")
}
// SetupHandlers adds the specific handlers for cluster agent endpoints
SetupHandlers adds the specific handlers for cluster agent endpoints
// SetupHandlers adds the specific handlers for cluster agent endpoints
func SetupHandlers(r *mux.Router) {
	r.HandleFunc("/version", getVersion).Methods("GET")
	r.HandleFunc("/hostname", getHostname).Methods("GET")
	r.HandleFunc("/flare", makeFlare).Methods("POST")
	r.HandleFunc("/stop", stopAgent).Methods("POST")
	r.HandleFunc("/status", getStatus).Methods("GET")
	r.HandleFunc("/status/health", getHealth).Methods("GET")
	r.HandleFunc("/config-check", getConfigCheck).Methods("GET")
	r.HandleFunc("/config", settingshttp.Server.GetFull("")).Methods("GET")
	r.HandleFunc("/config/list-runtime", settingshttp.Server.ListConfigurable).Methods("GET")
	r.HandleFunc("/config/{setting}", settingshttp.Server.GetValue).Methods("GET")
	r.HandleFunc("/config/{setting}", settingshttp.Server.SetValue).Methods("POST")
}
func SetupHandlers ( r * mux . Router ) { r . HandleFunc ( " " , getVersion ) . Methods ( " " ) r . HandleFunc ( " " , getHostname ) . Methods ( " " ) r . HandleFunc ( " " , makeFlare ) . Methods ( " " ) r . HandleFunc ( " " , stopAgent ) . Methods ( " " ) r . HandleFunc ( " " , getStatus ) . Methods ( " " ) r . HandleFunc ( " " , getHealth ) . Methods ( " " ) r . HandleFunc ( " " , getConfigCheck ) . Methods ( " " ) r . HandleFunc ( " " , settingshttp . Server . GetFull ( " " ) ) . Methods ( " " ) r . HandleFunc ( " " , settingshttp . Server . ListConfigurable ) . Methods ( " " ) r . HandleFunc ( " " , settingshttp . Server . GetValue ) . Methods ( " " ) r . HandleFunc ( " " , settingshttp . Server . SetValue ) . Methods ( " " ) }
SetupHandlers adds the specific handlers for cluster agent endpoints
SetupHandlers adds the specific handlers for cluster agent endpoints