Tweak documentation to refer to UnroutedHandler

This commit is contained in:
Max Brosnahan 2015-12-08 10:26:35 +13:00
parent e6f8969399
commit 430af02794
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type Handler struct {
// NewHandler creates a routed tus protocol handler. This is the simplest
// way to use tusd but may not be as configurable as you require. If you are
// integrating this into an existing app you may like to use tusd.NewHandler
// integrating this into an existing app you may like to use tusd.NewUnroutedHandler
// instead. Using tusd.NewUnroutedHandler allows the tus handlers to be combined into
// your existing router (aka mux) directly. It also allows the GET and DELETE
// endpoints to be customized. These are not part of the protocol so can be