19 lines
300 B
Go
Executable File
19 lines
300 B
Go
Executable File
package handler
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"net/http"
|
|
"nos-comptes/internal/utils"
|
|
)
|
|
|
|
type Config struct {
|
|
DBConnectionURI string
|
|
Port int
|
|
LogLevel string
|
|
LogFormat string
|
|
}
|
|
|
|
func GetHealth(c *gin.Context) {
|
|
utils.JSON(c.Writer, http.StatusNoContent, nil)
|
|
}
|