Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFrontendNotIncluded = errors.New("frontend is not included")
Functions ¶
func RegisterFrontend ¶
Types ¶
type FileServerWithCaching ¶
type FileServerWithCaching struct {
// contains filtered or unexported fields
}
func NewFileServerWithCaching ¶
func NewFileServerWithCaching(root http.FileSystem, maxAge int) *FileServerWithCaching
func (*FileServerWithCaching) ServeHTTP ¶
func (f *FileServerWithCaching) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.