session

package
v0.0.0-...-18bc924 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

type Browser struct {
	Caps    lib.Caps `json:"desiredCapabilities"`
	W3CCaps struct {
		Caps lib.Caps `json:"alwaysMatch"`
	} `json:"capabilities"`
}

Browser browser

type Session

type Session struct {
	Caps lib.Caps
	URL  *url.URL
}

Session session

type SessionHandler

type SessionHandler struct {
	SessionService *SessionService `inject:""`
	TunedTransport *http.Transport `inject:""`
	Cache          *cache.Cache    `inject:""`
}

SessionHandler Session handler

func (SessionHandler) Create

func (h SessionHandler) Create(w http.ResponseWriter, r *http.Request)

Create Handler for new session request

func (SessionHandler) Proxy

Proxy Handler for all incoming request other than new session

type SessionService

type SessionService struct {
}

SessionService Session service

func (SessionService) Create

func (s SessionService) Create(browser *Browser) (lib.GridStarter, bool)

Create Create session

func (SessionService) Delete

func (s SessionService) Delete(name string, engine string) error

Delete Delete session

Jump to

Keyboard shortcuts

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