Refactor server configuration parsing #61

Open
opened 2026-03-04 23:49:06 +00:00 by luca0N · 1 comment
Owner

I think it would be nicer to have some kind of configuration parser (in a new source file) that offers 3 different ways of setting options: environment keys, command line options, and in the configuration file, in this order of precedence. This way, it will be a lot easier of implementing new customizable options in the server without having to check where the value is set (if at all).

I think it would be nicer to have some kind of configuration parser (in a new source file) that offers 3 different ways of setting options: environment keys, command line options, and in the configuration file, in this order of precedence. This way, it will be a lot easier of implementing new customizable options in the server without having to check where the value is set (if at all).
Author
Owner

I had this idea while implementing a new option in the configuration file for specifying the interface name. Instead of creating a separate issue for this, this issue will be used to track that.

I had this idea while implementing a new option in the configuration file for specifying the interface name. Instead of creating a separate issue for this, this issue will be used to track that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
luca0N/lanbassador#61
No description provided.