MCPcopy Create free account
hub / github.com/daodst/chat / FederationInternalAPI

Struct FederationInternalAPI

federationapi/internal/api.go:24–33  ·  view source on GitHub ↗

FederationInternalAPI is an implementation of api.FederationInternalAPI

Source from the content-addressed store, hash-verified

22
23// FederationInternalAPI is an implementation of api.FederationInternalAPI
24type FederationInternalAPI struct {
25 db storage.Database
26 cfg *config.FederationAPI
27 statistics *statistics.Statistics
28 rsAPI roomserverAPI.FederationRoomserverAPI
29 federation api.FederationClient
30 keyRing *gomatrixserverlib.KeyRing
31 queues *queue.OutgoingQueues
32 joins sync.Map // joins currently in progress
33}
34
35func NewFederationInternalAPI(
36 db storage.Database, cfg *config.FederationAPI,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected