repository

package
v0.0.0-...-120aaed Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Start() error
	HealthCheck() error
	CreateTransaction() *sqlx.Tx
}

func New

func New(i di.Injector) (Service, error)

type ServiceImpl

type ServiceImpl struct {
	// contains filtered or unexported fields
}

func (*ServiceImpl) CreateTransaction

func (s *ServiceImpl) CreateTransaction() *sqlx.Tx

func (*ServiceImpl) HealthCheck

func (s *ServiceImpl) HealthCheck() error

func (*ServiceImpl) Shutdown

func (s *ServiceImpl) Shutdown() error

func (*ServiceImpl) Start

func (s *ServiceImpl) Start() error

Jump to

Keyboard shortcuts

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