MCPcopy Create free account

hub / github.com/blampe/rreading-glasses / functions

Functions1,014 in github.com/blampe/rreading-glasses

↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:4820
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:4902
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:4984
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5066
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5148
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5230
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5312
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5394
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5476
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5558
↓ 1 callersMethod__premarshalJSON
()
gr/generated.go:5678
↓ 1 callersFunction__unmarshalGetRecommendedGetHomeWidgetsHomeWidgetItemsConnectionEdgesHomeWidgetEdgeNodeHomeWidgetRecommendationsEdge
(b []byte, v *GetRecommendedGetHomeWidgetsHomeWidgetItemsConnectionEdgesHomeWidgetEdgeNodeHomeWidgetRecommenda
gr/generated.go:1951
↓ 1 callersFunction__unmarshalSearchGetSearchSuggestionsSearchResultsConnectionEdgesSearchResultEdge
(b []byte, v *SearchGetSearchSuggestionsSearchResultsConnectionEdgesSearchResultEdge)
gr/generated.go:5806
↓ 1 callersMethodasinSet
(n int64)
internal/metrics.go:282
↓ 1 callersMethodauthorsSet
(n int64)
internal/metrics.go:266
↓ 1 callersMethodautoComplete
autoComplete is the legacy GR search API which handles ASIN and ISBN queries.
internal/gr.go:109
↓ 1 callersMethodbatchesSentGet
()
internal/metrics.go:399
↓ 1 callersMethodbatchesSentInc
()
internal/metrics.go:395
↓ 1 callersMethodeditionsSet
(n int64)
internal/metrics.go:270
↓ 1 callersMethodenqueue
enqueue adds a query to the batch and returns a subscription whose result channel resolves when the batch is executed.
internal/graphql.go:176
↓ 1 callersMethodetagRatioGet
()
internal/metrics.go:349
↓ 1 callersMethodflush
flush pops the oldest batchedQuery off the queue and executes it. Individualized errors are returned to listeners if possible, so one query can fail w
internal/graphql.go:86
↓ 1 callersMethodflush
(ctx context.Context)
internal/cloudflare.go:69
↓ 1 callersMethodgetASIN
(ctx context.Context, asin string)
internal/controller.go:358
↓ 1 callersMethodgetAuthor
getAuthor returns an AuthorResource with up to 20 works populated on first load. Additional works are populated asynchronously. The previous state is
internal/controller.go:640
↓ 1 callersMethodgetBook
(ctx context.Context, bookID int64)
internal/controller.go:415
↓ 1 callersMethodgetISBN
(ctx context.Context, isbn isbn.ISBN)
internal/controller.go:391
↓ 1 callersMethodgetSeries
(ctx context.Context, seriesID int64)
internal/controller.go:538
↓ 1 callersMethodgetWork
(ctx context.Context, workID int64)
internal/controller.go:471
↓ 1 callersFunctioninstrument
instrument wraps an HTTP handler to automatically record timing and status codes.
internal/metrics.go:69
↓ 1 callersMethodisbnSet
(n int64)
internal/metrics.go:286
↓ 1 callersMethodlegacyAuthorIDtoKCA
legacyAuthorIDtoKCA resolves a legacy author ID to the new KCA URI. This is the only place where we still use the deprecated API.
internal/gr.go:619
↓ 1 callersFunctionnewCloudflareBuster
(apiToken string, zoneID string, reg *prometheus.Registry)
internal/cloudflare.go:29
↓ 1 callersFunctionnewCloudflareMetrics
(reg *prometheus.Registry)
internal/metrics.go:189
↓ 1 callersFunctionnewDBMetrics
(db *pgxpool.Pool, reg *prometheus.Registry)
internal/metrics.go:214
↓ 1 callersFunctionnewGQLMetrics
(reg *prometheus.Registry)
internal/metrics.go:164
↓ 1 callersMethodpeek
()
internal/buffer.go:10
↓ 1 callersMethodpop
()
internal/buffer.go:11
↓ 1 callersMethodpush
(T)
internal/buffer.go:12
↓ 1 callersMethodqueriesSentAdd
(delta int64)
internal/metrics.go:408
↓ 1 callersMethodqueriesSentGet
()
internal/metrics.go:415
↓ 1 callersFunctionrandRunes
randRunes returns a short random string of length n.
internal/graphql.go:272
↓ 1 callersMethodrefreshAuthor
(ctx context.Context, authorID int64, cachedBytes []byte)
internal/controller.go:699
↓ 1 callersMethodrefreshingSet
(n int64)
internal/metrics.go:278
↓ 1 callersMethodsearchASIN
(ctx context.Context, asin string)
internal/controller.go:267
↓ 1 callersMethodsearchISBN
(ctx context.Context, isbn isbn.ISBN)
internal/controller.go:293
↓ 1 callersMethodseriesSet
(n int64)
internal/metrics.go:290
↓ 1 callersMethodsetASIN
(ctx context.Context, asin string, editionID int64)
internal/controller.go:373
↓ 1 callersMethodsetISBN
(ctx context.Context, isbn isbn.ISBN, editionID int64)
internal/controller.go:406
↓ 1 callersFunctionunion
(x S, y S)
internal/set.go:15
↓ 1 callersMethodurlsBustedAdd
(delta int)
internal/metrics.go:437
↓ 1 callersMethodworksSet
(n int64)
internal/metrics.go:274
FunctionBenchmarkCompressDecompress
(b *testing.B)
internal/postgres_test.go:129
MethodDelete
Delete is a no-op, since it's only used on our "refresh author" sentinel which doesn't impact users.
internal/cloudflare.go:179
MethodDelete
Delete deletes a key from all layers of the cache. Expire should typically be used instead.
internal/cache.go:83
MethodDelete
(ctx context.Context, authorID int64)
internal/persist.go:44
MethodDelete
Delete deletes a row.
internal/postgres.go:154
MethodDelete
(ctx context.Context, key string)
internal/memory.go:52
MethodDo
Do rewrite *gomock.Call.Do
internal/mock.go:72
MethodDo
Do rewrite *gomock.Call.Do
internal/mock.go:110
MethodDo
Do rewrite *gomock.Call.Do
internal/mock.go:151
MethodDo
Do rewrite *gomock.Call.Do
internal/mock.go:190
MethodDo
Do rewrite *gomock.Call.Do
internal/mock.go:230
MethodDo
Do rewrite *gomock.Call.Do
internal/mock.go:269
MethodDo
Do rewrite *gomock.Call.Do
hardcover/mock.go:133
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:78
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:116
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:157
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:196
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:236
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:275
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
hardcover/mock.go:139
MethodExpire
Expire expires a key from all layers of the cache. This removes it from memory but keeps data persisted in Postgres without a TTL.
internal/cache.go:73
MethodExpire
Expire expires a row by setting its ttl to 0. The data is still persisted.
internal/postgres.go:148
MethodGet
Get is a no-op.
internal/cloudflare.go:189
MethodGet
(ctx context.Context, key string)
internal/postgres.go:81
MethodGetAfter
GetAfter returns PaginationInput.After, and is useful for accessing the field via an interface.
gr/generated.go:5601
MethodGetAsin
GetAsin returns EditionInfo.Asin, and is useful for accessing the field via an interface.
hardcover/generated.go:627
MethodGetAsin
GetAsin returns GetEditionEditions_by_pkEditions.Asin, and is useful for accessing the field via an interface.
hardcover/generated.go:1038
MethodGetAsin
GetAsin returns GetWorkBooks_by_pkBooksEditions.Asin, and is useful for accessing the field via an interface.
hardcover/generated.go:1676
MethodGetAsin
GetAsin returns BookInfoDetailsBookDetails.Asin, and is useful for accessing the field via an interface.
gr/generated.go:124
MethodGetAudio_seconds
GetAudio_seconds returns EditionInfo.Audio_seconds, and is useful for accessing the field via an interface.
hardcover/generated.go:639
MethodGetAudio_seconds
GetAudio_seconds returns GetEditionEditions_by_pkEditions.Audio_seconds, and is useful for accessing the field via an interface.
hardcover/generated.go:1052
MethodGetAudio_seconds
GetAudio_seconds returns GetWorkBooks_by_pkBooksEditions.Audio_seconds, and is useful for accessing the field via an interface.
hardcover/generated.go:1690
FunctionGetAuthor
( ctx_ context.Context, client_ graphql.Client, id int64, )
hardcover/generated.go:2198
MethodGetAuthor
GetAuthor looks up an author on Hardcover.
internal/hardcover.go:478
MethodGetAuthor
GetAuthor mocks base method.
internal/mock.go:45
MethodGetAuthor
GetAuthor indicates an expected call of GetAuthor.
internal/mock.go:54
MethodGetAuthor
GetAuthor returns Contributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:53
MethodGetAuthor
GetAuthor returns DefaultEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:197
MethodGetAuthor
GetAuthor returns DefaultEditionsDefault_audio_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:280
MethodGetAuthor
GetAuthor returns DefaultEditionsDefault_cover_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:363
MethodGetAuthor
GetAuthor returns DefaultEditionsDefault_ebook_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:446
MethodGetAuthor
GetAuthor returns DefaultEditionsDefault_physical_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:529
MethodGetAuthor
GetAuthor returns GetAuthorEditionsAuthors_by_pkAuthorsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:817
MethodGetAuthorBooks
GetAuthorBooks returns all GR book (edition) IDs.
internal/hardcover.go:332
MethodGetAuthorBooks
GetAuthorBooks mocks base method.
internal/mock.go:84
MethodGetAuthorBooks
GetAuthorBooks indicates an expected call of GetAuthorBooks.
internal/mock.go:92
MethodGetAuthors_by_pk
GetAuthors_by_pk returns GetAuthorEditionsResponse.Authors_by_pk, and is useful for accessing the field via an interface.
hardcover/generated.go:1000
MethodGetAuthors_by_pk
GetAuthors_by_pk returns GetAuthorResponse.Authors_by_pk, and is useful for accessing the field via an interface.
hardcover/generated.go:1011
← previousnext →201–300 of 1,014, ranked by callers