teardown

package
v0.14.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 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