api-server: github.com/DevMine/api-server/api Index | Files | Directories

package api

import "github.com/DevMine/api-server/api"

Package api handles api-server routes, via its sub-packages except for the root route which is handled by root.go.

Index

Package Files

api.go root.go

Constants

const (
    // Version corresponds to the API version.
    Version = 1

    // DocURL corresponds to the API server documentation URL.
    DocURL = "http://devmine.ch/doc/api-server"
)

func Index Uses

func Index(c *context.Context, w http.ResponseWriter, r *http.Request)

Index handles "/" route.

Directories

PathSynopsis
featuresPackage features handles /features...
repositoriesPackage repositories handles /repositories...
searchPackage search handles /search...
statsPackage stats handles /stats...
usersPackage users handles all /users...

Package api imports 3 packages (graph) and is imported by 1 packages. Updated 2016-07-21. Refresh now. Tools for package owners.