func (bp *BaseProtocol) SetInvokers(invoker Invoker) {
	bp.invokers = append(bp.invokers, invoker)
}
SetInvokers sets invoker into local memory
package protocol
import (
	"sync"
)
import (
	"dubbo.apache.org/dubbo-go/v3/common"
	"dubbo.apache.org/dubbo-go/v3/common/logger"
)
type Protocol interface {
	Export(invoker Invoker) Exporter
	Refer(url *common.URL) Invoker
	Destroy()
}
type Exporter interface {
	GetInvoker() Invoker
	Unexport()
}
type BaseProtocol struct {
	exporterMap *sync.Map
	invokers    []Invoker
}
func NewBaseProtocol() BaseProtocol {
	return BaseProtocol{
		exporterMap: new(sync.Map),
	}
}
func (bp *BaseProtocol) SetExporterMap(key string, exporter Exporter) {
	bp.exporterMap.Store(key, exporter)
}
func (bp *BaseProtocol) ExporterMap() *sync.Map {
	return bp.exporterMap
}