authenticator

package
v0.0.0-...-e3fa1f4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2017 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const IP_LOCAL_PORT_HIGH = 60999
View Source
const IP_LOCAL_PORT_LOW = 32768

The default local port range for debian jessie

Variables

This section is empty.

Functions

This section is empty.

Types

type PathReflectionAuth

type PathReflectionAuth struct {
	Dialer proxy.Dialer
	// contains filtered or unexported fields
}

func CreatePathReflectionAuth

func CreatePathReflectionAuth(servers map[string]string, clientIP net.IP) *PathReflectionAuth

func CreatePathReflectionAuthFromURL

func CreatePathReflectionAuthFromURL(sp3Url string, clientIP net.IP) (*PathReflectionAuth, error)

func (*PathReflectionAuth) Authenticate

func (p *PathReflectionAuth) Authenticate(done chan<- string) (sp3.AuthenticationMethod, []byte, error)

Jump to

Keyboard shortcuts

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