teardown

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Procedure

type Procedure func() error

Procedure define a that can fail.

type Service

type Service interface {
	RegisterProcedure(Procedure)
	Teardown() error
}

Service define a teardown procedure registry service.

func ProvideService

func ProvideService() Service

ProvideService is a wire provider for a teardown procedure registry service.

Jump to

Keyboard shortcuts

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