initapp

package
v0.0.0-...-80164ef Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDependencyInitChainIsRequired = errors.NewError("SYS", "Chain with dependencies is required")
)

Functions

This section is empty.

Types

type DependenciesInitializer

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

func (*DependenciesInitializer) InitDependencies

func (i *DependenciesInitializer) InitDependencies() error

func (*DependenciesInitializer) StartDependencies

func (i *DependenciesInitializer) StartDependencies() error

func (*DependenciesInitializer) StopDependencies

func (i *DependenciesInitializer) StopDependencies() error

type DependenciesInitializerBuilder

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

func NewDependenciesInitializer

func NewDependenciesInitializer() *DependenciesInitializerBuilder

func (*DependenciesInitializerBuilder) Build

func (*DependenciesInitializerBuilder) DependencyInitChain

func (b *DependenciesInitializerBuilder) DependencyInitChain(dependencyInitChain []DependencyService) *DependenciesInitializerBuilder

type DependencyService

type DependencyService interface {
	Init() error
	Start() error
	Stop() error
}

Jump to

Keyboard shortcuts

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