Documentation ¶
Index ¶
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
}
Server wraps a chi router (chi.Mux)
func (*Server) ListenAndServe ¶
func (s *Server) ListenAndServe(quit chan struct{}, errors chan config.ErrorMessage, port string)
ListenAndServe starts the server
func (*Server) SetupRoutes ¶
func (s *Server) SetupRoutes()
SetupRoutes adds all routes that the server should listen to
Click to show internal directories.
Click to hide internal directories.