registry

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InjectionsRegistry

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

func Initialize

func Initialize() *InjectionsRegistry

func New

func New() *InjectionsRegistry

func (*InjectionsRegistry) Get

func (r *InjectionsRegistry) Get(name string) interface{}

func (*InjectionsRegistry) SafeGet

func (r *InjectionsRegistry) SafeGet(name string) (interface{}, error)

func (*InjectionsRegistry) Set

func (r *InjectionsRegistry) Set(name string, item interface{})

type RegistryTuple

type RegistryTuple struct {
	Name  string
	Value interface{}
}

Jump to

Keyboard shortcuts

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