MCPcopy Create free account
hub / github.com/Chatterino/api / Loader

Interface Loader

pkg/cache/cache.go:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30type Loader interface {
31 Load(ctx context.Context, key string, r *http.Request) ([]byte, *int, *string, time.Duration, error)
32}
33
34type DependentCache interface {
35 // Returns (value, content type, error)

Callers 5

loadMethod · 0.65
loadMethod · 0.65
testLoadAndUnescapeFunction · 0.65
testLoadAndUnescapeFunction · 0.65
testLoadAndUnescapeFunction · 0.65

Implementers 15

ResponseMarshallerpkg/resolver/response_marshaller.go
Loaderinternal/resolvers/oembed/loader.go
ClipLoaderinternal/resolvers/livestreamfails/cli
ClipLoaderinternal/resolvers/twitch/clip_loader.
UserLoaderinternal/resolvers/twitch/user_loader.
InviteLoaderinternal/resolvers/discord/invite_load
EmoteLoaderinternal/resolvers/seventv/emote_loade
ThumbnailLoaderinternal/resolvers/default/thumbnail_l
LinkLoaderinternal/resolvers/default/link_loader
YouTubePlaylistLoaderinternal/resolvers/youtube/playlist_lo
YouTubeChannelLoaderinternal/resolvers/youtube/channel_loa
VideoLoaderinternal/resolvers/youtube/video_loade

Calls

no outgoing calls

Tested by

no test coverage detected