12345678910111213141516 |
- package nmcli
- import "github.com/gin-gonic/gin"
- func WifiList(c *gin.Context) {
- }
- func WifiConnect(c *gin.Context) {
- //SSID string, password string
- }
- func Routing(c *gin.RouterGroup) {
- c.GET("/WifiList", WifiList)
- c.PUT("/WifiConnect", WifiConnect)
- }
|