Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Chatterino/api
/ Load
Method
Load
pkg/cache/cache.go:31–31 ·
view source on GitHub ↗
(ctx context.Context, key string, r *http.Request)
Source
from the content-addressed store, hash-verified
29
30
type
Loader
interface
{
31
Load(ctx context.Context, key string, r *http.Request) ([]byte, *int, *string, time.Duration, error)
32
}
33
34
type
DependentCache
interface
{
Callers
5
load
Method · 0.65
load
Method · 0.65
testLoadAndUnescape
Function · 0.65
testLoadAndUnescape
Function · 0.65
testLoadAndUnescape
Function · 0.65
Implementers
15
ResponseMarshaller
pkg/resolver/response_marshaller.go
Loader
internal/resolvers/oembed/loader.go
ClipLoader
internal/resolvers/livestreamfails/cli
ClipLoader
internal/resolvers/twitch/clip_loader.
UserLoader
internal/resolvers/twitch/user_loader.
InviteLoader
internal/resolvers/discord/invite_load
EmoteLoader
internal/resolvers/seventv/emote_loade
ThumbnailLoader
internal/resolvers/default/thumbnail_l
LinkLoader
internal/resolvers/default/link_loader
YouTubePlaylistLoader
internal/resolvers/youtube/playlist_lo
YouTubeChannelLoader
internal/resolvers/youtube/channel_loa
VideoLoader
internal/resolvers/youtube/video_loade
Calls
no outgoing calls
Tested by
3
testLoadAndUnescape
Function · 0.52
testLoadAndUnescape
Function · 0.52
testLoadAndUnescape
Function · 0.52