MCPcopy Index your code
hub / github.com/daodst/chat / UserInternalAPI

Struct UserInternalAPI

userapi/internal/api.go:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46)
47
48type UserInternalAPI struct {
49 DB storage.Database
50 SyncProducer *producers.SyncAPI
51
52 DisableTLSValidation bool
53 ServerName gomatrixserverlib.ServerName
54 // AppServices is the list of all registered AS
55 AppServices []config.ApplicationService
56 KeyAPI keyapi.UserKeyAPI
57 RSAPI rsapi.UserRoomserverAPI
58}
59
60func (a *UserInternalAPI) InputAccountData(ctx context.Context, req *api.InputAccountDataRequest, res *api.InputAccountDataResponse) error {
61 local, domain, err := gomatrixserverlib.SplitID('@', req.UserID)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected