示例#1
0
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     return config_from_string(self._read_config_string())
示例#2
0
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     return config_from_string(self._read_config_string())
示例#3
0
文件: server.py 项目: brtsz/zato
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     data = open(self.config_path).read()
     return config_from_string(data)