Documentation ¶
Overview ¶
Package short implements a simple URL shortener, serving shortened urls from /s/key. An administrative handler is provided for other services to use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminHandler ¶
AdminHandler serves an administrative interface for managing shortener entries. Be careful. It is the caller’s responsibility to ensure that the handler is only exposed to authorized users.
Types ¶
Click to show internal directories.
Click to hide internal directories.