Rename FS queue package to internal
MODIFY
federationsender/federationsender.go
federationsender/federationsender.go
@@ -20,8 +20,8 @@ import (
"github.com/matrix-org/dendrite/common/basecomponent"
"github.com/matrix-org/dendrite/federationsender/api"
"github.com/matrix-org/dendrite/federationsender/consumers"
+ "github.com/matrix-org/dendrite/federationsender/internal"
"github.com/matrix-org/dendrite/federationsender/producers"
- "github.com/matrix-org/dendrite/federationsender/query"
"github.com/matrix-org/dendrite/federationsender/queue"
"github.com/matrix-org/dendrite/federationsender/storage"
roomserverAPI "github.com/matrix-org/dendrite/roomserver/api"
@@ -61,7 +61,7 @@ func SetupFederationSenderComponent(
logrus.WithError(err).Panic("failed to start typing server consumer")
}
- queryAPI := query.NewFederationSenderInternalAPI(
+ queryAPI := internal.NewFederationSenderInternalAPI(
federationSenderDB, base.Cfg, roomserverProducer, federation, keyRing,
)
queryAPI.SetupHTTP(http.DefaultServeMux)

RENAME
federationsender/query/api.go
federationsender/internal/api.go
-package query
+package internal
import (
"encoding/json"

RENAME
federationsender/query/perform.go
federationsender/internal/perform.go
-package query
+package internal
import (
"context"
@@ -6,7 +6,7 @@ import (
"time"
"github.com/matrix-org/dendrite/federationsender/api"
- "github.com/matrix-org/dendrite/federationsender/query/perform"
+ "github.com/matrix-org/dendrite/federationsender/internal/perform"
"github.com/matrix-org/dendrite/roomserver/version"
"github.com/matrix-org/gomatrixserverlib"
)

RENAME
federationsender/query/perform/join.go
federationsender/internal/perform/join.go
RENAME
federationsender/query/query.go
federationsender/internal/query.go
-package query
+package internal
import (
"context"

Rename FS queue package to internal (#997)