Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProtocolVersion is the version of the bancho protocol.
ProtocolVersion = 19
)
View Source
const StandardPage = `` /* 632-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 BanchoConnectionHandler ¶
func BanchoConnectionHandler(w http.ResponseWriter, r *http.Request)
BanchoConnectionHandler takes inbound connections to the bancho server (c.ppy.sh) and makes a sensed response.
Types ¶
type ConnectionHandler ¶
type ConnectionHandler struct{}
ConnectionHandler is a very basic connection handler, used to handle the different hosts of the osu! server, and forward requests to the right engine.
func (ConnectionHandler) ServeHTTP ¶
func (c ConnectionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.