Files
fn-serverless/api/server/ping.go
Chad Arimura d0901c104f Update ping.go
updating ping
2017-09-11 11:16:17 -07:00

12 lines
197 B
Go

package server
import (
"net/http"
"github.com/gin-gonic/gin"
)
func handlePing(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"hello": "world!", "goto": "https://github.com/fnproject/fn"})
}