short

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2016 License: MIT, BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package short implements a simple URL shortener, serving an administrative interface at /s and shortened urls from /s/key. It is designed to run only on the instance of godoc that serves golang.org.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(mux *http.ServeMux)

Types

type Link struct {
	Key, Target string
}

Link represents a short link.

Jump to

Keyboard shortcuts

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