achintya-7 / achintya-7/lol-balancer
[Feat] Parse a YAML file for config
- Dominant language
- Go
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The yaml file for now should allow 2 fields only
* A list of urls of backends
* Frequency, basically an integer which determines the frequency at which the healthcheck will be called.
To implement it, add a new folder inside pkg to parse a yaml and return a struct.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the Go module and the existing pkg layout, then identify how configuration is represented elsewhere. Add a new pkg folder for YAML parsing that returns a struct containing backend URLs and the health-check frequency; done means a YAML file with those two fields can be parsed successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100