website: Index | Files

package proxy

import ""

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


Package Files


func RegisterHandlers Uses

func RegisterHandlers(mux *http.ServeMux)

type Event Uses

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

type Request Uses

type Request struct {
    Body string

type Response Uses

type Response struct {
    Errors string
    Events []Event

Package proxy imports 11 packages (graph). Updated 2021-01-21. Refresh now. Tools for package owners.