Back to

package proxy

v0.0.0 (c825e8b)
Latest Go to latest
Published: 3 days ago | License: BSD-3-Clause | Module:


Package proxy proxies requests to the playground's compile and share handlers. It is designed to run only on the instance of godoc that serves


func RegisterHandlers

func RegisterHandlers(mux *http.ServeMux)

type Event

type Event struct {
	Message string
	Kind    string        // "stdout" or "stderr"
	Delay   time.Duration // time to wait before printing Message

type Request

type Request struct {
	Body string

type Response

type Response struct {
	Errors string
	Events []Event
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier