factory

package
v1.23.0-verio.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewFunc

type NewFunc func(inspector data.Inspector) (data.Datum, error)

func NewNewFuncWithFunc

func NewNewFuncWithFunc(datumFunc func() data.Datum) NewFunc

func NewNewFuncWithKeyAndMap

func NewNewFuncWithKeyAndMap(key string, newFuncMap NewFuncMap) NewFunc

type NewFuncMap

type NewFuncMap map[string]NewFunc

type Standard

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

func NewStandard

func NewStandard() (*Standard, error)

func (*Standard) Init

func (s *Standard) Init(inspector data.Inspector) (data.Datum, error)

func (*Standard) New

func (s *Standard) New(inspector data.Inspector) (data.Datum, error)

Jump to

Keyboard shortcuts

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