register

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package register offers tools for creating and managing registers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespaced

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

func New

func New() *Namespaced

func (*Namespaced) AddNamespace

func (n *Namespaced) AddNamespace(namespace string)

func (*Namespaced) Get

func (n *Namespaced) Get(namespace string) (*Untyped, bool)

func (*Namespaced) Register

func (n *Namespaced) Register(namespace, name string, v interface{})

type Untyped

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

func NewUntyped

func NewUntyped() *Untyped

func (*Untyped) Clone

func (u *Untyped) Clone() map[string]interface{}

func (*Untyped) Get

func (u *Untyped) Get(name string) (interface{}, bool)

func (*Untyped) Register

func (u *Untyped) Register(name string, v interface{})

Jump to

Keyboard shortcuts

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