Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(broker brokerLib.IBroker, postgresRead relational.InterfaceRead) httpUtil.Interface
Types ¶
type Handler ¶
func (*Handler) Get ¶
func (h *Handler) Get(w netHTTP.ResponseWriter, r *netHTTP.Request)
@Tags Health @Description Check if Health of service it's OK! @ID health @Accept json @Produce json @Success 200 {object} http.Response{content=string} "OK" @Failure 500 {object} http.Response{content=string} "INTERNAL SERVER ERROR" @Router /webhook/health [get]
Click to show internal directories.
Click to hide internal directories.