routers

package
v0.0.0-...-eca3c71 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SingleSignOnDispatcher = func(ctx *context.Context) {
	x_forwarded_host := ctx.Input.Header("X-Forwarded-Host")
	public_host := os.Getenv("USTACKWEB_PUBLIC_HOST")
	if x_forwarded_host != "" && public_host != "" && x_forwarded_host != os.Getenv("USTACKWEB_PUBLIC_HOST") {
		ctx.Input.RunController = reflect.TypeOf(controllers.SingleSignOnController{})
		ctx.Input.RunMethod = "All"
	}
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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