Welcome to the chi/_examples/rest generated docs.
/
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/ -
GET -
main.main.func1
/admin/*
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/admin/* -
main.AdminOnly -
/ -
GET -
main.adminRouter.func1
/admin/*/accounts
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/admin/* -
main.AdminOnly -
/accounts -
GET -
main.adminRouter.func2
/admin/*/users/{userId}
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/admin/* -
main.AdminOnly -
/users/{userId} -
GET -
main.adminRouter.func3
/articles/*
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/articles/* -
/ -
GET -
main.paginate -
main.ListArticles -
POST -
main.CreateArticle
/articles/*/search
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/articles/* -
/search -
GET -
main.SearchArticles
/articles/*/{articleID}/*
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/articles/* -
/{articleID}/* -
main.ArticleCtx -
/ -
DELETE -
main.DeleteArticle -
GET -
main.GetArticle -
PUT -
main.UpdateArticle
/articles/*/{articleSlug:[a-z-]+}
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/articles/* -
/{articleSlug:[a-z-]+} -
GET -
main.ArticleCtx -
main.GetArticle
/panic
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/panic -
GET -
main.main.func3
/ping
-
RequestID -
Logger -
Recoverer -
URLFormat -
SetContentType.func1 -
/ping -
GET -
main.main.func2
Total # of routes: 10