api

package
v0.0.0-...-760c826 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*goji.Mux
	// contains filtered or unexported fields
}

Handler is an http.Handler for serving the API

func NewHandler

func NewHandler(db *data.Database) *Handler

NewHandler creates an api.Handler that serves from the provided database.

Jump to

Keyboard shortcuts

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