Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a simple HTTP server for previewing the generated site
func (*Server) CreateHandler ¶ added in v0.2.19
CreateHandler creates and returns the HTTP handler without starting the server. This is useful for testing and for embedding the server in other applications.
func (*Server) GetAddress ¶ added in v0.2.19
GetAddress returns the server address in the format :port
Click to show internal directories.
Click to hide internal directories.