You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package api
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type scaleApi struct{}
|
|
|
|
func ScaleApi() *scaleApi {
|
|
return &scaleApi{}
|
|
}
|
|
|
|
func (scaleApi) Test(ctx *gin.Context) {
|
|
ctx.JSON(200, gin.H{
|
|
"message": "drone-Test",
|
|
})
|
|
return
|
|
}
|