Documentation ¶
Index ¶
- type Config
- type Pages
- type Server
- func (s *Server) APIRequest(next http.Handler) http.Handler
- func (s *Server) HTTPError(w io.Writer, errString string) error
- func (s *Server) LogRequest(next http.Handler) http.Handler
- func (s *Server) Shutdown() error
- func (s *Server) Start() error
- func (s *Server) WriteJSONResponse(w http.ResponseWriter, jsonResponse interface{})
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) WriteJSONResponse ¶
func (s *Server) WriteJSONResponse(w http.ResponseWriter, jsonResponse interface{})
Click to show internal directories.
Click to hide internal directories.