MCPcopy Create free account
hub / github.com/bricks-cloud/BricksLLM / GetBytes

Method GetBytes

internal/server/web/proxy/route.go:25–25  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

23type cache interface {
24 StoreBytes(key string, value []byte, ttl time.Duration) error
25 GetBytes(key string) ([]byte, error)
26}
27
28func getRouteHandler(prod bool, ca cache, aoe azureEstimator, e estimator, client http.Client, rec recorder) gin.HandlerFunc {

Callers 1

getRouteHandlerFunction · 0.65

Implementers 1

Cacheinternal/cache/cache.go

Calls

no outgoing calls

Tested by

no test coverage detected