]>
Commit | Line | Data |
---|---|---|
f1fd6873 VD |
1 | def merge_dicts(dict_a, dict_b): |
2 | pass | |
3 | ||
4 | ||
5 | def read_runtime_config(path): | |
6 | config = { | |
7 | "port": 8081, | |
8 | "host": "localhost", | |
ce3481f0 | 9 | "prefix": "h" |
f1fd6873 VD |
10 | } |
11 | return config | |
12 | ||
13 | ||
14 | def load_webhooks(path): | |
ce3481f0 VD |
15 | webhooks = { |
16 | "example": { | |
17 | "name": "Example hook", | |
18 | "description": "Example Hook that demonstrates everything", | |
f1fd6873 VD |
19 | "unit": "example.service" |
20 | } | |
ce3481f0 | 21 | } |
f1fd6873 | 22 | return webhooks |