自动化测试
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
414 B

package runcase
import (
"net/http"
"automatedtesting/usecases_server/utils/cyllib/serial"
"github.com/gin-gonic/gin"
)
type RunCaseController struct {
}
func (s *RunCaseController) GetComList(c *gin.Context) {
comlist := serial.GetComList()
c.JSON(http.StatusOK, &gin.H{"comlist": comlist})
}
func (s *RunCaseController) SocKet(c *gin.Context) {
s.CaseSorket(c)
// c.JSON(http.StatusOK, &gin.H{})
}