Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
interface-openstack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
4
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1e20078f
authored
6 years ago
by
edems
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server.py added
parent
a15cb6cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
server.py
+19
-0
No files found.
server.py
0 → 100644
View file @
1e20078f
from
aiohttp
import
web
from
controllers.SnapshotsController
import
SnapshotsController
from
controllers.StoragesController
import
StoragesController
from
controllers.ImagesController
import
ImagesController
def
main
():
app
=
web
.
Application
()
ImagesController
.
add_routes
(
app
)
StoragesController
.
add_routes
(
app
)
SnapshotsController
.
add_routes
(
app
)
web
.
run_app
(
app
)
if
__name__
==
"__main__"
:
main
()
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment