httpd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: MIT Imports: 6 Imported by: 13

Documentation

Overview

Package httpd provides web service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API

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

API handles API routes

func Run

func Run()

Run starts web service

Types

type Route

type Route struct {
	Name        string
	Method      string
	Path        string
	HandlerFunc http.HandlerFunc
}

Route represents a HTTP route

Jump to

Keyboard shortcuts

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