Documentation ¶
Index ¶
- type Server
- func (s *Server) HandleFile(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleHealth(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleLanding(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleOIDCConfig(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleSPA(w http.ResponseWriter, r *http.Request)
- func (s *Server) RenderTemplate(w http.ResponseWriter, tName string)
- func (s *Server) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleFile ¶
func (s *Server) HandleFile(w http.ResponseWriter, r *http.Request)
func (*Server) HandleHealth ¶
func (s *Server) HandleHealth(w http.ResponseWriter, r *http.Request)
HandleHealth returns the health status of the server
func (*Server) HandleLanding ¶
func (s *Server) HandleLanding(w http.ResponseWriter, r *http.Request)
func (*Server) HandleOIDCConfig ¶
func (s *Server) HandleOIDCConfig(w http.ResponseWriter, r *http.Request)
func (*Server) HandleSPA ¶
func (s *Server) HandleSPA(w http.ResponseWriter, r *http.Request)
HandleSPA serves the embedded SPA directory
func (*Server) RenderTemplate ¶
func (s *Server) RenderTemplate(w http.ResponseWriter, tName string)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.