some cleanups and bug fixes.
This commit is contained in:
parent
3447dbe03f
commit
7c12fe04e6
6 changed files with 25 additions and 17 deletions
|
|
@ -1,12 +1,12 @@
|
|||
'''
|
||||
"""
|
||||
Just the frontends.py stub... ;)
|
||||
|
||||
If linspector is being started without a frontend "enabled" it just is doing stuff like: polling, alerting, logging etc.
|
||||
|
||||
Frontends a absolutely no requirement for running Linspector.
|
||||
'''
|
||||
"""
|
||||
|
||||
|
||||
class Frontends():
|
||||
class Frontend():
|
||||
def __init__(self, **kwargs):
|
||||
return
|
||||
|
|
@ -1,6 +1,13 @@
|
|||
'''
|
||||
"""
|
||||
A HTTPS frontend to the current Linspector instance.
|
||||
|
||||
A Webserver listening for requests to give information about the internal state of linspector.
|
||||
(maybe providing a JSON API to the instance too...)
|
||||
'''
|
||||
"""
|
||||
|
||||
from lib.frontends.frontend import Frontend
|
||||
|
||||
|
||||
class HttpsFrontend(Frontend):
|
||||
def __init__(self, **kwargs):
|
||||
return
|
||||
|
|
@ -1,12 +1,15 @@
|
|||
'''
|
||||
"""
|
||||
The Linspector Interactive Shell...
|
||||
|
||||
This will become an interface to Linspector at "start" time. Think about MidnightCommander... and then run
|
||||
Linspector in a screen session and not as daemon, why not? BTW.: Daemonization is at this point of development
|
||||
cancelled, because it makes no sense to daemonize everything. Linspector is a user software which will run in any
|
||||
screen session perfectly.
|
||||
'''
|
||||
"""
|
||||
|
||||
class LishFrontend(Frontends):
|
||||
from lib.frontends.frontend import Frontend
|
||||
|
||||
|
||||
class LishFrontend(Frontend):
|
||||
def __init__(self, **kwargs):
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue