Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Proxy ¶
func Proxy(w http.ResponseWriter, r *http.Request)
Proxy proxies the request to the app's upgrade service.
func Serve ¶
func Serve(params types.UpgradeServiceParams) error
func Start ¶
func Start(params types.UpgradeServiceParams) (finalError error)
Start spins up an upgrade service for an app in the background on a random port and waits for it to be ready. If an upgrade service is already running for the app, it will be stopped and a new one will be started.
Types ¶
type UpgradeService ¶
type UpgradeService struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.