Newer
Older
import (
log "github.com/AlexStocks/log4go"
)
// wrapping invoker
type DubboExporter struct {
ctx context.Context
key string
invoker protocol.Invoker
exporterMap map[string]protocol.Exporter
func NewDubboExporter(ctx context.Context, key string, invoker protocol.Invoker, exporterMap map[string]protocol.Exporter) *DubboExporter {
ctx: ctx,
key: key,
invoker: invoker,
exporterMap: exporterMap,
func (de *DubboExporter) GetInvoker() protocol.Invoker {
return de.invoker
}
func (de *DubboExporter) Unexport() {