mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
add fm api (#456)
This commit is contained in:
@@ -65,8 +65,8 @@ func createTerminal(c *gin.Context) (*model.CreateTerminalResponse, error) {
|
||||
// @Summary Terminal stream
|
||||
// @Description Terminal stream
|
||||
// @Tags auth required
|
||||
// @Param id path string true "Stream ID"
|
||||
// @Router /terminal/{id} [get]
|
||||
// @Param id path string true "Stream UUID"
|
||||
// @Router /ws/terminal/{id} [get]
|
||||
func terminalStream(c *gin.Context) (any, error) {
|
||||
streamId := c.Param("id")
|
||||
if _, err := rpc.NezhaHandlerSingleton.GetStream(streamId); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user