README ¶ gcshandler 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 }))) Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func New(c Config) http.Handler type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(c Config) http.Handler New creates new gcshandler Types ¶ type Config ¶ type Config struct { Client *storage.Client CacheControl string Bucket string BasePath string Fallback http.Handler } Config is gcshandler config Source Files ¶ View all Source files gcshandler.go Click to show internal directories. Click to hide internal directories.