Load providers by class & module name. Closes #6

This commit is contained in:
Ian Renton
2025-10-02 10:13:52 +01:00
parent 1a9dc0b634
commit 3addafb8b9
3 changed files with 34 additions and 36 deletions

View File

@@ -8,56 +8,56 @@ server-owner-callsign: "N0CALL"
# Data providers to use. This is an example set, tailor it to your liking by commenting and uncommenting.
# RBN and APRS-IS are supported but have such a high data rate, you probably don't want them enabled.
# Each provider needs a type, a name, and an enabled/disabled state. Some require more config such as hostnames/IP
# Each provider needs a class, a name, and an enabled/disabled state. Some require more config such as hostnames/IP
# addresses and ports. You can duplicate them if you like, e.g. to support several DX clusters. RBN uses two ports, 7000
# for CW/RTTY and 7001 for FT8, so if you want both, you need two entries, as shown below.
# Feel free to write your own provider classes!
# Feel free to write your own provider classes! There are details in the README.
providers:
-
type: "POTA"
class: "POTA"
name: "POTA"
enabled: true
-
type: "SOTA"
class: "SOTA"
name: "SOTA"
enabled: true
-
type: "WWFF"
class: "WWFF"
name: "WWFF"
enabled: true
-
type: "WWBOTA"
class: "WWBOTA"
name: "WWBOTA"
enabled: true
-
type: "GMA"
class: "GMA"
name: "GMA"
enabled: true
-
type: "HEMA"
class: "HEMA"
name: "HEMA"
enabled: true
-
type: "ParksNPeaks"
class: "ParksNPeaks"
name: "ParksNPeaks"
enabled: true
-
type: "APRS-IS"
class: "APRSIS"
name: "APRS-IS"
enabled: false
-
type: "DXCluster"
class: "DXCluster"
name: "HRD Dx Cluster"
enabled: true
host: "hrd.wa9pie.net"
port: 8000
-
type: "RBN"
class: "RBN"
name: "RBN CW/RTTY"
enabled: false
port: 7000
-
type: "RBN"
class: "RBN"
name: "RBN FT8"
enabled: false
port: 7001