instance

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	Initialized() bool
	SetInstance(name string, instance interface{})
	GetInstance(name string) (inst interface{})
}

type InstanceFactory

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

func (*InstanceFactory) GetInstance

func (f *InstanceFactory) GetInstance(name string) (inst interface{})

func (*InstanceFactory) Initialize

func (f *InstanceFactory) Initialize(instanceMap cmap.ConcurrentMap)

func (*InstanceFactory) Initialized

func (f *InstanceFactory) Initialized() bool

func (*InstanceFactory) SetInstance

func (f *InstanceFactory) SetInstance(name string, instance interface{})

Jump to

Keyboard shortcuts

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