http

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package http implements the CheeseGull API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(o Options) http.Handler

NewServer creates a new HTTP server for CheeseGull.

Types

type Options

type Options struct {
	BeatmapService cheesegull.BeatmapService
	FileResolver   cheesegull.FileResolver
	Communication  cheesegull.CommunicationService
	Logging        cheesegull.Logging
	APISecret      string
}

Options are the settings that can be passed to NewServer.

Directories

Path Synopsis
Package osz handles retrieval of osz files.
Package osz handles retrieval of osz files.

Jump to

Keyboard shortcuts

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