MCPcopy Create free account

hub / github.com/DMarby/picsum-photos / types & classes

Types & classes37 in github.com/DMarby/picsum-photos

↓ 17 callersFuncTypeHandler
Handler wraps a http handler and deals with responding to errors
internal/handler/handler.go:41
StructAPI
API is a http api
internal/imageapi/api.go:26
StructAPI
API is a http api
internal/api/api.go:22
StructAuto
Auto is a cache that automatically attempts to load objects if they don't exist
internal/cache/cache.go:22
StructChecker
Checker is a periodic health checker
internal/health/health.go:18
StructDeprecatedImage
DeprecatedImage contains info about an image, in the old deprecated /list style
internal/api/deprecated.go:18
StructError
Error is the message and http status code to return
internal/handler/handler.go:9
StructHMAC
HMAC is a utility for creating and verifying HMACs
internal/hmac/hmac.go:10
StructImage
Image contains metadata about an image
internal/database/database.go:9
TypeAliasImage
Image is a representation of the *C.VipsImage type
internal/vips/vips.go:20
StructListImage
ListImage contains metadata and download information about an image
internal/api/list.go:24
FuncTypeLoaderFunc
LoaderFunc is a function for loading data into a cache
internal/cache/cache.go:19
StructLogger
Logger is a logger
internal/logger/logger.go:13
StructMuxRouteMatcher
MuxRouteMatcher maxes routes for a mux router
internal/handler/route_matcher.go:15
TypeAliasOutputFormat
OutputFormat is the image format to output to
internal/image/task.go:16
StructParams
Params contains all the parameters for a request
internal/params/params.go:21
InterfaceProcessor
Processor is an image processor
internal/image/image.go:6
StructProcessor
Processor is an image processor that uses vips to process images
internal/image/vips/vips.go:19
StructProcessor
Processor implements a mock image processor
internal/image/mock/mock.go:11
InterfaceProvider
Provider is an interface for getting and setting cached objects
internal/cache/cache.go:12
InterfaceProvider
Provider is an interface for listing and retrieving images
internal/database/database.go:18
InterfaceProvider
Provider is an interface for retrieving images
internal/storage/storage.go:9
StructProvider
Provider implements a simple in-memory cache
internal/cache/memory/memory.go:11
StructProvider
Provider is a mock cache
internal/cache/mock/mock.go:11
StructProvider
Provider implements a file-based image storage
internal/database/file/file.go:17
StructProvider
Provider implements a mock image storage
internal/database/mock/mock.go:11
StructProvider
Provider implements a file-based image storage
internal/storage/file/file.go:14
StructProvider
Provider implements a mock image storage
internal/storage/mock/mock.go:8
StructQueue
Queue is a worker queue with a fixed amount of workers
internal/queue/queue.go:14
InterfaceRouteMatcher
RouteMatcher matches routes
internal/handler/route_matcher.go:10
StructStatus
Status contains the healtcheck status
internal/health/health.go:29
StructTask
Task is an image processing task
internal/image/task.go:4
StructTracer
internal/tracing/tracing.go:22
StructhttpErrorLog
internal/logger/logger.go:52
Structjob
internal/queue/queue.go:21
StructjobResult
internal/queue/queue.go:27
StructresizedImage
resizedImage is a resized image
internal/image/vips/image.go:6