hub

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package hub launches WebDriver servers and correctly dispatches requests to the correct server based on session id.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

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

A Hub is an HTTP handler that manages incoming WebDriver requests.

func New

func New(localHost string, uploader http.Handler) *Hub

New creates a new Hub.

func (*Hub) ServeHTTP

func (h *Hub) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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