11 lines
195 B
Go
11 lines
195 B
Go
|
package controller
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"yumc.pw/cloud/nvwa/service"
|
||
|
)
|
||
|
|
||
|
func (d *dockerController) ContainerList(c *gin.Context) {
|
||
|
success(c, service.Docker.ContainerList())
|
||
|
}
|