browser

package
Version: v0.0.0-...-5385bce Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckWebSocketCount

func CheckWebSocketCount(ctx context.Context, configs []ServiceConfig) (bool, error)

CheckWebSocketCount checks the web socket count and restarts the browser if the count is 0

Types

type ServiceConfig

type ServiceConfig struct {
	Name   string      `json:"name"`
	URL    string      `json:"url"`
	Method string      `json:"method,omitempty"`
	Body   interface{} `json:"body,omitempty"`
}

ServiceConfig .

Source Files

Jump to

Keyboard shortcuts

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