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

This commit is contained in:
dushixiang committed 2021-02-14 03:49:00 +08:00
1 parent 5b7cebb602
commit 0539ce351d
6 files changed
+136 -62

No files matched your search

+1
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))
}