Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(addr, templateDir, staticDir, uuid, controllerNamespace, webpackDevServer string, reload bool, apiClient pb.ApiClient) *http.Server
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func FakeServer ¶
func FakeServer() Server
func (*Server) RenderTemplate ¶
func (s *Server) RenderTemplate(w http.ResponseWriter, templateFile, templateName string, args interface{}) error
func (*Server) ServeHTTP ¶
func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request)
this is called by the HTTP server to actually respond to a request
Click to show internal directories.
Click to hide internal directories.