proxy

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2016 License: MIT, BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package proxy proxies requests to the sandbox compiler service and the playground share handler. 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