--- /dev/null
+def merge_dicts(dict_a, dict_b):
+ pass
+
+
+def read_runtime_config(path):
+ config = {
+ "port": 8081,
+ "host": "localhost",
+ }
+ return config
+
+
+def load_webhooks(path):
+ webhooks = [
+ {
+ "path": "/example/",
+ "unit": "example.service"
+ }
+ ]
+ return webhooks
--- /dev/null
+class Server:
+ def __init__(self, host, port):
+ pass
+
+ def register_hook(self, path, unit):
+ pass
+
+ def restart(self):
+ pass
--- /dev/null
+class Unit:
+ def __init__(self, name):
+ pass
+
+ def start(self):
+ pass
+
+ def stop(self):
+ pass