health

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(broker brokerLib.IBroker, databaseRead SQL.InterfaceRead,
	databaseWrite SQL.InterfaceWrite, appConfig app.IAppConfig, grpcCon *grpc.ClientConn) *Handler

func (*Handler) Get

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

func (*Handler) Options

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

Jump to

Keyboard shortcuts

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