Added documentation about needed flags

This commit is contained in:
Justin Santa Barbara
2011-03-08 16:51:05 -08:00
parent 66b2fb63c2
commit 83cb2c8369

View File

@@ -221,7 +221,12 @@ class Service(object):
class WsgiService(object):
"""Base class for WSGI based services."""
"""Base class for WSGI based services.
For each api you define, you must also define these flags:
:<api>_listen: The address on which to listen
:<api>_listen_port: The port on which to listen
"""
def __init__(self, conf, apis):
self.conf = conf