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
Click to show internal directories.
Click to hide internal directories.