package module
Version: v1.1.1-0...-4791a0c Latest Latest

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

Go to latest
Published: Jul 1, 2021 License: GPL-3.0 Imports: 1 Imported by: 0



Developer Documentation

Additional Documentation

  • Overview Slide Deck from Toorcamp 2016 here.

  • Slide Deck from Hushcon 2017 here.

  • API Docs are available here.

Authors and Contributors




This section is empty.


View Source
var (
	// Routers : Registry of available Router modules by name
	Routers map[string]func(map[string]interface{}) api.Router
	// Policies : Registry of available Policy modules by name
	Policies map[string]func(api.Transport, api.Node, map[string]interface{}) api.Policy
	// Transports : Registry of available Transport modules by name
	Transports map[string]func(api.Node, map[string]interface{}) api.Transport


func NewPolicyFromMap

func NewPolicyFromMap(transport api.Transport, node api.Node, p map[string]interface{}) api.Policy

NewPolicyFromMap : Create a new instance of a Policy from a map of arguments

func NewRouterFromMap

func NewRouterFromMap(r map[string]interface{}) api.Router

NewRouterFromMap : Create a new instance of a Router from a map of arguments

func NewTransportFromMap

func NewTransportFromMap(node api.Node, t map[string]interface{}) api.Transport

NewTransportFromMap : Create a new instance of a Transport from a map of arguments


This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL