Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderStatic ¶
RenderStatic decorates skeleton.Renderstic handles error with custom 500 page
Types ¶
type Website ¶
type Website struct {
// contains filtered or unexported fields
}
Website example
func NewExampleWebsite ¶
NewExampleWebsite returns instance of example website running on port 80 with '/static' static fileserver use by running skeleton.ServeSite(NewExampleWebsite())
func (*Website) Dispatcher ¶
func (w *Website) Dispatcher() dispatcher.Dispatcher
Dispatcher handles routes and middleware execution
func (*Website) NewHTTPServer ¶
NewHTTPServer returns *http.Server
Click to show internal directories.
Click to hide internal directories.