servicenexus

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: 5 Imported by: 2

Documentation

Overview

Package servicenexus provides prefixed access to the net/http DefaultServeMux, gated to admit only internal requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanAccess

func CanAccess(req *http.Request) bool

Used to determine whether the service nexus can be accessed. Returns true if ALL of the legs in the request have loopback or RFC1918 source IPs.

func Handler

func Handler(notFoundHandler http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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