factory

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2016 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name string, parameters map[string]interface{}) (locator.Driver, error)

func Register

func Register(name string, factory LocatorDriverFactory)

Types

type InvalidLocatorDriverError

type InvalidLocatorDriverError struct {
	Name string
}

func (InvalidLocatorDriverError) Error

func (err InvalidLocatorDriverError) Error() string

type LocatorDriverFactory

type LocatorDriverFactory interface {
	Create(parameters map[string]interface{}) (locator.Driver, error)
}

Jump to

Keyboard shortcuts

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