feat: add GET /relay/{id}/members endpoint (#6)
Docker / build-and-push-image (push) Failing after 16m10s

Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
This commit was merged in pull request #6.
This commit is contained in:
2026-04-22 20:45:28 +00:00
committed by hodlbod
parent 6adb09a1d6
commit aa0eba1fbe
6 changed files with 273 additions and 3 deletions
+5
View File
@@ -64,6 +64,11 @@ type Config struct {
func LoadConfig(filename string) (*Config, error) {
path := filepath.Join(Env("CONFIG"), filename)
return LoadConfigFromPath(path)
}
func LoadConfigFromPath(path string) (*Config, error) {
var config Config
if _, err := toml.DecodeFile(path, &config); err != nil {
return nil, fmt.Errorf("Failed to parse config file %s: %w", path, err)