)// 获取负载信息funcGetBalanceInfo(httpResponsehttp.ResponseWriter,httpRequest*http.Request){_,e:=controller.CheckLogin(httpResponse,httpRequest,controller.OperationLoadBalance,controller.OperationREAD)ife!=nil{return}iferr:=httpRequest.ParseForm();err!=nil{controller.WriteError(httpResponse,"501","balance","[ERROR]参数解析错误t!",err)return}balanceName:=httpRequest.FormValue("balanceName")info,err:=balance.Get(balanceName)iferr!=nil{controller.WriteError(httpResponse,"260000","balance","[ERROR]The balance does not exist!",err)return}controller.WriteResultInfo(httpResponse,"balance","balanceInfo",info)return}