A minimalist Go module proxy handler.
DirCacher
create cache files with 0644 permissions.yaml
as YAML file extension for GitHub Actionshttptest.Server
notFoundError
matches fs.ErrNotExist
interface{}
with any
fetch.doDirect
to be writableexponentialBackoffSleep
to backoffSleep
testing.T.TempDir
DirCacher.Put
to 0755fetch.doDirect
writablefmt.Sprint
and fmt.Sprintf
strings.Cut
Cacher.Get
Cacher.Set
to Cacher.Put
Cacher.Get
Goproxy
context.Context
TestDirCacher
Goproxy.load
and sumdbClientOps.load
Goproxy
responseNotFound
fetch.doDirect
fetch
fetch.doProxy
Goproxy.GoBinEnv
parsingsumdbClientOps
Cacher.Set
http.Client.Do
error determinationGoproxy.load
, newFetch
and fetchOps
responseSuccess
fetchResult
io.ReadSeekCloser
and io.NopCloser
Goproxy.load
httpGet