FederationInternalAPI is an implementation of api.FederationInternalAPI
| 22 | |
| 23 | // FederationInternalAPI is an implementation of api.FederationInternalAPI |
| 24 | type 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 | |
| 35 | func NewFederationInternalAPI( |
| 36 | db storage.Database, cfg *config.FederationAPI, |
nothing calls this directly
no outgoing calls
no test coverage detected