Documentation ¶
Index ¶
- type HTTPHandler
- func (h *HTTPHandler) GetEnv(c *gin.Context)
- func (h *HTTPHandler) GetError1(c *gin.Context)
- func (h *HTTPHandler) GetError2(c *gin.Context)
- func (h *HTTPHandler) GetHealthcheck(c *gin.Context)
- func (h *HTTPHandler) GetHello(c *gin.Context)
- func (h *HTTPHandler) GetMySQL(c *gin.Context)
- func (h *HTTPHandler) GetPostgres(c *gin.Context)
- func (h *HTTPHandler) GetRedis(c *gin.Context)
- func (h *HTTPHandler) GetS3(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler struct { *handler.BaseHTTPHandler // contains filtered or unexported fields }
HTTPHandler struct.
func NewHTTPHandler ¶
func NewHTTPHandler(l *logger.Logger, mysqlDB, postgresDB *gorm.DB, awsS3Repository *repository.AWSS3Repository, redisRepository *repository.RedisRepository) *HTTPHandler
NewHTTPHandler returns HTTPHandler struct.
func (*HTTPHandler) GetEnv ¶ added in v0.0.23
func (h *HTTPHandler) GetEnv(c *gin.Context)
GetEnv handler
func (*HTTPHandler) GetError1 ¶ added in v0.0.18
func (h *HTTPHandler) GetError1(c *gin.Context)
GetError1 handler
func (*HTTPHandler) GetError2 ¶ added in v0.0.18
func (h *HTTPHandler) GetError2(c *gin.Context)
GetError2 handler
func (*HTTPHandler) GetHealthcheck ¶ added in v0.0.19
func (h *HTTPHandler) GetHealthcheck(c *gin.Context)
GetHealthcheck handler
func (*HTTPHandler) GetMySQL ¶ added in v0.0.19
func (h *HTTPHandler) GetMySQL(c *gin.Context)
GetMySQL handler
func (*HTTPHandler) GetPostgres ¶ added in v0.0.19
func (h *HTTPHandler) GetPostgres(c *gin.Context)
GetPostgres handler
func (*HTTPHandler) GetRedis ¶ added in v0.0.20
func (h *HTTPHandler) GetRedis(c *gin.Context)
GetRedis handler
func (*HTTPHandler) GetS3 ¶ added in v0.0.19
func (h *HTTPHandler) GetS3(c *gin.Context)
GetS3 handler
Click to show internal directories.
Click to hide internal directories.