| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | package ddsnmp |
| 4 | |
| 5 | import "github.com/netdata/netdata/go/plugins/pkg/funcapi" |
| 6 | |
| 7 | // TopologyHandler is set by the snmp_topology module at init time. |
| 8 | // The snmp module's function router delegates topology:snmp requests to it. |
| 9 | // This avoids circular imports: snmp -> ddsnmp <- snmp_topology. |
| 10 | var TopologyHandler funcapi.MethodHandler |
| 11 | |
| 12 | // TopologyMethodConfig is set by the snmp_topology module at init time. |
| 13 | // The snmp module includes it in its method list so the function appears |
| 14 | // as snmp:topology:snmp. |
| 15 | var TopologyMethodConfig *funcapi.MethodConfig |