Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boreq/eggplant
/ functions
Functions
1,634 in github.com/boreq/eggplant
⨍
Functions
1,634
◇
Types & classes
529
↓ 178 callers
Method
Equal
(o AuthToken)
backend/domain/remote/tokens.go:84
↓ 120 callers
Method
Get
Get returns the user with the provided username. If the user doesn't exist ErrNotFound is returned.
backend/application/auth/auth.go:31
↓ 119 callers
Method
String
()
backend/adapters/music/scanner/scanner.go:29
↓ 114 callers
Method
Execute
(ctx context.Context)
backend/entrypoints/timers/healthcheck.go:11
↓ 51 callers
Method
Run
(ctx context.Context)
backend/entrypoints/outbox/outbox.go:12
↓ 42 callers
Method
Write
(handler TransactionHandler)
backend/application/auth/auth.go:74
↓ 40 callers
Method
Do
(req *http.Request)
backend/adapters/openapi/openapi.gen.go:371
↓ 39 callers
Method
StatusCode
StatusCode returns HTTPResponse.StatusCode
backend/adapters/openapi/openapi.gen.go:2522
↓ 38 callers
Method
applyEditors
(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:2259
↓ 34 callers
Method
Read
(handler TransactionHandler)
backend/application/queries/queries.go:37
↓ 30 callers
Method
String
()
backend/domain/music/file.go:90
↓ 29 callers
Method
Bytes
()
backend/domain/remote/tokens.go:119
↓ 27 callers
Method
pushError
(vue: Vue, text: string, error?: any)
frontend/src/components/Notifications.ts:8
↓ 26 callers
Method
Id
()
backend/domain/music/album.go:94
↓ 24 callers
Method
Put
Put inserts the user into the repository. The previous entry with this username is overwriten.
backend/application/auth/auth.go:27
↓ 24 callers
Function
buildLib
(t *testing.T, spec rootSpec)
backend/domain/music/library/library_test.go:545
↓ 21 callers
Method
String
()
backend/domain/music/library/access.go:12
↓ 20 callers
Method
Tracks
()
backend/domain/music/library/library.go:222
↓ 19 callers
Method
Search
(ctx context.Context, query string)
backend/application/music/music.go:121
↓ 19 callers
Method
addAccessContextRest
(handler func(accessctx.AccessContext, *http.Request) rest.RestResponse)
backend/entrypoints/http/handler.go:101
↓ 19 callers
Function
isNonLoggableError
(err error)
backend/application/music/music.go:150
↓ 18 callers
Method
Albums
()
backend/domain/music/library/library.go:218
↓ 18 callers
Method
Title
()
backend/domain/music/library/library.go:206
↓ 18 callers
Function
mustPassword
(t *testing.T, s string)
backend/internal/componenttest/auth_test.go:644
↓ 18 callers
Function
mustUsername
(t *testing.T, s string)
backend/internal/componenttest/auth_test.go:638
↓ 17 callers
Method
Can
(p Permission)
backend/application/accessctx/accessctx.go:30
↓ 17 callers
Method
Duration
()
backend/domain/music/hls/playlist.go:103
↓ 17 callers
Method
String
()
backend/domain/music/hls/playlist.go:183
↓ 16 callers
Method
LastSeen
()
backend/domain/auth/user.go:52
↓ 16 callers
Function
NewAuth
(t *testing.T)
backend/internal/componenttest/auth_test.go:558
↓ 16 callers
Method
SetRemoteAuthToken
(ctx context.Context, body SetRemoteAuthTokenJSONRequestBody, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:443
↓ 15 callers
Method
Sessions
()
backend/domain/auth/user.go:56
↓ 14 callers
Method
Created
()
backend/domain/auth/user.go:48
↓ 14 callers
Method
RemoteAuthToken
()
backend/domain/remote/instance.go:144
↓ 14 callers
Method
Save
(library *library.Library)
backend/application/music/music.go:108
↓ 14 callers
Method
Username
()
backend/application/accessctx/accessctx.go:60
↓ 13 callers
Method
Address
()
backend/domain/remote/instance.go:97
↓ 13 callers
Method
FileId
()
backend/application/music/music.go:67
↓ 13 callers
Method
GetByToken
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 callers
Function
newTestInstance
(t *testing.T)
backend/domain/remote/instance_test.go:29
↓ 11 callers
Method
Title
()
backend/domain/music/album.go:98
↓ 11 callers
Method
Token
()
backend/application/accessctx/accessctx.go:64
↓ 11 callers
Function
authEditor
(token remotedomain.AuthToken)
backend/adapters/remote/remote_client.go:235
↓ 11 callers
Function
unexpectedStatus
(statusCode int, body []byte)
backend/adapters/remote/remote_client.go:249
↓ 10 callers
Method
Get
()
backend/application/music/music.go:107
↓ 10 callers
Method
GetByID
(id remotedomain.RemoteInstanceID)
backend/application/remote/remote.go:20
↓ 10 callers
Method
GetTrack
(accessCtx AccessContext, id music.TrackId)
backend/domain/music/library/library.go:67
↓ 10 callers
Method
Hash
(password authdomain.Password)
backend/application/auth/auth.go:20
↓ 10 callers
Method
IssueLocalAuthToken
()
backend/domain/remote/instance.go:115
↓ 10 callers
Method
PopEvents
()
backend/domain/remote/event_recorder.go:4
↓ 10 callers
Method
addAccessContext
(handler func(accessctx.AccessContext, http.ResponseWriter, *http.Request, httprouter.Params))
backend/entrypoints/http/handler.go:116
↓ 9 callers
Method
Administrator
()
backend/domain/auth/user.go:44
↓ 9 callers
Method
CanSee
(v Visibility)
backend/domain/music/library/access.go:17
↓ 9 callers
Method
Hash
()
backend/domain/remote/tokens.go:36
↓ 9 callers
Method
LocalPairingTokenHash
()
backend/domain/remote/instance.go:101
↓ 9 callers
Method
Open
(name string)
backend/entrypoints/http/frontend/frontend.go:17
↓ 9 callers
Method
RemotePairingToken
()
backend/domain/remote/instance.go:108
↓ 9 callers
Function
newTestInstance
(t *testing.T)
backend/adapters/remote/repository_remote_instances_test.go:274
↓ 9 callers
Method
streamDir
(id musicdomain.StreamId)
backend/adapters/music/tracks/converter.go:488
↓ 8 callers
Method
Id
()
backend/domain/music/library/library.go:202
↓ 8 callers
Method
Items
()
backend/domain/music/tracks.go:18
↓ 8 callers
Method
Seconds
()
backend/domain/music/track.go:131
↓ 8 callers
Method
SetRemotePairingToken
(ctx context.Context, id RemoteInstanceId, body SetRemotePairingTokenJSONRequestBody, reqEditors ...RequestEdi
backend/adapters/openapi/openapi.gen.go:495
↓ 8 callers
Method
Status
()
backend/domain/remote/healthcheck.go:52
↓ 8 callers
Method
targetByID
(id remotedomain.RemoteInstanceID)
backend/adapters/remote/remote_library.go:214
↓ 7 callers
Method
Get
(r *http.Request)
backend/entrypoints/http/handler.go:28
↓ 7 callers
Method
GetAlbum
(ctx context.Context, instanceId remote.RemoteInstanceID, albumId music.AlbumId)
backend/application/music/music.go:113
↓ 7 callers
Method
Int
()
backend/domain/music/track.go:112
↓ 7 callers
Method
Int
()
backend/domain/music/hls/playlist.go:122
↓ 7 callers
Method
LocalAuthTokenHash
()
backend/domain/remote/instance.go:137
↓ 7 callers
Method
Number
()
backend/domain/music/track.go:58
↓ 7 callers
Method
String
()
backend/application/music/handler_search.go:45
↓ 7 callers
Method
Track
()
backend/domain/music/library/search.go:116
↓ 7 callers
Method
Username
()
backend/domain/auth/user.go:36
↓ 7 callers
Function
albumIdFor
(t *testing.T, title string)
backend/domain/music/library/library_test.go:601
↓ 7 callers
Method
client
(address remotedomain.RemoteInstanceAddress)
backend/adapters/remote/remote_client.go:227
↓ 7 callers
Function
newTestService
(t *testing.T)
backend/internal/componenttest/service_test.go:283
↓ 6 callers
Method
Album
()
backend/domain/music/library/search.go:120
↓ 6 callers
Method
GetAll
()
backend/application/remote/remote.go:19
↓ 6 callers
Method
GetThumbnail
(ctx context.Context, instanceId remote.RemoteInstanceID, thumbnailId music.ThumbnailId)
backend/application/music/music.go:114
↓ 6 callers
Method
Id
()
backend/domain/remote/instance.go:93
↓ 6 callers
Method
LastHealthcheck
()
backend/domain/remote/instance.go:170
↓ 6 callers
Method
RecordHealthcheck
(status HealthcheckStatus, at time.Time)
backend/domain/remote/instance.go:161
↓ 6 callers
Method
Save
(instance *remotedomain.RemoteInstance)
backend/application/remote/remote.go:17
↓ 6 callers
Method
Segments
()
backend/domain/music/hls/playlist.go:71
↓ 6 callers
Method
cancel
()
frontend/src/services/DurationLoader.ts:27
↓ 6 callers
Function
fatal
(format string, args ...interface{})
backend/internal/cmd/genhandlers/main.go:408
↓ 6 callers
Function
fileExists
(p string)
backend/adapters/music/tracks/converter.go:527
↓ 6 callers
Function
newTestAddress
(t *testing.T)
backend/domain/remote/instance_test.go:17
↓ 6 callers
Function
newTestID
(t *testing.T)
backend/domain/remote/instance_test.go:11
↓ 6 callers
Function
searchAlbumTitles
(hits []library.FoundAlbum)
backend/domain/music/library/library_test.go:658
↓ 6 callers
Method
switchView
(view: View)
frontend/src/views/Browse.ts:398
↓ 6 callers
Function
trackTitles
(tracks []library.FoundTrack)
backend/domain/music/library/library_test.go:650
↓ 5 callers
Method
Albums
()
backend/domain/music/album.go:110
↓ 5 callers
Method
Path
()
backend/application/music/music.go:71
↓ 5 callers
Method
Remove
Remove should remove a user.
backend/application/auth/auth.go:38
↓ 5 callers
Method
Tracks
()
backend/domain/music/album.go:114
↓ 5 callers
Method
Update
(username authdomain.Username, token authdomain.AccessToken, t time.Time)
backend/adapters/auth/last_seen_updater.go:27
↓ 5 callers
Function
authedAs
(token string)
backend/internal/componenttest/service_test.go:327
↓ 5 callers
Method
getRootVisibilityToPropagateToChildren
()
backend/domain/music/library/library.go:109
next →
1–100 of 1,634, ranked by callers