origincfg

package
v0.0.0-...-8fa2440 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TrustPolicy = "last"

The trust function to be used. Can be set by configurable 'trustforwarded'.

Functions

func RegisterTrustFunc

func RegisterTrustFunc(name string, tf originfuncs.LegFunc)

func TrustByConfig

func TrustByConfig(leg *originfuncs.Leg, distance int) bool

func TrustedLegs

func TrustedLegs(legs []originfuncs.Leg) []originfuncs.Leg

Get trusted legs based on configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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