diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-12 18:23:46 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-12 18:23:46 -0500 |
commit | 8b9eb6eb88d871309348dff1527d69b4b32a98ec (patch) | |
tree | 4a8d25f3b0db4a6ff7c258f3ea7a508e6b68de82 /config.toml | |
parent | 0ea877c5d0de10b45768da80c658785835d625e6 (diff) |
refactor: simplify service trait, again
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/config.toml b/config.toml index 555502f..e91e94f 100644 --- a/config.toml +++ b/config.toml @@ -3,12 +3,16 @@ address = "127.0.0.1:8080" [[services]] name = "tobyvin.dev" -http = { url = "https://tobyvin.dev" } +kind = "http" +url = "https://tobyvin.dev" [[services]] name = "test_cmd" -exec = { command = "stat", args = ["/tmp/test_file"] } +kind = "exec" +command = "stat" +args = ["/tmp/test_file"] [[services]] name = "dns" -tcp = { address = "10.42.0.1:53" } +kind = "tcp" +address = "10.42.0.1:53" |