MCPcopy Create free account

hub / github.com/boreq/eggplant / functions

Functions1,634 in github.com/boreq/eggplant

↓ 178 callersMethodEqual
(o AuthToken)
backend/domain/remote/tokens.go:84
↓ 120 callersMethodGet
Get returns the user with the provided username. If the user doesn't exist ErrNotFound is returned.
backend/application/auth/auth.go:31
↓ 119 callersMethodString
()
backend/adapters/music/scanner/scanner.go:29
↓ 114 callersMethodExecute
(ctx context.Context)
backend/entrypoints/timers/healthcheck.go:11
↓ 51 callersMethodRun
(ctx context.Context)
backend/entrypoints/outbox/outbox.go:12
↓ 42 callersMethodWrite
(handler TransactionHandler)
backend/application/auth/auth.go:74
↓ 40 callersMethodDo
(req *http.Request)
backend/adapters/openapi/openapi.gen.go:371
↓ 39 callersMethodStatusCode
StatusCode returns HTTPResponse.StatusCode
backend/adapters/openapi/openapi.gen.go:2522
↓ 38 callersMethodapplyEditors
(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:2259
↓ 34 callersMethodRead
(handler TransactionHandler)
backend/application/queries/queries.go:37
↓ 30 callersMethodString
()
backend/domain/music/file.go:90
↓ 29 callersMethodBytes
()
backend/domain/remote/tokens.go:119
↓ 27 callersMethodpushError
(vue: Vue, text: string, error?: any)
frontend/src/components/Notifications.ts:8
↓ 26 callersMethodId
()
backend/domain/music/album.go:94
↓ 24 callersMethodPut
Put inserts the user into the repository. The previous entry with this username is overwriten.
backend/application/auth/auth.go:27
↓ 24 callersFunctionbuildLib
(t *testing.T, spec rootSpec)
backend/domain/music/library/library_test.go:545
↓ 21 callersMethodString
()
backend/domain/music/library/access.go:12
↓ 20 callersMethodTracks
()
backend/domain/music/library/library.go:222
↓ 19 callersMethodSearch
(ctx context.Context, query string)
backend/application/music/music.go:121
↓ 19 callersMethodaddAccessContextRest
(handler func(accessctx.AccessContext, *http.Request) rest.RestResponse)
backend/entrypoints/http/handler.go:101
↓ 19 callersFunctionisNonLoggableError
(err error)
backend/application/music/music.go:150
↓ 18 callersMethodAlbums
()
backend/domain/music/library/library.go:218
↓ 18 callersMethodTitle
()
backend/domain/music/library/library.go:206
↓ 18 callersFunctionmustPassword
(t *testing.T, s string)
backend/internal/componenttest/auth_test.go:644
↓ 18 callersFunctionmustUsername
(t *testing.T, s string)
backend/internal/componenttest/auth_test.go:638
↓ 17 callersMethodCan
(p Permission)
backend/application/accessctx/accessctx.go:30
↓ 17 callersMethodDuration
()
backend/domain/music/hls/playlist.go:103
↓ 17 callersMethodString
()
backend/domain/music/hls/playlist.go:183
↓ 16 callersMethodLastSeen
()
backend/domain/auth/user.go:52
↓ 16 callersFunctionNewAuth
(t *testing.T)
backend/internal/componenttest/auth_test.go:558
↓ 16 callersMethodSetRemoteAuthToken
(ctx context.Context, body SetRemoteAuthTokenJSONRequestBody, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:443
↓ 15 callersMethodSessions
()
backend/domain/auth/user.go:56
↓ 14 callersMethodCreated
()
backend/domain/auth/user.go:48
↓ 14 callersMethodRemoteAuthToken
()
backend/domain/remote/instance.go:144
↓ 14 callersMethodSave
(library *library.Library)
backend/application/music/music.go:108
↓ 14 callersMethodUsername
()
backend/application/accessctx/accessctx.go:60
↓ 13 callersMethodAddress
()
backend/domain/remote/instance.go:97
↓ 13 callersMethodFileId
()
backend/application/music/music.go:67
↓ 13 callersMethodGetByToken
GetByToken returns the user owning the session with the provided access token. If no such session exists ErrNotFound is returned.
backend/application/auth/auth.go:35
↓ 12 callersFunctionnewTestInstance
(t *testing.T)
backend/domain/remote/instance_test.go:29
↓ 11 callersMethodTitle
()
backend/domain/music/album.go:98
↓ 11 callersMethodToken
()
backend/application/accessctx/accessctx.go:64
↓ 11 callersFunctionauthEditor
(token remotedomain.AuthToken)
backend/adapters/remote/remote_client.go:235
↓ 11 callersFunctionunexpectedStatus
(statusCode int, body []byte)
backend/adapters/remote/remote_client.go:249
↓ 10 callersMethodGet
()
backend/application/music/music.go:107
↓ 10 callersMethodGetByID
(id remotedomain.RemoteInstanceID)
backend/application/remote/remote.go:20
↓ 10 callersMethodGetTrack
(accessCtx AccessContext, id music.TrackId)
backend/domain/music/library/library.go:67
↓ 10 callersMethodHash
(password authdomain.Password)
backend/application/auth/auth.go:20
↓ 10 callersMethodIssueLocalAuthToken
()
backend/domain/remote/instance.go:115
↓ 10 callersMethodPopEvents
()
backend/domain/remote/event_recorder.go:4
↓ 10 callersMethodaddAccessContext
(handler func(accessctx.AccessContext, http.ResponseWriter, *http.Request, httprouter.Params))
backend/entrypoints/http/handler.go:116
↓ 9 callersMethodAdministrator
()
backend/domain/auth/user.go:44
↓ 9 callersMethodCanSee
(v Visibility)
backend/domain/music/library/access.go:17
↓ 9 callersMethodHash
()
backend/domain/remote/tokens.go:36
↓ 9 callersMethodLocalPairingTokenHash
()
backend/domain/remote/instance.go:101
↓ 9 callersMethodOpen
(name string)
backend/entrypoints/http/frontend/frontend.go:17
↓ 9 callersMethodRemotePairingToken
()
backend/domain/remote/instance.go:108
↓ 9 callersFunctionnewTestInstance
(t *testing.T)
backend/adapters/remote/repository_remote_instances_test.go:274
↓ 9 callersMethodstreamDir
(id musicdomain.StreamId)
backend/adapters/music/tracks/converter.go:488
↓ 8 callersMethodId
()
backend/domain/music/library/library.go:202
↓ 8 callersMethodItems
()
backend/domain/music/tracks.go:18
↓ 8 callersMethodSeconds
()
backend/domain/music/track.go:131
↓ 8 callersMethodSetRemotePairingToken
(ctx context.Context, id RemoteInstanceId, body SetRemotePairingTokenJSONRequestBody, reqEditors ...RequestEdi
backend/adapters/openapi/openapi.gen.go:495
↓ 8 callersMethodStatus
()
backend/domain/remote/healthcheck.go:52
↓ 8 callersMethodtargetByID
(id remotedomain.RemoteInstanceID)
backend/adapters/remote/remote_library.go:214
↓ 7 callersMethodGet
(r *http.Request)
backend/entrypoints/http/handler.go:28
↓ 7 callersMethodGetAlbum
(ctx context.Context, instanceId remote.RemoteInstanceID, albumId music.AlbumId)
backend/application/music/music.go:113
↓ 7 callersMethodInt
()
backend/domain/music/track.go:112
↓ 7 callersMethodInt
()
backend/domain/music/hls/playlist.go:122
↓ 7 callersMethodLocalAuthTokenHash
()
backend/domain/remote/instance.go:137
↓ 7 callersMethodNumber
()
backend/domain/music/track.go:58
↓ 7 callersMethodString
()
backend/application/music/handler_search.go:45
↓ 7 callersMethodTrack
()
backend/domain/music/library/search.go:116
↓ 7 callersMethodUsername
()
backend/domain/auth/user.go:36
↓ 7 callersFunctionalbumIdFor
(t *testing.T, title string)
backend/domain/music/library/library_test.go:601
↓ 7 callersMethodclient
(address remotedomain.RemoteInstanceAddress)
backend/adapters/remote/remote_client.go:227
↓ 7 callersFunctionnewTestService
(t *testing.T)
backend/internal/componenttest/service_test.go:283
↓ 6 callersMethodAlbum
()
backend/domain/music/library/search.go:120
↓ 6 callersMethodGetAll
()
backend/application/remote/remote.go:19
↓ 6 callersMethodGetThumbnail
(ctx context.Context, instanceId remote.RemoteInstanceID, thumbnailId music.ThumbnailId)
backend/application/music/music.go:114
↓ 6 callersMethodId
()
backend/domain/remote/instance.go:93
↓ 6 callersMethodLastHealthcheck
()
backend/domain/remote/instance.go:170
↓ 6 callersMethodRecordHealthcheck
(status HealthcheckStatus, at time.Time)
backend/domain/remote/instance.go:161
↓ 6 callersMethodSave
(instance *remotedomain.RemoteInstance)
backend/application/remote/remote.go:17
↓ 6 callersMethodSegments
()
backend/domain/music/hls/playlist.go:71
↓ 6 callersMethodcancel
()
frontend/src/services/DurationLoader.ts:27
↓ 6 callersFunctionfatal
(format string, args ...interface{})
backend/internal/cmd/genhandlers/main.go:408
↓ 6 callersFunctionfileExists
(p string)
backend/adapters/music/tracks/converter.go:527
↓ 6 callersFunctionnewTestAddress
(t *testing.T)
backend/domain/remote/instance_test.go:17
↓ 6 callersFunctionnewTestID
(t *testing.T)
backend/domain/remote/instance_test.go:11
↓ 6 callersFunctionsearchAlbumTitles
(hits []library.FoundAlbum)
backend/domain/music/library/library_test.go:658
↓ 6 callersMethodswitchView
(view: View)
frontend/src/views/Browse.ts:398
↓ 6 callersFunctiontrackTitles
(tracks []library.FoundTrack)
backend/domain/music/library/library_test.go:650
↓ 5 callersMethodAlbums
()
backend/domain/music/album.go:110
↓ 5 callersMethodPath
()
backend/application/music/music.go:71
↓ 5 callersMethodRemove
Remove should remove a user.
backend/application/auth/auth.go:38
↓ 5 callersMethodTracks
()
backend/domain/music/album.go:114
↓ 5 callersMethodUpdate
(username authdomain.Username, token authdomain.AccessToken, t time.Time)
backend/adapters/auth/last_seen_updater.go:27
↓ 5 callersFunctionauthedAs
(token string)
backend/internal/componenttest/service_test.go:327
↓ 5 callersMethodgetRootVisibilityToPropagateToChildren
()
backend/domain/music/library/library.go:109
next →1–100 of 1,634, ranked by callers