app

package
v0.9.10 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shutdown added in v0.9.1

func Shutdown(p shutdown) error

Shutdown infra

func Start added in v0.8.37

func Start(a app) (err error)

Start app

Types

type HealthCheck added in v0.9.8

type HealthCheck struct {
	dig.In
	PG    *sql.DB `name:"pg"`
	MySQL *sql.DB `name:"mysql"`
	Cache *cachekit.Store
}

HealthCheck ...

func (*HealthCheck) Handle added in v0.9.8

func (h *HealthCheck) Handle(ec echo.Context) error

Handle echo function

Directories

Path Synopsis
data_access
domain
mylibrary/service_mock
Package service_mock is a generated GoMock package.
Package service_mock is a generated GoMock package.
mymusic/service_mock
Package service_mock is a generated GoMock package.
Package service_mock is a generated GoMock package.
log

Jump to

Keyboard shortcuts

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