factory

package
v0.0.0-...-38a8f93 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Create is used to create an overlay based on the configurations.

func Register

func Register(overlayName string, factory Factory)

Register can be used to register a new overlay in order to be available.

Types

type Factory

type Factory func(config *configuration.Configuration) (overlay.Overlay, error)

BackendFactory represents a method that creates a new overlay object.

Jump to

Keyboard shortcuts

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