handler

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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) GetHello

func (h *HTTPHandler) GetHello(c *gin.Context)

GetHello 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL