Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler return a file server http handler for single page application. This handler can be mounted on your mux server.
If gzip is set true, handler gzip the response body, for clients which support it. Usually it also can be left to proxies like Nginx, this method is useful when that's undesirable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.