convert to template
All checks were successful
Template Cleanup / Template Cleanup (push) Has been skipped

This commit is contained in:
2024-09-04 11:36:03 +08:00
parent 3085195290
commit 8b7e7a3f85
13 changed files with 31 additions and 34 deletions

View File

@ -2,7 +2,7 @@ package handler
import (
"github.com/gin-gonic/gin"
"onvif-agent/response"
"zabbixagent2plugintemplate/response"
)
func Hello(c *gin.Context) {

View File

@ -2,8 +2,8 @@ package onvif
import (
"github.com/gin-gonic/gin"
"onvif-agent/response"
"onvif-agent/service/onvif"
"zabbixagent2plugintemplate/response"
"zabbixagent2plugintemplate/service/onvif"
)
func GetNotifications(c *gin.Context) {

View File

@ -3,8 +3,8 @@ package onvif
import (
"github.com/gin-gonic/gin"
"net/http"
"onvif-agent/response"
"onvif-agent/service/onvif"
"zabbixagent2plugintemplate/response"
"zabbixagent2plugintemplate/service/onvif"
)
type CreateSessionRequest struct {

View File

@ -7,9 +7,9 @@ import (
"github.com/gin-gonic/gin"
"log"
"net/http"
"onvif-agent/config"
"onvif-agent/response"
"onvif-agent/service/onvif"
"zabbixagent2plugintemplate/config"
"zabbixagent2plugintemplate/response"
"zabbixagent2plugintemplate/service/onvif"
)
func CreateSubscription(c *gin.Context) {