package
0.1.1
Repository: https://github.com/bitmaelum/bitmaelum-suite.git
Documentation: pkg.go.dev

# README

This is more or less a service locator / DI system.

I'm not sure if this is the way forward when it comes to idiomatic golang. I haven't seen this is larger projects so maybe the need for this is not there.

# Functions

NewContainer will create a new container.

# Constants

APIKey key.
AuthKey key.
Resolver key.
Service is not shared.
Service is shared.
Subscription key.
Ticket key.
Webhook key.

# Variables

Instance is the main bitmaelum service container.

# Structs

ServiceDefinition is a single service definition.
Type is the main container structure holding all service.

# Interfaces

Container is the interface each container needs to implement.

# Type aliases

ServiceFunc is the function that needs to be resolved in the definition.
ServiceType defines what kind of service it is (singleton, or new instance on each call).