achintya-7 / achintya-7/lol-balancer

[Feat] Parse a YAML file for config

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
backend
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。