upda/server/api_handler_auth.go

19 lines
303 B
Go
Raw Normal View History

2023-12-21 16:04:04 +00:00
package server
import (
"github.com/gin-gonic/gin"
"net/http"
)
type authHandler struct {
}
func newAuthHandler() *authHandler {
return &authHandler{}
}
func (h *authHandler) login(c *gin.Context) {
c.Header(headerContentType, headerContentTypeApplicationJson)
c.Status(http.StatusNoContent)
}