Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeDir = "fs/dir" TypeHtml = "text/html" TypeJs = "text/js" TypeZip = "application/zip" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirStore ¶
type DirStore struct {
// contains filtered or unexported fields
}
func NewDirStore ¶
type MemReadCloser ¶
func (MemReadCloser) Close ¶
func (MemReadCloser) Close() error
type OverlayStore ¶
type OverlayStore struct {
Stores []Store
}
func (*OverlayStore) Open ¶
func (o *OverlayStore) Open(s string) (io.ReadCloser, error)
type StoreHandler ¶
type StoreHandler struct {
Store
}
func (StoreHandler) ServeHTTP ¶
func (sh StoreHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.