services

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(r *Registry)

Register sets the global service registry. If r is nil, it does nothing.

func Reset

func Reset()

Reset restores the default registry with a fallback Logger.

Types

type Registry

type Registry struct {
	Logger *logger.Logger
}

Registry holds references to cross-cutting services initialized during boot.

func Get

func Get() *Registry

Get returns the currently active service registry.

Jump to

Keyboard shortcuts

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