Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SPAFileServer ¶
type SPAFileServer struct {
// contains filtered or unexported fields
}
func NewSPAFileServer ¶
func NewSPAFileServer(fileSystem http.FileSystem) *SPAFileServer
func (*SPAFileServer) ServeHTTP ¶
func (s *SPAFileServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SPAReverseProxyServer ¶
type SPAReverseProxyServer struct {
// contains filtered or unexported fields
}
SPAReverseProxyServer is used for local development or in theory it could be used.
func NewSPAReverseProxyServer ¶
func NewSPAReverseProxyServer(frontend string) (*SPAReverseProxyServer, error)
func (*SPAReverseProxyServer) ServeHTTP ¶
func (s *SPAReverseProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.