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)
Click to show internal directories.
Click to hide internal directories.