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

Method KeyIDs

federationapi/api/api.go:122–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122func (q *QueryServerKeysRequest) KeyIDs() []gomatrixserverlib.KeyID {
123 kids := make([]gomatrixserverlib.KeyID, len(q.KeyIDToCriteria))
124 i := 0
125 for keyID := range q.KeyIDToCriteria {
126 kids[i] = keyID
127 i++
128 }
129 return kids
130}
131
132type QueryServerKeysResponse struct {
133 ServerKeys []gomatrixserverlib.ServerKeys

Callers 1

QueryServerKeysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected