增加了使用golang ssh库接入访问SSH类型资产的选项 close #58

This commit is contained in:
dushixiang
2021-02-14 03:47:20 +08:00
parent 5b7cebb602
commit 0539ce351d
6 changed files with 136 additions and 62 deletions

View File

@ -76,6 +76,7 @@ func SetupRoutes() *echo.Echo {
assets.PUT("/:id", AssetUpdateEndpoint)
assets.DELETE("/:id", AssetDeleteEndpoint)
assets.GET("/:id", AssetGetEndpoint)
assets.GET("/:id/attributes", AssetGetAttributeEndpoint)
assets.POST("/:id/change-owner", Admin(AssetChangeOwnerEndpoint))
}