Documentation ¶
Index ¶
- func SpaHandler(location string, contextRoot string, indexFile string) http.Handler
- type SinglePageAppHandler
- func (spa *SinglePageAppHandler) Binding() string
- func (spa *SinglePageAppHandler) IsHandler(r *http.Request) bool
- func (spa *SinglePageAppHandler) Options() map[interface{}]interface{}
- func (spa *SinglePageAppHandler) RootPath() string
- func (spa *SinglePageAppHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SinglePageAppHandler ¶
func (*SinglePageAppHandler) Binding ¶
func (spa *SinglePageAppHandler) Binding() string
func (*SinglePageAppHandler) IsHandler ¶
func (spa *SinglePageAppHandler) IsHandler(r *http.Request) bool
func (*SinglePageAppHandler) Options ¶
func (spa *SinglePageAppHandler) Options() map[interface{}]interface{}
func (*SinglePageAppHandler) RootPath ¶
func (spa *SinglePageAppHandler) RootPath() string
func (*SinglePageAppHandler) ServeHTTP ¶
func (spa *SinglePageAppHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.