proxy

package
v0.0.0-...-421f03a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2019 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

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 golang.org.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(mux *http.ServeMux)

Types

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL