container

package
v0.0.0-...-c02a6a4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container interface {
	Ready() error
	GetServiceOrNil(id string) interface{}
	RegisterService(id string, svc interface{})
	Shutdown()
}

func New

func New() Container

type Graph

type Graph interface {
	Provide(objects ...*inject.Object) error
	Populate() error
}

type Service

type Service interface {
	Startup() error
	Shutdown() error
}

Jump to

Keyboard shortcuts

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