예제 #1
0
def main():
    routes = [['/', HelloView]]

    web.run(web.Application, routes)
예제 #2
0
파일: web.py 프로젝트: dmonroy/emergency
def run_web():  # pragma: no cover
    web.run(Application, get_routes())
예제 #3
0
from chilero import web


class Home(web.View):

    def get(self):
        return web.Response('Hello World!')


routes = [
    ['/', Home]
]


if __name__ == '__main__':
    web.run(web.Application, routes)
예제 #4
0
def run():  # pragma: no cover
    web.run(web.Application, routes)
예제 #5
0
def main():
    routes = [
        ['/', HelloView]
    ]

    web.run(web.Application, routes)