plugin

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configurators map[string]Configurator
View Source
var EngineFactories map[string]EngineFactory
View Source
var ServerFactories map[string]ServerFactory

Functions

func RegisterConfigurator

func RegisterConfigurator(name string, fn Configurator)

Allows to register custom configure function.

func RegisterEngine

func RegisterEngine(name string, fn EngineFactory)

Allows to register custom Engine implementation.

func RegisterServer

func RegisterServer(name string, fn ServerFactory)

Allows to register custom Server implementation.

Types

type Configurator

type Configurator func(config.Setter) error

type EngineFactory

type EngineFactory func(*node.Node, config.Getter) (engine.Engine, error)

type ServerFactory

type ServerFactory func(*node.Node, config.Getter) (server.Server, error)

Jump to

Keyboard shortcuts

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