Configuration file #7

Closed
opened 2024-12-08 01:38:16 -07:00 by sashakoshka · 1 comment
Owner

Running stepd in a directory with a config file in it should serve that directory tree according to the parameters in the config file. It should also be possible to specify a path to a configuration file.

Running `stepd` in a directory with a config file in it should serve that directory tree according to the parameters in the config file. It should also be possible to specify a path to a configuration file.
sashakoshka added this to the Proper Daemon project 2024-12-08 17:13:35 -07:00
sashakoshka added a new dependency 2024-12-08 17:17:23 -07:00
sashakoshka added a new dependency 2024-12-08 22:12:03 -07:00
Author
Owner

The config file will use the exact same parsing as metadata, and the same data structure (simple map) will work too. A similar API to http/Header and a function to parse metadata from an io.Reader and a simple call from cmd/stepd/main.go should work perfect.

The config file will use the exact same parsing as metadata, and the same data structure (simple map) will work too. A similar API to http/Header and a function to parse metadata from an io.Reader and a simple call from cmd/stepd/main.go should work perfect.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: sashakoshka/step#7
No description provided.