service

package
v0.0.0-...-b703a9f Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Ping() error
}

type DB

type DB interface {
	Ping() error
}

type Service

type Service interface {
	Run(ctx context.Context, wg *sync.WaitGroup)
	HealthCheck() error
}

func New

func New(port int, db DB, cache Cache) Service

Directories

Path Synopsis
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.

Jump to

Keyboard shortcuts

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