Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigJSONHandler ¶
type ConfigJSONHandler struct { Next httpserver.Handler // contains filtered or unexported fields }
ConfigJSONHandler is a handler to return config JSON files.
func NewConfigJSONHandler ¶
func NewConfigJSONHandler(url, root, path string, next httpserver.Handler) *ConfigJSONHandler
NewConfigJSONHandler creates a new ConfigJSONHandler with the provided options.
func (*ConfigJSONHandler) ServeHTTP ¶
func (h *ConfigJSONHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)
Click to show internal directories.
Click to hide internal directories.