interceptor

package
v0.0.0-...-73d3301 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

interceptor add steps to the Web request before calling the handler

Index

Constants

This section is empty.

Variables

View Source
var (
	ACL []*net.IPNet
)

Functions

This section is empty.

Types

type Permission

type Permission struct {
	interceptor.NoAfterInterceptor
}

func (*Permission) Before

func (i *Permission) Before(w http.ResponseWriter, r *http.Request)

Permission is responsable for checking if the user is allowed to send requests to the Web client

Jump to

Keyboard shortcuts

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