def __init__(self, client, base_path):
self._client = client<EOL>self._base_path = base_path<EOL>self._queue_path = posixpath.join(self._base_path, '<STR_LIT>', '<STR_LIT>')<EOL>self._counter_path = posixpath.join(self._queue_path, '<STR_LIT>')<EOL>self._ensure_counter()<EOL>self._ensure_queue()<EOL>
Initialise the class.

Args:
    client (:class:`consulate.Consul`): A :class:`consulate.Consul` instance.
    base_path (str): the base path to use in Consul.