mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[status] Fix: Add missing API docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
56082ad577
commit
4ba3e595f2
1 changed files with 2 additions and 0 deletions
|
@ -34,9 +34,11 @@ type (
|
|||
|
||||
func init() {
|
||||
registerRoute(plugins.HTTPRouteRegistrationArgs{
|
||||
Description: "Provides a status JSON to check whether the bot is living",
|
||||
HandlerFunc: handleStatusRequest,
|
||||
Method: http.MethodGet,
|
||||
Module: "status",
|
||||
Name: "Status",
|
||||
Path: "/status.json",
|
||||
QueryParams: []plugins.HTTPRouteParamDocumentation{
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue