Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blampe/rreading-glasses
/ functions
Functions
1,014 in github.com/blampe/rreading-glasses
⨍
Functions
1,014
◇
Types & classes
303
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:4820
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:4902
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:4984
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5066
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5148
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5230
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5312
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5394
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5476
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5558
↓ 1 callers
Method
__premarshalJSON
()
gr/generated.go:5678
↓ 1 callers
Function
__unmarshalGetRecommendedGetHomeWidgetsHomeWidgetItemsConnectionEdgesHomeWidgetEdgeNodeHomeWidgetRecommendationsEdge
(b []byte, v *GetRecommendedGetHomeWidgetsHomeWidgetItemsConnectionEdgesHomeWidgetEdgeNodeHomeWidgetRecommenda
gr/generated.go:1951
↓ 1 callers
Function
__unmarshalSearchGetSearchSuggestionsSearchResultsConnectionEdgesSearchResultEdge
(b []byte, v *SearchGetSearchSuggestionsSearchResultsConnectionEdgesSearchResultEdge)
gr/generated.go:5806
↓ 1 callers
Method
asinSet
(n int64)
internal/metrics.go:282
↓ 1 callers
Method
authorsSet
(n int64)
internal/metrics.go:266
↓ 1 callers
Method
autoComplete
autoComplete is the legacy GR search API which handles ASIN and ISBN queries.
internal/gr.go:109
↓ 1 callers
Method
batchesSentGet
()
internal/metrics.go:399
↓ 1 callers
Method
batchesSentInc
()
internal/metrics.go:395
↓ 1 callers
Method
editionsSet
(n int64)
internal/metrics.go:270
↓ 1 callers
Method
enqueue
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 callers
Method
etagRatioGet
()
internal/metrics.go:349
↓ 1 callers
Method
flush
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 callers
Method
flush
(ctx context.Context)
internal/cloudflare.go:69
↓ 1 callers
Method
getASIN
(ctx context.Context, asin string)
internal/controller.go:358
↓ 1 callers
Method
getAuthor
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 callers
Method
getBook
(ctx context.Context, bookID int64)
internal/controller.go:415
↓ 1 callers
Method
getISBN
(ctx context.Context, isbn isbn.ISBN)
internal/controller.go:391
↓ 1 callers
Method
getSeries
(ctx context.Context, seriesID int64)
internal/controller.go:538
↓ 1 callers
Method
getWork
(ctx context.Context, workID int64)
internal/controller.go:471
↓ 1 callers
Function
instrument
instrument wraps an HTTP handler to automatically record timing and status codes.
internal/metrics.go:69
↓ 1 callers
Method
isbnSet
(n int64)
internal/metrics.go:286
↓ 1 callers
Method
legacyAuthorIDtoKCA
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 callers
Function
newCloudflareBuster
(apiToken string, zoneID string, reg *prometheus.Registry)
internal/cloudflare.go:29
↓ 1 callers
Function
newCloudflareMetrics
(reg *prometheus.Registry)
internal/metrics.go:189
↓ 1 callers
Function
newDBMetrics
(db *pgxpool.Pool, reg *prometheus.Registry)
internal/metrics.go:214
↓ 1 callers
Function
newGQLMetrics
(reg *prometheus.Registry)
internal/metrics.go:164
↓ 1 callers
Method
peek
()
internal/buffer.go:10
↓ 1 callers
Method
pop
()
internal/buffer.go:11
↓ 1 callers
Method
push
(T)
internal/buffer.go:12
↓ 1 callers
Method
queriesSentAdd
(delta int64)
internal/metrics.go:408
↓ 1 callers
Method
queriesSentGet
()
internal/metrics.go:415
↓ 1 callers
Function
randRunes
randRunes returns a short random string of length n.
internal/graphql.go:272
↓ 1 callers
Method
refreshAuthor
(ctx context.Context, authorID int64, cachedBytes []byte)
internal/controller.go:699
↓ 1 callers
Method
refreshingSet
(n int64)
internal/metrics.go:278
↓ 1 callers
Method
searchASIN
(ctx context.Context, asin string)
internal/controller.go:267
↓ 1 callers
Method
searchISBN
(ctx context.Context, isbn isbn.ISBN)
internal/controller.go:293
↓ 1 callers
Method
seriesSet
(n int64)
internal/metrics.go:290
↓ 1 callers
Method
setASIN
(ctx context.Context, asin string, editionID int64)
internal/controller.go:373
↓ 1 callers
Method
setISBN
(ctx context.Context, isbn isbn.ISBN, editionID int64)
internal/controller.go:406
↓ 1 callers
Function
union
(x S, y S)
internal/set.go:15
↓ 1 callers
Method
urlsBustedAdd
(delta int)
internal/metrics.go:437
↓ 1 callers
Method
worksSet
(n int64)
internal/metrics.go:274
Function
BenchmarkCompressDecompress
(b *testing.B)
internal/postgres_test.go:129
Method
Delete
Delete is a no-op, since it's only used on our "refresh author" sentinel which doesn't impact users.
internal/cloudflare.go:179
Method
Delete
Delete deletes a key from all layers of the cache. Expire should typically be used instead.
internal/cache.go:83
Method
Delete
(ctx context.Context, authorID int64)
internal/persist.go:44
Method
Delete
Delete deletes a row.
internal/postgres.go:154
Method
Delete
(ctx context.Context, key string)
internal/memory.go:52
Method
Do
Do rewrite *gomock.Call.Do
internal/mock.go:72
Method
Do
Do rewrite *gomock.Call.Do
internal/mock.go:110
Method
Do
Do rewrite *gomock.Call.Do
internal/mock.go:151
Method
Do
Do rewrite *gomock.Call.Do
internal/mock.go:190
Method
Do
Do rewrite *gomock.Call.Do
internal/mock.go:230
Method
Do
Do rewrite *gomock.Call.Do
internal/mock.go:269
Method
Do
Do rewrite *gomock.Call.Do
hardcover/mock.go:133
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:78
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:116
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:157
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:196
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:236
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/mock.go:275
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
hardcover/mock.go:139
Method
Expire
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
Method
Expire
Expire expires a row by setting its ttl to 0. The data is still persisted.
internal/postgres.go:148
Method
Get
Get is a no-op.
internal/cloudflare.go:189
Method
Get
(ctx context.Context, key string)
internal/postgres.go:81
Method
GetAfter
GetAfter returns PaginationInput.After, and is useful for accessing the field via an interface.
gr/generated.go:5601
Method
GetAsin
GetAsin returns EditionInfo.Asin, and is useful for accessing the field via an interface.
hardcover/generated.go:627
Method
GetAsin
GetAsin returns GetEditionEditions_by_pkEditions.Asin, and is useful for accessing the field via an interface.
hardcover/generated.go:1038
Method
GetAsin
GetAsin returns GetWorkBooks_by_pkBooksEditions.Asin, and is useful for accessing the field via an interface.
hardcover/generated.go:1676
Method
GetAsin
GetAsin returns BookInfoDetailsBookDetails.Asin, and is useful for accessing the field via an interface.
gr/generated.go:124
Method
GetAudio_seconds
GetAudio_seconds returns EditionInfo.Audio_seconds, and is useful for accessing the field via an interface.
hardcover/generated.go:639
Method
GetAudio_seconds
GetAudio_seconds returns GetEditionEditions_by_pkEditions.Audio_seconds, and is useful for accessing the field via an interface.
hardcover/generated.go:1052
Method
GetAudio_seconds
GetAudio_seconds returns GetWorkBooks_by_pkBooksEditions.Audio_seconds, and is useful for accessing the field via an interface.
hardcover/generated.go:1690
Function
GetAuthor
( ctx_ context.Context, client_ graphql.Client, id int64, )
hardcover/generated.go:2198
Method
GetAuthor
GetAuthor looks up an author on Hardcover.
internal/hardcover.go:478
Method
GetAuthor
GetAuthor mocks base method.
internal/mock.go:45
Method
GetAuthor
GetAuthor indicates an expected call of GetAuthor.
internal/mock.go:54
Method
GetAuthor
GetAuthor returns Contributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:53
Method
GetAuthor
GetAuthor returns DefaultEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:197
Method
GetAuthor
GetAuthor returns DefaultEditionsDefault_audio_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:280
Method
GetAuthor
GetAuthor returns DefaultEditionsDefault_cover_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:363
Method
GetAuthor
GetAuthor returns DefaultEditionsDefault_ebook_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:446
Method
GetAuthor
GetAuthor returns DefaultEditionsDefault_physical_editionEditionsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:529
Method
GetAuthor
GetAuthor returns GetAuthorEditionsAuthors_by_pkAuthorsContributions.Author, and is useful for accessing the field via an interface.
hardcover/generated.go:817
Method
GetAuthorBooks
GetAuthorBooks returns all GR book (edition) IDs.
internal/hardcover.go:332
Method
GetAuthorBooks
GetAuthorBooks mocks base method.
internal/mock.go:84
Method
GetAuthorBooks
GetAuthorBooks indicates an expected call of GetAuthorBooks.
internal/mock.go:92
Method
GetAuthors_by_pk
GetAuthors_by_pk returns GetAuthorEditionsResponse.Authors_by_pk, and is useful for accessing the field via an interface.
hardcover/generated.go:1000
Method
GetAuthors_by_pk
GetAuthors_by_pk returns GetAuthorResponse.Authors_by_pk, and is useful for accessing the field via an interface.
hardcover/generated.go:1011
← previous
next →
201–300 of 1,014, ranked by callers