Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthSvc ¶
type HealthSvc interface {
GetHeartbeat(ctx context.Context) *model.HealthResponse
}
type HealthSvcImpl ¶
type HealthSvcImpl struct {
// contains filtered or unexported fields
}
func NewHealthSvc ¶
func NewHealthSvc(healthRepo ports.HealthRepository) *HealthSvcImpl
NewHealthSvc Takes in Interface, Return Struct
func (*HealthSvcImpl) GetHeartbeat ¶
func (srv *HealthSvcImpl) GetHeartbeat(ctx context.Context) *model.HealthResponse
Click to show internal directories.
Click to hide internal directories.