Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LiveServer ¶
type LiveServer struct {
// contains filtered or unexported fields
}
func (*LiveServer) Serve ¶
func (l *LiveServer) Serve(fsys fs.FS) middleware.Middleware
type Server ¶
type Server interface {
Serve(fsys fs.FS) middleware.Middleware
}
type StaticServer ¶
type StaticServer struct{}
func Static ¶
func Static() StaticServer
func (StaticServer) Serve ¶
func (StaticServer) Serve(fsys fs.FS) middleware.Middleware
TODO: serve gzipped content
Click to show internal directories.
Click to hide internal directories.