indexer/config.go
2026-09-28 15:36:42 +02:00

14 lines
299 B
Go

package main
// Forge is a single forge instance to scrape.
type Forge struct {
Name string `yaml:"name"`
Url string `yaml:"url"`
Type string `yaml:"type"`
}
// Config is the top-level configuration file.
type Config struct {
DbPath string `yaml:"db_path"`
Forges []Forge `yaml:"forges"`
}