Use new receiver instances to allow multiple of same receiver type

This commit is contained in:
Thomas Roehl
2022-02-22 16:33:38 +01:00
parent 9cfbe10247
commit 3598aed090
4 changed files with 22 additions and 21 deletions

View File

@@ -20,9 +20,8 @@ type ReceiverConfig struct {
}
type receiver struct {
typename string
name string
sink chan lp.CCMetric
name string
sink chan lp.CCMetric
}
type Receiver interface {