Documentation
¶
Overview ¶
Package devproxy is the dev proxy of umono theme dev. It forwards every request to .dev/server and changes the responses only as live reload and the error overlay need.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
Event is a message of /_umono-dev/events. Name is "reload" (reload the page), "css" (only assets/theme.css changed, swap its stylesheet) or "error" (show the errors in the overlay).
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy forwards requests to .dev/server. It is an http.Handler.
Click to show internal directories.
Click to hide internal directories.