Skip to content

Conversation

@arp242
Copy link
Collaborator

@arp242 arp242 commented Jan 21, 2026

The Config struct I added in #1240 wasn't directly used much but converted to a map, so I didn't need to rewrite all the code.

This works well enough, but when working on multihost support (host=one,two) I found it's much more convenient to have access to the struct since it can parse (and validate) things to a slice on startup, instead of every time it's used.

So just rewrite the lot.

The Config struct I added in #1240 wasn't directly used much but
converted to a map, so I didn't need to rewrite all the code.

This works well enough, but when working on multihost support
(host=one,two) I found it's much more convenient to have access to the
struct since it can parse (and validate) things to a slice on startup,
instead of every time it's used.

So just rewrite the lot.
@arp242 arp242 merged commit 9131249 into master Jan 21, 2026
13 checks passed
@arp242 arp242 deleted the cfg branch January 21, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants