health

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(postgresRead relational.InterfaceRead,
	postgresWrite relational.InterfaceWrite, appConfig *app.Config) httpUtil.Interface

Types

type Handler

type Handler struct {
	httpUtil.Interface
	// contains filtered or unexported fields
}

func (*Handler) Get

@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 /auth/health [get]

func (*Handler) Options

func (h *Handler) Options(w netHTTP.ResponseWriter, _ *netHTTP.Request)

Jump to

Keyboard shortcuts

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