api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package api provides a backing api for the shrturl application

Index

Constants

View Source
const Version = "v1"

Version identifies the api version

Variables

This section is empty.

Functions

This section is empty.

Types

type ShrtURLAPI

type ShrtURLAPI struct {
	// contains filtered or unexported fields
}

ShrtURLAPI is a handler for shrturl API calls

func Register

func Register(router *mux.Router) (api *ShrtURLAPI, err error)

Register attaches a api to the given router.

Jump to

Keyboard shortcuts

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