package route import ( "encoding/json" "opennamu/route/tool" ) func Api_func_acl_list(call_arg []string) string { other_set := map[string]string{} json.Unmarshal([]byte(call_arg[0]), &other_set) data := tool.List_acl(other_set["type"]) return_data := make(map[string]interface{}) return_data["response"] = "ok" return_data["data"] = data json_data, _ := json.Marshal(return_data) return string(json_data) }