sr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 11 Imported by: 2

Documentation

Overview

Package sr implements service registry. This package does not provide dependency injection, for that you need to use a package like google wire.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() hexa.ServiceRegistry

func ShutdownBySignals

func ShutdownBySignals(sr hexa.ServiceRegistry, timeout time.Duration, signals ...os.Signal) error

ShutdownBySignals shutdown service registry services by listening to the os signals.

Types

This section is empty.

Jump to

Keyboard shortcuts

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