MCPcopy Create free account

hub / github.com/daodst/chat / functions

Functions3,776 in github.com/daodst/chat

↓ 2 callersMethodEventTypeNIDs
(ctx context.Context, eventTypes []string)
roomserver/state/state.go:35
↓ 2 callersMethodEvictFederationQueuedEDU
(eventNID int64)
internal/caching/cache_federationevents.go:16
↓ 2 callersMethodExecutedMigrations
ExecutedMigrations returns a map with already executed migrations in addition to creating the migrations table, if it doesn't exist.
internal/sqlutil/migrate.go:122
↓ 2 callersMethodFailure
Failure marks a failure and starts backing off if needed. The next call to BackoffIfRequired will do the right thing after this. It will return the ti
statistics/statistics.go:111
↓ 2 callersMethodFetchKeys
( _ context.Context, requests map[gomatrixserverlib.PublicKeyLookupRequest]gomatrixserverlib.Timestamp, )
federationapi/internal/keys.go:32
↓ 2 callersMethodFind
* func (u UsersObjMapper) GetLastSeenAndStatus(appid uint32, id types.Uid) (time.Time, interface{}, error) { return adaptr.GetLastSeenAndStatus(appid
server/store/store.go:192
↓ 2 callersFunctionGetAccountData
GetAccountData implements GET /user/{userId}/[rooms/{roomid}/]account_data/{type}
clientapi/routing/account_data.go:34
↓ 2 callersMethodGetAllJoinedHosts
(ctx context.Context)
federationapi/storage/interface.go:32
↓ 2 callersMethodGetEventsInTopologicalRange
GetEventsInTopologicalRange retrieves all of the events on a given ordering using the given extremities and limit. If backwardsOrdering is true, the m
syncapi/storage/interface.go:116
↓ 2 callersMethodGetFilter
GetFilter looks up the filter associated with a given local user and filter ID and populates the target filter. Otherwise returns an error if no such
syncapi/storage/interface.go:138
↓ 2 callersFunctionGetHttpClient
(options ...interface{})
new_feature/notice_func.go:14
↓ 2 callersMethodGetJoinedHosts
(ctx context.Context, roomID string)
federationapi/storage/interface.go:31
↓ 2 callersMethodGetListener
GetListener returns a UserStreamListener that can be used to wait for updates for a user. Must be closed. notify for anything before sincePos
syncapi/notifier/notifier.go:300
↓ 2 callersFunctionGetMaxPanSize
()
new_feature/media_manage/init.go:8
↓ 2 callersMethodGetMediaMetadataByHash
(ctx context.Context, mediaHash types.Base64Hash, mediaOrigin gomatrixserverlib.ServerName)
mediaapi/storage/interface.go:32
↓ 2 callersFunctionGetMemberships
GetMemberships implements GET /rooms/{roomId}/members
clientapi/routing/memberships.go:55
↓ 2 callersMethodGetNotaryKeys
Query the notary for the server keys for the given server. If `optKeyIDs` is not empty, multiple server keys may be returned (between 1 - len(optKeyID
federationapi/storage/interface.go:73
↓ 2 callersMethodGetNotifyChannel
GetNotifyChannel returns a channel that is closed when there may be an update for the user. sincePos specifies from which point we want to be notified
syncapi/notifier/userstream.go:141
↓ 2 callersMethodGetRoomUpdater
Opens and returns a room updater, which locks the room and opens a transaction. The GetRoomUpdater must have Commit or Rollback called on it if this d
roomserver/storage/interface.go:97
↓ 2 callersMethodGetServerKey
request -> timestamp is emulating gomatrixserverlib.FetchKeys: https://github.com/matrix-org/gomatrixserverlib/blob/f69539c86ea55d1e2cc76fd8e944e2d82d
internal/caching/cache_serverkeys.go:17
↓ 2 callersMethodGetSyncPosition
GetSyncPosition returns last sync position which the UserStream was notified about
syncapi/notifier/userstream.go:129
↓ 2 callersFunctionGetThumbnailPath
GetThumbnailPath returns the path to a thumbnail given the absolute src path and thumbnail size configuration
mediaapi/thumbnailer/thumbnailer.go:43
↓ 2 callersMethodGetThumbnails
(ctx context.Context, mediaID types.MediaID, mediaOrigin gomatrixserverlib.ServerName)
mediaapi/storage/interface.go:38
↓ 2 callersMethodGetTypingUsers
GetTypingUsers returns the list of users typing in a room.
internal/caching/cache_typing.go:68
↓ 2 callersMethodGetTypingUsersIfUpdatedAfter
GetTypingUsersIfUpdatedAfter returns all users typing in this room with updated == true if the typing sync position of the room is after the given pos
internal/caching/cache_typing.go:77
↓ 2 callersFunctionGetUserOffline3DayOrInactive3Day
(ctx context.Context, federation *gomatrixserverlib.FederationClient, userIds []string, server string)
clientapi/routing/activate_user.go:101
↓ 2 callersMethodGetUsers
GetUsers loads subscriptions for topic plus loads user.Public
server/store/store.go:297
↓ 2 callersMethodInPacket
(packetLen int64)
new_feature/media_manage/user_media_flow.go:17
↓ 2 callersMethodInsertDeviceKeys
(ctx context.Context, txn *sql.Tx, keys []api.DeviceMessage)
keyserver/storage/tables/interface.go:39
↓ 2 callersMethodInsertEventInTopology
InsertEventInTopology inserts the given event in the room's topology, based on the event's depth. `pos` is the stream position of this event in the ev
syncapi/storage/tables/interface.go:85
↓ 2 callersMethodInsertEventJSON
( ctx context.Context, txn *sql.Tx, eventNID types.EventNID, eventJSON []byte, )
roomserver/storage/sqlite3/event_json_table.go:71
↓ 2 callersMethodInsertInviteEvent
(ctx context.Context, txn *sql.Tx, inviteEvent *gomatrixserverlib.HeaderedEvent)
syncapi/storage/tables/interface.go:36
↓ 2 callersMethodIsAfter
IsAfter returns true if ANY position in this token is greater than `other`.
syncapi/types/types.go:134
↓ 2 callersFunctionIsAnyUserOnServerWithMembership
(serverName gomatrixserverlib.ServerName, authEvents []*gomatrixserverlib.Event, wantMembership string)
roomserver/auth/auth.go:81
↓ 2 callersMethodIsInterestedInRoomAlias
IsInterestedInRoomAlias returns a bool on whether an application service's namespace includes the given room alias
setup/config/config_appservice.go:154
↓ 2 callersMethodIsReferenced
IsReferenced implements types.RoomRecentEventsUpdater
roomserver/storage/shared/room_updater.go:204
↓ 2 callersMethodIsRoomPresent
(roomID string)
syncapi/types/provider.go:28
↓ 2 callersMethodIsServerBlacklisted
(serverName gomatrixserverlib.ServerName)
federationapi/storage/interface.go:57
↓ 2 callersFunctionJoinRoomByIDOrAlias
( req *http.Request, device *api.Device, rsAPI roomserverAPI.ClientRoomserverAPI, profileAPI api.Clien
clientapi/routing/joinroom.go:29
↓ 2 callersFunctionJoinedHostsFromEvents
JoinedHostsFromEvents turns a list of state events into a list of joined hosts. This errors if one of the events was invalid. It should be impossible
federationapi/consumers/roomserver.go:283
↓ 2 callersMethodJoinedUsers
(roomID string)
syncapi/notifier/notifier.go:475
↓ 2 callersFunctionJudgeIfPayByLocals
(from, to string)
new_feature/blockchain_func.go:55
↓ 2 callersFunctionKeyBackupVersion
KeyBackupVersion returns the key backup version specified. If `version` is empty, the latest `keyBackupVersionResponse` is returned. Implements GET /
clientapi/routing/key_backup.go:92
↓ 2 callersMethodLoadStateAtSnapshotForStringTuples
LoadStateAtSnapshotForStringTuples loads the state for a list of event type and state key pairs at a snapshot. This is used when we only want to load
roomserver/state/state.go:290
↓ 2 callersFunctionLoadStateEvents
( ctx context.Context, db storage.Database, stateEntries []types.StateEntry, )
roomserver/internal/helpers/helpers.go:226
↓ 2 callersMethodLogin
(ctx context.Context, req interface{})
clientapi/auth/xs_jwt_auth.go:61
↓ 2 callersMethodLoginFromJSON
Login with the auth type, returning an error response on failure. Not all types support login, only m.login.password and m.login.token See https://mat
clientapi/auth/user_interactive.go:46
↓ 2 callersFunctionLoginFromJSONReader
LoginFromJSONReader performs authentication given a login request body reader and some context. It returns the basic login information and a cleanup f
clientapi/auth/login.go:35
↓ 2 callersMethodLookupServerKeys
(ctx context.Context, s gomatrixserverlib.ServerName, keyRequests map[gomatrixserverlib.PublicKeyLookupRequest
federationapi/api/api.go:22
↓ 2 callersMethodMSC2836EventRelationships
MSC2836EventRelationships performs an /event_relationships request to a remote server
setup/mscs/msc2836/msc2836.go:486
↓ 2 callersMethodManualUpdate
ManualUpdate invalidates the device list for the given user and fetches the latest and tracks it. Blocks until the device list is synced or the timeou
keyserver/internal/device_list_update.go:187
↓ 2 callersMethodMarkServersAlive
(destinations []gomatrixserverlib.ServerName)
federationapi/internal/perform.go:643
↓ 2 callersMethodMatchEvent
MatchEvent returns the first matching rule. Returns nil if there was no match rule.
internal/pushrules/evaluate.go:56
↓ 2 callersMethodMaxIdleConns
MaxIdleConns returns maximum idle connections to the DB
setup/config/config_global.go:257
↓ 2 callersMethodMaxOpenConns
MaxOpenConns returns maximum open connections to the DB
setup/config/config_global.go:262
↓ 2 callersMethodMaxStreamPositionForPDUs
(ctx context.Context)
syncapi/storage/interface.go:32
↓ 2 callersMethodMaxTopologicalPosition
MaxTopologicalPosition returns the highest topological position for a given room.
syncapi/storage/interface.go:122
↓ 2 callersMethodMembershipCount
(ctx context.Context, roomID, membership string, pos types.StreamPosition)
syncapi/storage/interface.go:43
↓ 2 callersMethodName
()
clientapi/auth/password.go:44
↓ 2 callersMethodNeededStateEventIDs
()
roomserver/api/output.go:168
↓ 2 callersFunctionNew
New is a wrapper which calls NewWithCleanupPeriod with DefaultCleanupPeriod as argument.
internal/transactions/transactions.go:44
↓ 2 callersFunctionNewEventRelationshipRequest
(body io.Reader)
setup/mscs/msc2836/msc2836.go:59
↓ 2 callersFunctionNewMediaFlowInfo
(username string, flowCouldPerDay int64)
new_feature/media_manage/user_media_flow.go:10
↓ 2 callersFunctionNewSharedSecretRegistration
(sharedSecret string)
clientapi/routing/register_secret.go:45
↓ 2 callersFunctionNewSharedSecretRegistrationRequest
(reader io.ReadCloser)
clientapi/routing/register_secret.go:29
↓ 2 callersFunctionNewStreamTokenFromString
(tok string)
syncapi/types/types.go:282
↓ 2 callersFunctionNewTopologyTokenFromString
(tok string)
syncapi/types/types.go:253
↓ 2 callersFunctionNoErrAccepted
(id, topic string, ts time.Time)
server/datamodel.go:466
↓ 2 callersMethodNotifyNewEvents
NotifyNewEvents wakes up all waiting goroutines, notifying that events remain in the event queue for this application service worker.
appservice/types/types.go:41
↓ 2 callersMethodNumWaiting
NumWaiting returns the number of goroutines waiting for waiting for updates. Used for metrics and testing.
syncapi/notifier/userstream.go:101
↓ 2 callersFunctionOnIncomingStateTypeRequest
OnIncomingStateTypeRequest is called when a client makes a rooms/{roomID}/state/{type}/{statekey} request. It will look in current state to see if the
clientapi/routing/state.go:170
↓ 2 callersMethodOnNewInvite
( posUpdate types.StreamingToken, wakeUserID string, )
syncapi/notifier/notifier.go:222
↓ 2 callersMethodOnNewKeyChange
( posUpdate types.StreamingToken, wakeUserID, keyChangeUserID string, )
syncapi/notifier/notifier.go:212
↓ 2 callersMethodOnServerACLUpdate
(state *gomatrixserverlib.Event)
roomserver/acls/acls.go:89
↓ 2 callersMethodOneTimeKeysCount
OneTimeKeysCount returns a count of all OTKs for this device.
keyserver/storage/interface.go:35
↓ 2 callersMethodOwnsNamespaceCoveringUserId
OwnsNamespaceCoveringUserId returns a bool on whether an application service's namespace is exclusive and includes the given user ID
setup/config/config_appservice.go:138
↓ 2 callersMethodPerformBroadcastEDU
Broadcasts an EDU to all servers in rooms we are joined to. Used in the yggdrasil demos.
federationapi/api/api.go:27
↓ 2 callersMethodPerformDeleteKeys
(ctx context.Context, req *PerformDeleteKeysRequest, res *PerformDeleteKeysResponse)
keyserver/api/api.go:52
↓ 2 callersMethodPerformJoin
Handle an instruction to make_join & send_join with a remote server.
federationapi/api/api.go:50
↓ 2 callersMethodPerformUploadDeviceKeys
(ctx context.Context, req *api.PerformUploadDeviceKeysRequest, res *api.PerformUploadDeviceKeysResponse)
keyserver/internal/device_list_update.go:122
↓ 2 callersMethodPerformUploadDeviceKeys
(ctx context.Context, req *PerformUploadDeviceKeysRequest, res *PerformUploadDeviceKeysResponse)
keyserver/api/api.go:43
↓ 2 callersMethodPerformUploadDeviceSignatures
(ctx context.Context, req *PerformUploadDeviceSignaturesRequest, res *PerformUploadDeviceSignaturesResponse)
keyserver/api/api.go:44
↓ 2 callersFunctionPostJSONNoSpan
PostJSONNoSpan performs a POST request with JSON on an internal HTTP API
new_feature/notice_func.go:25
↓ 2 callersMethodProduceKeyChanges
(keys []api.DeviceMessage)
keyserver/internal/device_list_update.go:127
↓ 2 callersMethodProduceSigningKeyUpdate
(key api.CrossSigningKeyUpdate)
keyserver/producers/keychange.go:72
↓ 2 callersMethodQueryAccountByPassword
(ctx context.Context, req *QueryAccountByPasswordRequest, res *QueryAccountByPasswordResponse)
userapi/api/api.go:133
↓ 2 callersMethodQueryDeviceMessages
(ctx context.Context, req *QueryDeviceMessagesRequest, res *QueryDeviceMessagesResponse)
keyserver/api/api.go:64
↓ 2 callersMethodQueryKeyChanges
(ctx context.Context, req *QueryKeyChangesRequest, res *QueryKeyChangesResponse)
keyserver/api/api.go:57
↓ 2 callersMethodQueryOneTimeKeys
(ctx context.Context, req *QueryOneTimeKeysRequest, res *QueryOneTimeKeysResponse)
keyserver/api/api.go:58
↓ 2 callersMethodQueryServerKeys
(ctx context.Context, request *QueryServerKeysRequest, response *QueryServerKeysResponse)
federationapi/api/api.go:21
↓ 2 callersMethodQuerySignatures
(ctx context.Context, req *QuerySignaturesRequest, res *QuerySignaturesResponse)
keyserver/api/api.go:63
↓ 2 callersMethodRemoteAddr
()
cmd/dendrite-demo-pinecone/conn/ws.go:75
↓ 2 callersMethodRoomAliasExists
Check whether a room alias exists within any application service namespaces
appservice/api/query.go:33
↓ 2 callersMethodSave
Save message
server/store/store.go:356
↓ 2 callersFunctionSaveAccountData
SaveAccountData implements PUT /user/{userId}/[rooms/{roomId}/]account_data/{type}
clientapi/routing/account_data.go:77
↓ 2 callersMethodSelectCrossSigningKeysForUser
(ctx context.Context, txn *sql.Tx, userID string)
keyserver/storage/tables/interface.go:62
↓ 2 callersMethodSelectCrossSigningSigsForTarget
(ctx context.Context, txn *sql.Tx, originUserID, targetUserID string, targetKeyID gomatrixserverlib.KeyID)
keyserver/storage/tables/interface.go:67
↓ 2 callersMethodSelectEvent
( ctx context.Context, txn *sql.Tx, eventID string, )
roomserver/storage/sqlite3/events_table.go:181
↓ 2 callersMethodSelectMaxPositionInTopology
SelectMaxPositionInTopology returns the event which has the highest depth, and if there are multiple, the event with the highest stream position.
syncapi/storage/tables/interface.go:94
↓ 2 callersMethodSelectQueueJSON
(ctx context.Context, txn *sql.Tx, jsonNIDs []int64)
federationapi/storage/tables/interface.go:51
← previousnext →501–600 of 3,776, ranked by callers