web

package
v0.1.2-beta Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2016 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ProtocolVersion is the version of the bancho protocol.
	ProtocolVersion = 19
)
View Source
const StandardPage = `` /* 686-byte string literal not displayed */

StandardPage is the page that is shown if c.ppy.sh is visited with an User-Agent that is not osu!.

Variables

This section is empty.

Functions

func ConnectionHandler

func ConnectionHandler(w http.ResponseWriter, r *http.Request)

ConnectionHandler takes inbound connections to the server and makes a sensed response.

func Start

func Start(addrHTTP, addrHTTPS string)

Start begins the webserver for go-bancho, and starts processing requests to the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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