Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
type Endpoint interface { // Register registers the provider endpoints. Register(*httptreemux.ContextMux) }
Endpoint provides the website endpoints.
type Option ¶
type Option func(*Options)
Option configures the website handler.
func WithDir ¶
WithDir configures the website handler with the directory value used to serve the website from the local filesystem.
Click to show internal directories.
Click to hide internal directories.