gaeAuthenticateHttpServer

package
v0.0.0-...-afe0929 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServer

type AuthServer struct {
	// contains filtered or unexported fields
}

authMux implements http/Handler and wraps variables needed when responding to the response. https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/03.4.html

func NewAuthServer

func NewAuthServer(port int, state string, callback authServerCallback) *AuthServer

NewAuthServer is a constructor to receive and process the result of the authentication request.

func (*AuthServer) BlockingClose

func (p *AuthServer) BlockingClose()

func (*AuthServer) ListenAndServe

func (p *AuthServer) ListenAndServe()

func (*AuthServer) ServeHTTP

func (p *AuthServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

Satisfies the Handler interface: ServeHTTP(ResponseWriter, *Request)

Jump to

Keyboard shortcuts

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