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

Struct ActiveRemoteRequests

mediaapi/types/types.go:72–76  ·  view source on GitHub ↗

ActiveRemoteRequests is a lockable map of media URIs requested from remote homeservers It is used for ensuring multiple requests for the same file do not clobber each other.

Source from the content-addressed store, hash-verified

70// ActiveRemoteRequests is a lockable map of media URIs requested from remote homeservers
71// It is used for ensuring multiple requests for the same file do not clobber each other.
72type ActiveRemoteRequests struct {
73 sync.Mutex
74 // The string key is an mxc:// URL
75 MXCToResult map[string]*RemoteRequestResult
76}
77
78// ThumbnailSize contains a single thumbnail size configuration
79type ThumbnailSize config.ThumbnailSize

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected