factory

package
v1.2.20 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 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 DefaultFactory added in v1.1.0

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

func (*DefaultFactory) Initialize added in v1.1.0

func (f *DefaultFactory) Initialize(r registry.Registry, m *meta.Meta) error

func (*DefaultFactory) SetIfNilPostInitFunc added in v1.1.0

func (f *DefaultFactory) SetIfNilPostInitFunc(fn MetaFunc)

type Factory

type Factory interface {
	SetIfNilPostInitFunc(fn MetaFunc)
	Initialize(r registry.Registry, m *meta.Meta) error
}

type MetaFunc added in v1.1.0

type MetaFunc func(m *meta.Meta) error

Jump to

Keyboard shortcuts

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