:py:mod:`GeoHealthCheck.geocoder` ================================= .. py:module:: GeoHealthCheck.geocoder Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: GeoHealthCheck.geocoder.Geocoder Attributes ~~~~~~~~~~ .. autoapisummary:: GeoHealthCheck.geocoder.LOGGER .. py:data:: LOGGER .. py:class:: Geocoder Bases: :py:obj:`plugin.Plugin` Base class for specific Geocode plugins to locate servers by their hostname .. py:method:: init(geocoder_vars) .. py:method:: locate(hostname) Perform a locate on the host. :param hostname string: the hostname of the server for which we want the coords. TODO: return result as tuple with location in lat-lon. Example: `(52.4, 21.0)` .. py:method:: log(text)