service

package
v0.0.0-...-bddae19 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Unlicense Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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