Files
gitea/routers/api/bots/bots.go
Bo-Yi Wu ef3a74a1ba chore(proto): Add ping service
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00

19 lines
387 B
Go

// Copyright 2022 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package bots
import (
"code.gitea.io/gitea/modules/web"
)
func Routes(r *web.Route) {
// socket connection
r.Get("/socket", socketServe)
// runner service
runnerServiceRoute(r)
// ping service
pingServiceRoute(r)
}