Skip to content

Google Cloud Storage Go net/http Handler

License

Notifications You must be signed in to change notification settings

moonrhythm/gcshandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcshandler

Build Status codecov Go Report Card GoDoc

Example

m.Handle("/-/", http.StripPrefix("/-", gcshandler.New(gcshandler.Config{
    Client: nil, // *storage.Client
    Bucket: "acoshift-test",
    BasePath: "folder",
    CacheControl: "public, max-age=7200",
    Fallback: webstatic.New("assets"), // github.com/acoshift/webstatic
})))

License

MIT

About

Google Cloud Storage Go net/http Handler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages