testgrp

package
v0.0.0-...-efc3f8c Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package checkgrp maintains the group of handlers for health checking (liveliness and rediness probe in k8s).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Log *zap.SugaredLogger
	DB  *sqlx.DB
}

Handlers manages the set of check enpoints.

func (Handlers) Test

Test handler for poc [PS] This is the inner layer of the onion. If we react till here it means we have passed through all the middleware. [PS] It will return the result to the foundation layer [PS] Handler function will receive the request, get all the data from the request, call business layer (e.g. data layer - core/store), perform any business logic before of after the call to business layer

Jump to

Keyboard shortcuts

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