Files
old-backend/controllers/SampleController.go
2023-09-04 11:19:59 +02:00

16 lines
293 B
Go

/**
* Created by VoidArtanis on 10/22/2017
*/
package controllers
import "github.com/gin-gonic/gin"
func GetSecretText(c *gin.Context){
c.JSON(200, "Hi this is a secret message. Auth was successful!")
}
func GetPublicText(c *gin.Context){
c.JSON(200, "Hi this is a public message!")
}