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

Struct RoomserverInternalAPI

roomserver/internal/api.go:29–59  ·  view source on GitHub ↗

RoomserverInternalAPI is an implementation of api.RoomserverInternalAPI

Source from the content-addressed store, hash-verified

27
28// RoomserverInternalAPI is an implementation of api.RoomserverInternalAPI
29type RoomserverInternalAPI struct {
30 *input.Inputer
31 *query.Queryer
32 *perform.Inviter
33 *perform.Joiner
34 *perform.Peeker
35 *perform.InboundPeeker
36 *perform.Unpeeker
37 *perform.Leaver
38 *perform.Publisher
39 *perform.Backfiller
40 *perform.Forgetter
41 *perform.Upgrader
42 *perform.Admin
43 ProcessContext *process.ProcessContext
44 Base *base.BaseDendrite
45 DB storage.Database
46 Cfg *config.RoomServer
47 Cache caching.RoomServerCaches
48 ServerName gomatrixserverlib.ServerName
49 KeyRing gomatrixserverlib.JSONVerifier
50 ServerACLs *acls.ServerACLs
51 fsAPI fsAPI.RoomserverFederationAPI
52 asAPI asAPI.AppServiceInternalAPI
53 NATSClient *nats.Conn
54 JetStream nats.JetStreamContext
55 Durable string
56 InputRoomEventTopic string // JetStream topic for new input room events
57 OutputProducer *producers.RoomEventProducer
58 PerspectiveServerNames []gomatrixserverlib.ServerName
59}
60
61func NewRoomserverAPI(
62 base *base.BaseDendrite, roomserverDB storage.Database,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected